Re: [PATCH v3 0/2] Qualcomm Universal Peripheral (QUP) I2C controller

2014-01-29 Thread Ivan T. Ivanov
Hi Bjorn, On Fri, 2014-01-17 at 15:03 -0800, Bjorn Andersson wrote: Continuing on Ivans i2c-qup series. Do you plan to send v4 of this driver? I would like to address the remaining errors and suggestions and send a new version. Regards, Ivan -- To unsubscribe from this list: send the line

[PATCH 2/9 v5] crypto:s5p-sss: Add device tree support

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Also, Documentation under devicetree/bindings added. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu herb...@gondor.apana.org.au CC: David S. Miller da...@davemloft.net CC: Vladimir Zapolskiy

[PATCH 3/9 v5] crypto:s5p-sss: Add support for SSS module on Exynos

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds new compatible and variant struct to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

[PATCH 4/9 v5] crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver

2014-01-29 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com This patch modifies Kconfig such that ARCH_EXYNOS SoCs which includes (Exynos4210, Exynos5250 and Exynos5420) can also select Samsung SSS(Security SubSystem) driver. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

[PATCH 9/9 v5] crypto:s5p-sss: Look for the next request in the queue

2014-01-29 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com Currently, the driver enqueues a request only if the busy bit is false. And every request initiates a dequeue. If 2 requests arrive simultaneously, only one of them will be dequeued. To avoid this senario, we will enqueue the next request

[PATCH 8/9 v5] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-01-29 Thread Naveen Krishna Chatradhi
This patch set adds use of clk_prepare/clk_unprepare as required by generic clock framework. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since v4: Handle return value of clk_prepare_enable Changes since v3: None

[PATCH 7/9 v5] crypto:s5p-sss: validate iv before memcpy

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds code to validate iv buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since v4: None Changes since v3: None drivers/crypto/s5p-sss.c |3 ++- 1 file changed, 2

[PATCH v5 15/23] drm/i2c: tda998x: add DT documentation

2014-01-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine moin...@free.fr --- .../devicetree/bindings/drm/i2c/tda998x.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/i2c/tda998x.txt diff --git

[PATCH 6/9 v5] ARM: dts: exynos5250/5420: add dt node for sss module

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com TO: linux-samsung-...@vger.kernel.org CC: Kukjin Kim kgene@samsung.com CC:

[PATCH 5/9 v5] clk: samsung exynos5250/5420: Add gate clock for SSS module

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com TO: linux-samsung-...@vger.kernel.org TO: Tomasz Figa t.f...@samsung.com CC: Kukjin Kim kgene@samsung.com CC: linux-cry...@vger.kernel.org ---

Re: [PATCH 1/8] pci-rcar-gen2: add of match table

