Re: [PATCH v3 1/7] genirq: generic chip: export irq_map_generic_chip function

2014-06-22 Thread Boris BREZILLON
On 22/06/2014 01:51, Jason Cooper wrote: On Fri, Jun 20, 2014 at 05:01:21PM +0200, Boris BREZILLON wrote: Export the generic irq map function in order to provide irq_domain ops with generic mapping and specific of xlate function (needed by the new atmel AIC driver). Signed-off-by: Boris

[PATCH v2 1/3] usb: gadget: pxa27x_udc: add devicetree support

2014-06-22 Thread Robert Jarzmik
Add support for device-tree device discovery. If devicetree is not provided, fallback to legacy platform data discovery. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Cc: devicetree@vger.kernel.org --- Since V1: change OF id mrvl,pxa27x_udc - marvell,pxa27x-udc This is a

[PATCH v2 2/3] usb: gadget: pxa27x_udc device-tree documentation

2014-06-22 Thread Robert Jarzmik
Add documentation for device-tree binding of arm PXA 27x udc (usb device) driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Cc: devicetree@vger.kernel.org --- Since V1: change OF id mrvl,pxa27x_udc - marvell,pxa27x-udc This is a consequence of other DT reviews on the marvell

Re: [PATCH 1/3 v5] spi: s3c64xx: fix broken cs_gpios usage in the driver

2014-06-22 Thread Mark Brown
On Sat, Jun 21, 2014 at 10:53:14PM +0530, Naveen Krishna Ch wrote: The revisions were pretty quick Yes, this is part of what I'm concerned about - it often means that there are problems, either the review wasn't very detailed or the code is being written too hastily. In this case this is

Re: [PATCH v2 3/3] regulator: qcom-rpm: Regulator driver for the Qualcomm RPM

2014-06-22 Thread Mark Brown
On Thu, Jun 12, 2014 at 10:33:22AM -0700, Bjorn Andersson wrote: Driver for regulators exposed by the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. This is fine but it looks like it'll need some respins due to the I/O code. signature.asc Description:

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-22 Thread Lubomir Rintel
On Thu, 2014-06-12 at 22:31 +0530, Jassi Brar wrote: Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed

Re: [PATCH v3 2/4] crypto: Update makefile and Kconfig for Security System

2014-06-22 Thread Corentin LABBE
Le 14/06/2014 21:01, Marek Vasut a écrit : On Tuesday, June 10, 2014 at 02:43:15 PM, LABBE Corentin wrote: Add necessary changes for configuring and compiling the Security System driver. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com --- drivers/crypto/Kconfig | 91

Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-22 Thread Corentin LABBE
Le 14/06/2014 21:01, Marek Vasut a écrit : On Tuesday, June 10, 2014 at 02:43:14 PM, LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms.

Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-22 Thread Marek Vasut
On Sunday, June 22, 2014 at 01:58:08 PM, Corentin LABBE wrote: [...] + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2 of the License The license

Re: [PATCH v3 2/4] crypto: Update makefile and Kconfig for Security System