2014-01-29 Thread Geert Uytterhoeven
On Wed, Jan 29, 2014 at 7:17 AM, Simon Horman ho...@verge.net.au wrote: +static struct of_device_id rcar_pci_of_match[] = { +{ .compatible = renesas,pci-r8a7790, }, Why only H2 SoC, if the driver is for both Gen2 SoCs? I can add a renesas,pci-rcar-gen2 as a fallback match however

Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread boris brezillon
Hello Rob, On 23/01/2014 16:22, Rob Herring wrote: On Sat, Jan 11, 2014 at 7:38 AM, boris brezillon b.brezil...@overkiz.com wrote: On 08/01/2014 15:21, Boris BREZILLON wrote: Hello, This series add the sunxi NFC support with up to 8 NAND chip connected. I'm still in the early stages drivers

Re: [RFC PATCH 1/9] mtd: nand: retrieve ECC requirements from Hynix READ ID byte 4

2014-01-29 Thread boris brezillon
Hello Brian, On 23/01/2014 02:49, Brian Norris wrote: + Huang Hi Boris, On Wed, Jan 08, 2014 at 03:21:56PM +0100, Boris BREZILLON wrote: The Hynix nand flashes store their ECC requirements in byte 4 of its id (returned on READ ID command). Signed-off-by: Boris BREZILLON

Re: [PATCH] phy-rcar-usb-gen2: add device tree support

2014-01-29 Thread Sergei Shtylyov
Hello. On 29-01-2014 10:22, Simon Horman wrote: [snip] +static struct of_device_id rcar_gen2_usb_phy_ofmatch[] = { +{ .compatible = renesas,usb-phy-r8a7790, }, +{ .compatible = renesas,rcar-gen2-usb-phy, }, Frankly speaking, I don't understand the need for the clearly

Re: [PATCH 2/9] ARM: dts: imx6sl: remove the use of pingrp macros

2014-01-29 Thread Heiko Stübner
On Tuesday, 28. January 2014 19:20:49 Shawn Guo wrote: On Tue, Jan 28, 2014 at 11:17:22AM +0100, Heiko Stübner wrote: [... and so on for the other groups ... ] I'm confused now :-) . Current linux-next [0] shows the pin-settings as part of imx6sl.dtsi - a way a lot of other architectures

Re: [RFC] Documentation: devicetree: bindings: drm: Xylon binding

2014-01-29 Thread Davor Joja
Hi, Can I get some comments on below mails? I want to create devicetree node for Xylon logiCVC DRM device driver, and get comments and suggestions from community. At the end I would send driver and devicetree binding to mainline. Thank you, Davor Hi Mark, On Mon, Jan 27, 2014 at

[PATCH v2 2/5] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-29 Thread Maxime Ripard
The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the SPI controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 46

[PATCH v2 5/5] ARM: sunxi: Enable A31 SPI and SID in the defconfig

2014-01-29 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/configs/sunxi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 3e2259b..b5df4a5 100644 --- a/arch/arm/configs/sunxi_defconfig +++

[PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/spi/spi-sun6i.txt |

[PATCH v2 0/5] Add Allwinner A31 SPI controller support

2014-01-29 Thread Maxime Ripard
Hi everyone, This patchset brings support for the SPI controller found in the Allwinner A31 SoC. Even though the controller supports DMA, the driver only supports PIO mode for now. This driver will be used to bring up and test DMA on the SoC, so support for the DMA will come eventually. It

Re: [PATCH 1/8] pci-rcar-gen2: add of match table

2014-01-29 Thread Simon Horman
On Wed, Jan 29, 2014 at 11:06:42AM +0100, Geert Uytterhoeven wrote: On Wed, Jan 29, 2014 at 7:17 AM, Simon Horman ho...@verge.net.au wrote: +static struct of_device_id rcar_pci_of_match[] = { +{ .compatible = renesas,pci-r8a7790, }, Why only H2 SoC, if the driver is for both Gen2

Re: [PATCH] phy-rcar-usb-gen2: add device tree support

2014-01-29 Thread Simon Horman
On Wed, Jan 29, 2014 at 02:41:58PM +0400, Sergei Shtylyov wrote: Hello. On 29-01-2014 10:22, Simon Horman wrote: [snip] +static struct of_device_id rcar_gen2_usb_phy_ofmatch[] = { +{ .compatible = renesas,usb-phy-r8a7790, }, +{ .compatible = renesas,rcar-gen2-usb-phy, },

Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Mark Brown
On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: +config SPI_SUN6I + tristate Allwinner A31 SPI controller + depends on ARCH_SUNXI || COMPILE_TEST + select PM_RUNTIME + help + This enables using the SPI controller on the Allwinner A31 SoCs. + A select

Re: [PATCH] phy-rcar-usb-gen2: add device tree support

2014-01-29 Thread Sergei Shtylyov
Hello. On 29-01-2014 16:22, Simon Horman wrote: [snip] +static struct of_device_id rcar_gen2_usb_phy_ofmatch[] = { +{ .compatible = renesas,usb-phy-r8a7790, }, +{ .compatible = renesas,rcar-gen2-usb-phy, }, Frankly speaking, I don't understand the need for the clearly

Re: [PATCH RFC v2 2/2] Documentation: arm: define DT C-states bindings

2014-01-29 Thread Lorenzo Pieralisi
On Mon, Jan 27, 2014 at 03:59:37PM +, Dave Martin wrote: On Fri, Jan 24, 2014 at 05:58:07PM +, Lorenzo Pieralisi wrote: [...] state0 { index = 2; compatible = arm,cpu-power-state; latency = ...; /* * This means that when

Re: [PATCH] phy-rcar-usb-gen2: add device tree support

2014-01-29 Thread Simon Horman
On Wed, Jan 29, 2014 at 04:26:55PM +0400, Sergei Shtylyov wrote: Hello. On 29-01-2014 16:22, Simon Horman wrote: [snip] +static struct of_device_id rcar_gen2_usb_phy_ofmatch[] = { +{ .compatible = renesas,usb-phy-r8a7790, }, +{ .compatible = renesas,rcar-gen2-usb-phy, },

Re: [PATCH RFC v2 2/2] Documentation: arm: define DT C-states bindings

2014-01-29 Thread Lorenzo Pieralisi
On Tue, Jan 28, 2014 at 08:24:54AM +, Vincent Guittot wrote: On 24 January 2014 18:58, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: [...] Please look below, i have modified the rest of your example accordingly }: and then state0 { index = 2;

[PATCH REPOST] of: Add vendor prefix for Xen hypervisor

2014-01-29 Thread Ian Campbell
I suppose vendors of virtual hardware ought to be listed here as well. Signed-off-by: Ian Campbell ian.campb...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc:

Re: [PATCH] ARM: dts: Add basic devices for AM3517-craneboard

2014-01-29 Thread Nishanth Menon
On 01/20/2014 10:43 AM, Nishanth Menon wrote: Benoit, On 12/18/2013 11:16 AM, Benoit Cousson wrote: On 18/12/2013 18:02, Nishanth Menon wrote: On 12/18/2013 10:57 AM, Benoit Cousson wrote: On 17/12/2013 20:45, Nishanth Menon wrote: On 12/09/2013 03:55 PM, Nishanth Menon wrote: Craneboard

Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Maxime Ripard
On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: +config SPI_SUN6I + tristate Allwinner A31 SPI controller + depends on ARCH_SUNXI || COMPILE_TEST + select PM_RUNTIME + help + This enables using

Re: [PATCH 3/3] net: via-rhine: add OF bus binding

2014-01-29 Thread Rob Herring
On Tue, Jan 28, 2014 at 12:27 PM, Alexey Charkov alch...@gmail.com wrote: 2014/1/27 Rob Herring robherri...@gmail.com: On Mon, Jan 27, 2014 at 5:51 AM, Alexey Charkov alch...@gmail.com wrote: This should make the driver usable with VIA/WonderMedia ARM-based Systems-on-Chip integrated Rhine III

[RFC PATCH v2 00/14] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread Boris BREZILLON
Hello, This series adds support for the sunxi NAND Flash Controller (NFC). This controller supports up to 8 NAND chip connected. I'm still in the early stages drivers development and some key features are missing, but it's usable (I tested it on the cubietruck board). Here's what's missing: -

[RFC PATCH v2 13/14] mtd: nand: add sunxi HW ECC support

2014-01-29 Thread Boris BREZILLON
Add HW ECC support for the sunxi NAND Flash Controller. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/mtd/nand/sunxi_nand.c | 279 +++-- 1 file changed, 266 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/nand/sunxi_nand.c

[RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Boris BREZILLON
Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 46 1 file changed, 46 insertions(+) create mode 100644

[RFC PATCH v2 11/14] ARM: dt/sunxi: add NFC pinctrl pin definitions

2014-01-29 Thread Boris BREZILLON
Define the NAND pinctrl configs. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index

[RFC PATCH v2 14/14] ARM: sunxi/dt: enable HW ECC on cubietruck board

2014-01-29 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index 031de97..5828923 100644 ---

[RFC PATCH v2 12/14] ARM: sunxi/dt: enable NAND on cubietruck board

2014-01-29 Thread Boris BREZILLON
Enable the NFC and describe the NAND flash connected to this controller. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 31 1 file changed, 31 insertions(+) diff --git

[RFC PATCH v2 06/14] of: mtd: add NAND timing mode retrieval support

2014-01-29 Thread Boris BREZILLON
Add a function to retrieve NAND timing mode (ONFI timing mode) from a given DT node. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/of/of_mtd.c| 19 +++ include/linux/of_mtd.h |8 2 files changed, 27 insertions(+) diff --git

[RFC PATCH v2 01/14] mtd: nand: retrieve ECC requirements from Hynix READ ID byte 4

2014-01-29 Thread Boris BREZILLON
The Hynix nand flashes store their ECC requirements in byte 4 of its id (returned on READ ID command). Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/mtd/nand/nand_base.c | 37 + 1 file changed, 37 insertions(+) diff --git

[RFC PATCH v2 02/14] of: mtd: add NAND ECC level requirements retrieval

2014-01-29 Thread Boris BREZILLON
Some chip do not support automatic retrieval of ECC level requirements. Provide an helper function to retrieve these requirements from DT. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/of/of_mtd.c| 25 + include/linux/of_mtd.h |7 +++

[RFC PATCH v2 10/14] ARM: dt/sunxi: add NFC node to Allwinner A20 SoC

2014-01-29 Thread Boris BREZILLON
Add NAND Flash controller node definition to the A20 SoC. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index

[RFC PATCH v2 04/14] mtd: nand: define struct nand_timings

2014-01-29 Thread Boris BREZILLON
Define a struct containing the standard NAND timings as described in NAND datasheets. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- include/linux/mtd/nand.h | 49 ++ 1 file changed, 49 insertions(+) diff --git

[RFC PATCH v2 05/14] mtd: nand: add ONFI timing mode to nand_timings converter

2014-01-29 Thread Boris BREZILLON
Add a converter to retrieve NAND timings from an ONFI NAND timing mode. This only support SDR NAND timings for now. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/mtd/nand/Makefile |2 +- drivers/mtd/nand/nand_timings.c | 248

[RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-29 Thread Boris BREZILLON
Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 744 + 3 files changed, 751

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-01-29 Thread Heikki Krogerus
Hi, On Tue, Jan 28, 2014 at 10:30:36AM -0600, Felipe Balbi wrote: On Tue, Jan 28, 2014 at 05:32:30PM +0200, Heikki Krogerus wrote: On Mon, Jan 27, 2014 at 10:05:20AM -0600, Felipe Balbi wrote: For the controller drivers the PHYs are just a resource like any other. The controller drivers

[RFC PATCH v2 07/14] of: mtd: add documentation for the ONFI NAND timing mode property

2014-01-29 Thread Boris BREZILLON
Add documentation for the ONFI NAND timing mode property. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- Documentation/devicetree/bindings/mtd/nand.txt |5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/nand.txt

[RFC PATCH v2 03/14] of: mtd: add documentation for nand-ecc-level property

2014-01-29 Thread Boris BREZILLON
nand-ecc-level property statically defines NAND chip's ECC requirements. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- Documentation/devicetree/bindings/mtd/nand.txt |3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/nand.txt

Re: [PATCH 3/3] net: via-rhine: add OF bus binding

2014-01-29 Thread Rob Herring
On Tue, Jan 28, 2014 at 11:20 PM, Alexey Charkov alch...@gmail.com wrote: 2014/1/29 Tony Prisk li...@prisktech.co.nz: On 29/01/14 07:27, Alexey Charkov wrote: 2014/1/27 Rob Herring robherri...@gmail.com: On Mon, Jan 27, 2014 at 5:51 AM, Alexey Charkov alch...@gmail.com wrote: This should

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-29 Thread Arnd Bergmann
On Tuesday 28 January 2014 12:16:56 Russell King - ARM Linux wrote: On Tue, Jan 28, 2014 at 01:08:47PM +0100, Arnd Bergmann wrote: On balance, I think the virtual channel approach makes client drivers more elegant and simpler, and makes the DMA engine API easier to use, and gives greater

Re: [PATCH V4 5/5] Documentation: power: reset: Add documentation for generic SYSCON reboot driver

2014-01-29 Thread Arnd Bergmann
On Friday 24 January 2014 15:16:32 Marc C wrote: What's wrong with having a system clock unit binding, that the kernel can decompose as appropriate? From what I understand, the arm-soc maintainers want to reduce (and perhaps even eliminate) these board-specific constructs, and try to

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Suravee Suthikulanit
On 1/17/2014 5:08 AM, Andreas Herrmann wrote: arm-smmu driver uses of_parse_phandle_with_args when parsing DT information to determine stream IDs for a master device. Thus the number of stream IDs per master device is bound by MAX_PHANDLE_ARGS. To support Calxeda ECX-2000 hardware arm-smmu

Re: [PATCH v2] DT: net: document Ethernet bindings in one place

2014-01-29 Thread Rob Herring
On Tue, Jan 28, 2014 at 9:56 AM, Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: On 01/28/2014 04:38 PM, Rob Herring wrote: This patch is an attempt to gather the Ethernet related bindings in one file, like it's done in the MMC and some other subsystems. It should save some of the

Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Mark Brown
On Wed, Jan 29, 2014 at 02:32:27PM +0100, Maxime Ripard wrote: On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: A select of PM_RUNTIME is both surprising and odd - why is that there? The usual idiom is that the device starts out powered up (flagged using pm_runtime_set_active())

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Rob Herring
On Wed, Jan 29, 2014 at 10:11 AM, Suravee Suthikulanit suravee.suthikulpa...@amd.com wrote: On 1/17/2014 5:08 AM, Andreas Herrmann wrote: arm-smmu driver uses of_parse_phandle_with_args when parsing DT information to determine stream IDs for a master device. Thus the number of stream IDs per

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Suravee Suthikulanit
On 1/29/2014 10:57 AM, Rob Herring wrote: diff --git a/include/linux/of.h b/include/linux/of.h index 276c546..24e1b28 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -67,7 +67,7 @@ struct device_node { #endif }; -#define MAX_PHANDLE_ARGS 8 +#define MAX_PHANDLE_ARGS 16 Since

Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Rob Herring
On Wed, Jan 29, 2014 at 8:34 AM, Boris BREZILLON b.brezillon@gmail.com wrote: Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 46 1

Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Rob Herring
On Wed, Jan 29, 2014 at 11:11 AM, Rob Herring robherri...@gmail.com wrote: On Wed, Jan 29, 2014 at 8:34 AM, Boris BREZILLON b.brezillon@gmail.com wrote: Add the sunxi NAND Flash Controller dt bindings documentation. [snip] +- onfi,nand-timing-mode : mandatory if the chip does not

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Andreas Herrmann
On Wed, Jan 29, 2014 at 11:59:12AM -0500, Suravee Suthikulanit wrote: On 1/29/2014 10:57 AM, Rob Herring wrote: diff --git a/include/linux/of.h b/include/linux/of.h index 276c546..24e1b28 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -67,7 +67,7 @@ struct device_node {

Re: [PATCH v3 4/6] ARM: tegra: Add efuse bindings

2014-01-29 Thread Rob Herring
On Tue, Jan 28, 2014 at 5:36 PM, Peter De Schrijver pdeschrij...@nvidia.com wrote: Add efuse bindings for Tegra20, Tegra30, Tegra114 and Tegra124. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com Acked-by: Rob Herring r...@kernel.org Rob ---

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Suravee Suthikulanit
On 1/29/2014 11:16 AM, Andreas Herrmann wrote: On Wed, Jan 29, 2014 at 11:59:12AM -0500, Suravee Suthikulanit wrote: On 1/29/2014 10:57 AM, Rob Herring wrote: diff --git a/include/linux/of.h b/include/linux/of.h index 276c546..24e1b28 100644 --- a/include/linux/of.h +++ b/include/linux/of.h

[PATCH v6 0/8] phy: Add new Exynos USB 2.0 PHY driver

2014-01-29 Thread Kamil Debski
Hi, This is the sixth version of the patchset. It adds a new Exynos USB 2.0 PHY driver. The driver uses the Generic PHY Framework. Again, I would like to thank everyone who commented and read through the fifth version of the patchset. Your input is very much appreciated. The last version had two

[PATCH v6 1/8] phy: core: Add an exported of_phy_get function

2014-01-29 Thread Kamil Debski
Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to _of_phy_get and was left for internal use. of_phy_get function was

[PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-01-29 Thread Kamil Debski
Change the phy provider used from the old one using the USB phy framework to a new one using the Generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/usb/exynos-usb.txt | 13 +++ drivers/usb/host/ehci-exynos.c | 97

[PATCH v6 3/8] dts: Add usb2phy to Exynos 4

2014-01-29 Thread Kamil Debski
Add support to PHY of USB2 of the Exynos 4 SoC. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|2 ++ arch/arm/boot/dts/exynos4.dtsi | 31 arch/arm/boot/dts/exynos4210.dtsi |

[PATCH v6 2/8] phy: core: Add devm_of_phy_get to phy-core

2014-01-29 Thread Kamil Debski
Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31 +++ include/linux/phy/phy.h |8 2 files changed,

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Will Deacon
On Wed, Jan 29, 2014 at 05:26:35PM +, Suravee Suthikulanit wrote: On 1/29/2014 11:16 AM, Andreas Herrmann wrote: On Wed, Jan 29, 2014 at 11:59:12AM -0500, Suravee Suthikulanit wrote: Actually, we are using 32 on the AMD system. So, do you think we can set this to 32 instead? I think

[PATCH v6 6/8] phy: Add support for S5PV210 to the Exynos USB PHY driver

2014-01-29 Thread Kamil Debski
From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit description] [k.deb...@samsung.com: make changes accordingly to the

[PATCH v6 4/8] dts: Add usb2phy to Exynos 5250

2014-01-29 Thread Kamil Debski
Add support to PHY of USB2 of the Exynos 5250 SoC. Signed-off-by: Kamil Debski k.deb...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index

Re: [RFC] Documentation: devicetree: bindings: drm: Xylon binding

2014-01-29 Thread Mark Rutland
On Mon, Jan 27, 2014 at 05:33:51PM +, Davor Joja wrote: Hi Mark, On Mon, Jan 27, 2014 at 03:47:42PM +, Davor Joja wrote: Hi, Hi, Can I please get comments about adding new vendor prefix xylon, and on following devicetree binding for Xylon configurable video

[PATCH v6 7/8] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-01-29 Thread Kamil Debski
Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|1 + drivers/phy/Kconfig| 11 + drivers/phy/Makefile

Re: [RFC PATCH v2 03/14] of: mtd: add documentation for nand-ecc-level property

2014-01-29 Thread Ezequiel Garcia
On Wed, Jan 29, 2014 at 03:34:13PM +0100, Boris BREZILLON wrote: nand-ecc-level property statically defines NAND chip's ECC requirements. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- Documentation/devicetree/bindings/mtd/nand.txt |3 +++ 1 file changed, 3 insertions(+)

Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-29 Thread Jason Gunthorpe
On Wed, Jan 29, 2014 at 03:34:18PM +0100, Boris BREZILLON wrote: +static int sunxi_nand_chip_init_timings(struct sunxi_nand_chip *chip, + struct device_node *np) +{ + const struct nand_sdr_timings *timings; + u32 min_clk_period = 0; + int ret;

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Suravee Suthikulanit
On 1/29/2014 11:29 AM, Will Deacon wrote: On Wed, Jan 29, 2014 at 05:26:35PM +, Suravee Suthikulanit wrote: On 1/29/2014 11:16 AM, Andreas Herrmann wrote: On Wed, Jan 29, 2014 at 11:59:12AM -0500, Suravee Suthikulanit wrote: Actually, we are using 32 on the AMD system. So, do you think we

Re: [PATCH v5] spi: rspi: Add DT support

2014-01-29 Thread Mark Brown
On Tue, Jan 28, 2014 at 10:21:38AM +0100, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Applied, thanks. I was expecting your last patch to be resubmitted as well? signature.asc Description: Digital signature

Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Boris BREZILLON
Hello Rob, Le 29/01/2014 18:11, Rob Herring a écrit : On Wed, Jan 29, 2014 at 8:34 AM, Boris BREZILLON b.brezillon@gmail.com wrote: Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com ---

Re: [PATCH v2 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-29 Thread Will Deacon
On Wed, Jan 29, 2014 at 05:57:16PM +, Suravee Suthikulanit wrote: On 1/29/2014 11:29 AM, Will Deacon wrote: On Wed, Jan 29, 2014 at 05:26:35PM +, Suravee Suthikulanit wrote: On 1/29/2014 11:16 AM, Andreas Herrmann wrote: On Wed, Jan 29, 2014 at 11:59:12AM -0500, Suravee Suthikulanit

RE: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Gupta, Pekon
Dear Rob, and other DT maintainers, From: Rob Herring [...] +- onfi,nand-timing-mode : mandatory if the chip does not support the ONFI + standard. Add to generic nand binding. +- allwinner,rb : shall contain the native Ready/Busy ids. + or +- rb-gpios : shall contain the gpios used as R/B

[PATCH 1/2] clk: ti: am335x: remove unecessary cpu0 clk node

2014-01-29 Thread Nishanth Menon
cpu0 clock node has no functionality, since cpufreq-cpu0 is already capable of picking up the clock from dts. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/clk/ti/clk-33xx.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/ti/clk-33xx.c b/drivers/clk/ti/clk-33xx.c index

[PATCH 2/2] ARM: dts: OMAP3+: add clock nodes for CPU

2014-01-29 Thread Nishanth Menon
OMAP34xx, AM3517 and OMAP36xx platforms use dpll1 clock. OMAP443x, OMAP446x, OMAP447x, OMAP5, DRA7, AM43xx platforms use dpll_mpu clock. Latency used is the generic latency defined in omap-cpufreq driver. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |4

[PATCH 0/2] ARM: dts/OMAP: add cpu clock nodes

2014-01-29 Thread Nishanth Menon
Add clock nodes for all existing OMAP platforms where cpufreq-cpu0 can be used. Sanity tested with linux next-20140128 tag, applies on master 0e47c96 Merge tag 'for-linus-20140127' of git://git.infradead.org/linux-mtd Ofcourse, I have send 7 different versions[1] previously, so I will start

Re: [PATCH v5 00/20] Armada 370/XP watchdog support

2014-01-29 Thread Ezequiel Garcia
On Mon, Jan 27, 2014 at 12:27:00PM -0300, Ezequiel Garcia wrote: A new round, mostly fixing some minor nitpicks. If anyone wants to give this a test, here's a public branch: https://github.com/MISL-EBU-System-SW/mainline-public/tree/wdt_for_v3.14_v5 I'll be resending a new v6 adressing

Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Boris BREZILLON
Le 29/01/2014 19:02, Gupta, Pekon a écrit : Dear Rob, and other DT maintainers, From: Rob Herring [...] +- onfi,nand-timing-mode : mandatory if the chip does not support the ONFI + standard. Add to generic nand binding. +- allwinner,rb : shall contain the native Ready/Busy ids. + or +-

RE: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Gupta, Pekon
Dear Rob, and other DT maintainers, (apologies, fixed typos in earlier mail) From: Rob Herring [...] +- onfi,nand-timing-mode : mandatory if the chip does not support the ONFI + standard. Add to generic nand binding. +- allwinner,rb : shall contain the native Ready/Busy ids. + or +-

Re: [RFC PATCH v2 03/14] of: mtd: add documentation for nand-ecc-level property

2014-01-29 Thread Boris BREZILLON
Hello Ezequiel Le 29/01/2014 18:53, Ezequiel Garcia a écrit : On Wed, Jan 29, 2014 at 03:34:13PM +0100, Boris BREZILLON wrote: nand-ecc-level property statically defines NAND chip's ECC requirements. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com ---

Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-29 Thread Ezequiel Garcia
On Wed, Jan 29, 2014 at 10:56:42AM -0700, Jason Gunthorpe wrote: On Wed, Jan 29, 2014 at 03:34:18PM +0100, Boris BREZILLON wrote: [..] +static int sunxi_nand_chip_init(struct device *dev, struct sunxi_nfc *nfc, [..] + ret = sunxi_nand_chip_init_timings(chip, np); + if

Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-29 Thread Boris BREZILLON
Le 29/01/2014 18:56, Jason Gunthorpe a écrit : On Wed, Jan 29, 2014 at 03:34:18PM +0100, Boris BREZILLON wrote: +static int sunxi_nand_chip_init_timings(struct sunxi_nand_chip *chip, + struct device_node *np) +{ + const struct nand_sdr_timings

Re: [RFC PATCH v2 08/14] mtd: nand: add sunxi NAND flash controller support

2014-01-29 Thread Jason Gunthorpe
On Wed, Jan 29, 2014 at 03:46:20PM -0300, Ezequiel Garcia wrote: After CE# has been pulled high and then transitioned low again, the host should issue a Set Features to select the appropriate asynchronous timing mode. Oh, I had forgot you should do a set feature too Boris, I think the

Re: [PATCH v5] spi: rspi: Add DT support

2014-01-29 Thread Geert Uytterhoeven
Hi Mark, On Wed, Jan 29, 2014 at 7:00 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 28, 2014 at 10:21:38AM +0100, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Applied, thanks. I was expecting your last patch to be resubmitted as Thanks! well? As

Re: [PATCH 2/2] ARM: dts: OMAP3+: add clock nodes for CPU

2014-01-29 Thread Robert Nelson
On Wed, Jan 29, 2014 at 12:19 PM, Nishanth Menon n...@ti.com wrote: OMAP34xx, AM3517 and OMAP36xx platforms use dpll1 clock. OMAP443x, OMAP446x, OMAP447x, OMAP5, DRA7, AM43xx platforms use dpll_mpu clock. Latency used is the generic latency defined in omap-cpufreq driver. Signed-off-by:

Re: [RFC PATCH V2 1/4] pci: APM X-Gene PCIe controller driver

2014-01-29 Thread Arnd Bergmann
On Monday 27 January 2014, Tanmay Inamdar wrote: On Sat, Jan 25, 2014 at 12:11 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 24 January 2014 13:28:22 Tanmay Inamdar wrote: On Thu, Jan 16, 2014 at 5:10 PM, Tanmay Inamdar tinam...@apm.com wrote: On Wed, Jan 15, 2014 at 4:39 AM, Arnd

Re: [PATCH v5 16/20] ARM: kirkwood: Add RSTOUT 'reg' entry to devicetree

2014-01-29 Thread Andrew Lunn
On Mon, Jan 27, 2014 at 12:27:16PM -0300, Ezequiel Garcia wrote: In order to support multiplatform builds the watchdog devicetree binding was modified and now the 'reg' property is specified to need two entries. This commit adds the second entry as-per the new specification. Tested-by:

Re: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-01-29 Thread Alan Stern
On Wed, 29 Jan 2014, Kamil Debski wrote: Change the phy provider used from the old one using the USB phy framework to a new one using the Generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/usb/exynos-usb.txt | 13 +++

Re: [PATCH v6 3/8] dts: Add usb2phy to Exynos 4

2014-01-29 Thread Olof Johansson
On Wed, Jan 29, 2014 at 9:29 AM, Kamil Debski k.deb...@samsung.com wrote: Add support to PHY of USB2 of the Exynos 4 SoC. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|2 ++ arch/arm/boot/dts/exynos4.dtsi |

[PATCH 2/5] iio: pulse: add TI ECAP driver

2014-01-29 Thread Matt Porter
Adds support for capturing PWM signals using the TI ECAP peripheral. This driver supports triggered buffer capture of pulses on multiple ECAP instances. In addition, the driver supports configurable polarity of the signal to be captured. Signed-off-by: Matt Porter mpor...@linaro.org ---

[PATCH 4/5] pwm: enable TI PWMSS if the IIO tiecap driver is selected

2014-01-29 Thread Matt Porter
The IIO TI ECAP driver depends on the TI PWMSS management driver in this subsystem. Enable PWMSS when the IIO TI ECAP driver is selected. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig

[PATCH 5/5] ARM: dts: AM33XX: Add ecap interrupt properties

2014-01-29 Thread Matt Porter
Add missing interrupt properties to the ecap0, ecap1, and ecap2 nodes. Signed-off-by: Matt Porter mpor...@linaro.org --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 6d95d3d..b4139ba

Re: [PATCH 0/2] DT: net: davinci_emac: couple more properties actually optional

2014-01-29 Thread Sergei Shtylyov
Hello. On 01/29/2014 10:43 AM, David Miller wrote: Though described as required, couple more properties in the DaVinci EMAC binding are actually optional, as the driver will happily function without them. The patchset is against DaveM's 'net.git' tree this time. [1/2] DT: net:

Re: [PATCH v2] DT: net: document Ethernet bindings in one place

2014-01-29 Thread Sergei Shtylyov
Hello. On 01/29/2014 07:16 PM, Rob Herring wrote: This patch is an attempt to gather the Ethernet related bindings in one file, like it's done in the MMC and some other subsystems. It should save some of the trouble of documenting several properties over and over in each binding document,

Re: [linux-sunxi] Re: [RFC PATCH v2 09/14] mtd: nand: add sunxi NFC dt bindings doc

2014-01-29 Thread Henrik Nordström
ons 2014-01-29 klockan 11:11 -0600 skrev Rob Herring: Isn't allwinner,rb implied by a lack of rb-gpios property. Or no R/B pin is an option? If so, don't you need some fixed time delay properties like max erase time? rb-gpios could be added to the generic nand binding as well. The

Re: [PATCH 2/2] ARM: dts: OMAP3+: add clock nodes for CPU

2014-01-29 Thread Nishanth Menon
On 01/29/2014 01:29 PM, Robert Nelson wrote: On Wed, Jan 29, 2014 at 12:19 PM, Nishanth Menon n...@ti.com wrote: OMAP34xx, AM3517 and OMAP36xx platforms use dpll1 clock. OMAP443x, OMAP446x, OMAP447x, OMAP5, DRA7, AM43xx platforms use dpll_mpu clock. Latency used is the generic latency

  1   2   >