2014-06-22 Thread Marek Vasut
On Sunday, June 22, 2014 at 01:58:38 PM, Corentin LABBE wrote: Le 14/06/2014 21:01, Marek Vasut a écrit : On Tuesday, June 10, 2014 at 02:43:15 PM, LABBE Corentin wrote: Add necessary changes for configuring and compiling the Security System driver. Signed-off-by: LABBE Corentin

Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-22 Thread Russell King - ARM Linux
On Sun, Jun 22, 2014 at 02:23:15PM +0200, Marek Vasut wrote: On Sunday, June 22, 2014 at 01:58:08 PM, Corentin LABBE wrote: [...] + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the

Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-22 Thread Russell King - ARM Linux
On Tue, Jun 10, 2014 at 02:43:14PM +0200, LABBE Corentin wrote: +int sunxi_aes_poll(struct ablkcipher_request *areq) +{ ... + if (areq-src == NULL || areq-dst == NULL) { + dev_err(ss-dev, ERROR: Some SGs are NULL %u\n, areq-nbytes); + return -1; You return -1 from

Re: [PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-22 Thread Marek Vasut
On Sunday, June 22, 2014 at 02:33:35 PM, Russell King - ARM Linux wrote: On Sun, Jun 22, 2014 at 02:23:15PM +0200, Marek Vasut wrote: On Sunday, June 22, 2014 at 01:58:08 PM, Corentin LABBE wrote: [...] + * This program is free software; you can redistribute it and/or modify + * it

[PATCH 0/5] regulator: act8865: add support for act8846

2014-06-22 Thread Beniamino Galvani
This patchset adds support for the Active-Semi act8846 PMU [1] to the existing driver for act8865. A dts which enables the act8846 on Radxa Rock is available at [2]. [1] http://www.active-semi.com/products/power-management-units/act88xx/ [2] https://github.com/bengal/linux/tree/act88xx-regulator

[PATCH 1/5] regulator: act8865: fix parsing of platform data

2014-06-22 Thread Beniamino Galvani
The driver loops through all available regulators (ACT8865_REG_NUM) and accesses pdata-regulators[i].platform_data without checking the actual value of num_regulators in platform data, potentially causing a invalid memory access. Fix this and look up the regulator init_data by id in platform

[PATCH 5/5] regulator: act8865: add act8846 to DT binding documentation

2014-06-22 Thread Beniamino Galvani
This patch adds a new active-semi,act8846 compatible string and a list of supported regulator names to the devicetree binding documentation for Active-Semi PMUs. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- .../devicetree/bindings/regulator/act8865-regulator.txt |7

[PATCH 2/5] regulator: act8865: set correct number of regulators in pdata

2014-06-22 Thread Beniamino Galvani
When platform data is populated from DT all the regulators are instantiated and the value of num_regulators should be the number of all available regulators rather than the number of matched ones. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/regulator/act8865-regulator.c |

[PATCH 3/5] regulator: act8865: prepare support for other act88xx devices

2014-06-22 Thread Beniamino Galvani
This patch prepares support for other devices in the act88xx family of PMUs manufactured by Active-Semi. http://www.active-semi.com/products/power-management-units/act88xx/ Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/regulator/act8865-regulator.c | 212

[PATCH 4/5] regulator: act8865: add support for act8846

2014-06-22 Thread Beniamino Galvani
Add device id and definition of registers and regulators to support the act8846 PMU. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/regulator/act8865-regulator.c | 71 + include/linux/regulator/act8865.h | 17 2 files changed, 88

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-22 Thread Tushar Behera
On Mon, Jun 16, 2014 at 4:56 PM, Tushar Behera trbli...@gmail.com wrote: On 06/11/2014 09:28 PM, Javier Martinez Canillas wrote: On Wed, Jun 11, 2014 at 7:32 AM, Tushar Behera tusha...@samsung.com wrote: Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user

Initial register settings in Device Tree?

2014-06-22 Thread Noralf Trønnes
I have some framebuffer drivers [1] for LCD controllers with onboard RAM, targeted at small displays (10). I'm now going to rewrite these drivers from scratch and add DT support. The controllers have many registers that controls various parameters to match the attached panel. Since a

Re: Initial register settings in Device Tree?

2014-06-22 Thread Arnd Bergmann
On Sunday 22 June 2014 19:37:56 Noralf Trønnes wrote: I see two possibilities: * add a special marker value to separate the registers, as I do now * add a flag to indicate a register number. So far I've only seen 8 and 16-bit register number widths: register 20h could thus be written as

Re: [PATCHv6 2/3] devicetree: Addition of the Altera SDRAM EDAC

2014-06-22 Thread Thor Thayer
On Sat, Jun 21, 2014 at 4:06 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: On Fri, Jun 20, 2014 at 06:22:02PM -0500, ttha...@altera.com wrote: From: Thor Thayer ttha...@altera.com Addition of the Altera SDRAM EDAC bindings and device tree changes v2: Changes to SoC EDAC source code.

Re: [PATCHv6 1/3] devicetree: Addition of the Altera SDRAM controller

2014-06-22 Thread Steffen Trumtrar
On Sun, Jun 22, 2014 at 01:31:02PM -0500, Thor Thayer wrote: On Sat, Jun 21, 2014 at 4:04 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Fri, Jun 20, 2014 at 06:22:01PM -0500, ttha...@altera.com wrote: From: Thor Thayer ttha...@altera.com Addition of the Altera SDRAM

Re: Initial register settings in Device Tree?

2014-06-22 Thread Noralf Trønnes
Den 22.06.2014 20:18, skrev Arnd Bergmann: On Sunday 22 June 2014 19:37:56 Noralf Trønnes wrote: I see two possibilities: * add a special marker value to separate the registers, as I do now * add a flag to indicate a register number. So far I've only seen 8 and 16-bit register number widths:

Re: [PATCH] dt/documentation: add specification of dma bus information

2014-06-22 Thread Santosh Shilimkar
On Friday 20 June 2014 03:46 PM, Rob Herring wrote: On Fri, Jun 20, 2014 at 2:02 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Friday 20 June 2014 02:56 PM, Arnd Bergmann wrote: On Friday 20 June 2014 13:17:43 Santosh Shilimkar wrote: + dma-coherent; +

[PATCH] ARM: dts: exynos5410: Fill in CPU clock-frequency

2014-06-22 Thread Andreas Färber
It's 1.6 GHz for the Cortex-A15. Avoids warnings like /cpus/cpu@0 missing clock-frequency property. Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5410.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5410.dtsi

Re: [PATCH v3 3/7] irqchip: atmel-aic: add new atmel AIC driver

2014-06-22 Thread Boris BREZILLON
On 20/06/2014 17:01, Boris BREZILLON wrote: Add new atmel AIC (Advanced Interrupt Controller) driver based on the generic chip infrastructure. This driver is only compatible with dt enabled board and replaces the old implementation found in arch/arm/mach-at91/irq.c. Signed-off-by: Boris

[PATCH v4 06/13] dt-bindings: add documentation for rk3188 clock and reset unit

2014-06-22 Thread Heiko Stübner
This add bindings documentation for the clock and reset unit found on rk3188 and rk3066 SoCs from Rockchip. Also deprecate the old gate clock binding, as these shouldn't be used in the future. Signed-off-by: Heiko Stuebner he...@sntech.de --- .../bindings/clock/rockchip,rk3188-cru.txt |

[PATCH v4 13/13] dt-bindings: add documentation for rk3288 cru

2014-06-22 Thread Heiko Stübner
This adds the dt-binding documentation for the clock and reset unit found on Rockchip rk3288 SoCs. Signed-off-by: Heiko Stuebner he...@sntech.de --- .../bindings/clock/rockchip,rk3288-cru.txt | 61 ++ 1 file changed, 61 insertions(+) create mode 100644

[PATCH 2/2] ARM: socfpga: Add missing #reset-cells to socfpga device tree

2014-06-22 Thread Vince Bridgers
add #reset-cells to socfpga.dtsi. This was missing from the latest updates and caused the socfpga reset controller to fail to load like so: ffd05000.rstmgr: /soc/rstmgr@ffd05000 missing #reset-cells property probe of ffd05000.rstmgr failed with error -22 Signed-off-by: Vince Bridgers

[PATCH 0/2] ARM: socfpga: Update socfpga_defconfig and socfpga.dtsi

2014-06-22 Thread Vince Bridgers
This patch series updates the the socfpga_defconfig with a number of options, and updates the socfpga device tree with a field required for the reset controller driver. Vince Bridgers (2): ARM: socfpga: Update socfpga_defconfig ARM: socfpga: Add missing #reset-cells to socfpga device tree

[PATCH 1/2] ARM: socfpga: Update socfpga_defconfig

2014-06-22 Thread Vince Bridgers
CONFIG_PM=y CONFIG_SUSPEND=y CONFIG_MMC_UNSAFE_RESUME=y CONFIG_DWMAC_SOCFPGA=y CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_USB_DWC2_HOST=y CONFIG_USB_DWC2_PLATFORM=y CONFIG_FHANDLE=y CONFIG_I2C=y CONFIG_I2C_DESIGNWARE_CORE=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_CHARDEV=y CONFIG_CAN=y

[PATCH 1/4] Documentation: devicetree: Fix s2mps11 and s5m8767 typos

2014-06-22 Thread Andreas Färber
It's LDO2, not LD02. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC 4/4] ARM: dts: exynos5250: Add Spring device tree

2014-06-22 Thread Andreas Färber
Adds initial support for the HP Chromebook 11. Cc: Vincent Palatin vpala...@chromium.org Cc: Doug Anderson diand...@chromium.org Cc: Stephan van Schaik step...@synkhronix.com Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/Makefile | 1 +

[PATCH 3/4] Documentation: devicetree: Fix tps65090 typos

2014-06-22 Thread Andreas Färber
It's vsys-l{1,2}-supply, not vsys_l{1,2}-supply. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/regulator/tps65090.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/tps65090.txt

[PATCH 2/4] Documentation: devicetree: Fix s2mps11 example syntax

2014-06-22 Thread Andreas Färber
It's 1, not 1. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Jingoo Han
On Saturday, June 21, 2014 12:31 AM, Murali Karicheri wrote: On 6/17/2014 8:08 PM, Bjorn Helgaas wrote: On Tue, Jun 10, 2014 at 02:51:19PM -0400, Murali Karicheri wrote: This patch adds a PCIe controller driver for Keystone SoCs. This is based on v1 of the series posted to the mailing list.

Re: [PATCH 1/4] Documentation: devicetree: Fix s2mps11 and s5m8767 typos

2014-06-22 Thread Sachin Kamat
On Mon, Jun 23, 2014 at 6:51 AM, Andreas Färber afaer...@suse.de wrote: It's LDO2, not LD02. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | 2 +-

Re: [PATCH 2/4] Documentation: devicetree: Fix s2mps11 example syntax

2014-06-22 Thread Sachin Kamat
On Mon, Jun 23, 2014 at 6:51 AM, Andreas Färber afaer...@suse.de wrote: It's 1, not 1. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3] of: mdio: fixup of_phy_register_fixed_link parsing of new bindings

2014-06-22 Thread David Miller
From: Richard Retanubun rretanubun.w...@gmail.com Date: Fri, 20 Jun 2014 10:11:07 -0400 Fixes commit 3be2a49e5c08 (of: provide a binding for fixed link PHYs) Fix the parsing of the new fixed link dts bindings for duplex, pause, and asym_pause by using the correct device node pointer.

Re: [PATCH v2 09/20] clk: sunxi: Add sun6i MBUS clock support

2014-06-22 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:04 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Jun 17, 2014 at 10:52:46PM +0800, Chen-Yu Tsai wrote: Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c

Re: [PATCH v2 2/8] PCI: designware: refactor host init code to re-use on v3.65 DW pci hw

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 02:47:27AM +0800, Murali Karicheri wrote: On 6/18/2014 3:05 AM, Pratyush Anand wrote: Hi Murali, On Wed, Jun 11, 2014 at 02:51:21AM +0800, Murali Karicheri wrote: [...] Pratyush, Thanks for the comments. This is IP specific code and another driver that has

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 05:17:07AM +0800, Murali Karicheri wrote: Sorry, my previous response was in html and not sure it has made to the list. I did get an error as well. So resending my response. On 6/18/2014 6:14 AM, Mohit KUMAR DCG wrote: Hello Murali, [...] *pos = pos0;

RE: [PATCH v2 2/8] PCI: designware: refactor host init code to re-use on v3.65 DW pci hw

2014-06-22 Thread Mohit KUMAR DCG
Hello Murali, -Original Message- From: Pratyush ANAND Sent: Monday, June 23, 2014 10:36 AM To: Murali Karicheri Cc: linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; linux-...@vger.kernel.org; devicetree@vger.kernel.org; linux- d...@vger.kernel.org; Shilimkar,

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 03:05:30AM +0800, Arnd Bergmann wrote: On Friday 20 June 2014 13:11:37 Santosh Shilimkar wrote: Arnd suggestion was to have the version 3.65 code in generic place since its IP specific and just in case some other vendor using the same version can leverage the