Re: [PATCH 1/4] dt: fsl-imx-esdhc.txt: Fix gpio number assignment

2012-06-10 Thread Sascha Hauer
On Sun, Jun 10, 2012 at 11:11:13PM -0500, Rob Herring wrote: > On 06/10/2012 09:03 PM, Fabio Estevam wrote: > > On Sun, Jun 10, 2012 at 8:11 PM, Rob Herring wrote: > >> On 06/10/2012 12:24 PM, Fabio Estevam wrote: > >>> From: Fabio Estevam > >>> > >>> Fix gpio number assignment, so that it can ma

Re: [PATCH 1/4] dt: fsl-imx-esdhc.txt: Fix gpio number assignment

2012-06-10 Thread Rob Herring
On 06/10/2012 09:03 PM, Fabio Estevam wrote: > On Sun, Jun 10, 2012 at 8:11 PM, Rob Herring wrote: >> On 06/10/2012 12:24 PM, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> Fix gpio number assignment, so that it can match the number stated in the >>> comment. >>> >>> Cc: >>> Signed-off-by:

Re: [PATCH V2] MXS: Add DT binding support into stmp3xxx-rtc

2012-06-10 Thread Shawn Guo
On Fri, Jun 08, 2012 at 08:56:44PM +0200, Marek Vasut wrote: > Add simple binding for the stmp3xxx-rtc. > > Signed-off-by: Marek Vasut > Cc: Alessandro Zummo > Cc: devicetree-discuss@lists.ozlabs.org > Cc: Grant Likely > Cc: Rob Herring > Cc: rtc-li...@googlegroups.com > Cc: Shawn Guo Acked-

Re: [PATCH 1/4] dt: fsl-imx-esdhc.txt: Fix gpio number assignment

2012-06-10 Thread Fabio Estevam
On Sun, Jun 10, 2012 at 8:11 PM, Rob Herring wrote: > On 06/10/2012 12:24 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Fix gpio number assignment, so that it can match the number stated in the >> comment. >> >> Cc: >> Signed-off-by: Fabio Estevam >> --- >>  .../devicetree/bindings/mmc/

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 07:48:42PM +0200, Andrew Lunn wrote: > It would be good if all the DT boards where compiled all the time. We > can then see build failures in kisskb. Yep, I've included this, as well as watchdog and a few others. The series will also include the s/mrvl/marvell/g conversio

Re: [PATCH 1/4] dt: fsl-imx-esdhc.txt: Fix gpio number assignment

2012-06-10 Thread Rob Herring
On 06/10/2012 12:24 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Fix gpio number assignment, so that it can match the number stated in the > comment. > > Cc: > Signed-off-by: Fabio Estevam > --- > .../devicetree/bindings/mmc/fsl-imx-esdhc.txt |4 ++-- > 1 files changed, 2 inse

Re: [PATCH 8/9] ARM: Kirkwood: Add DT support for GPIO controllers

2012-06-10 Thread Rob Herring
On 06/10/2012 05:32 AM, Andrew Lunn wrote: > The GPIO controllers can now be described in DT. Origionally GPIO > controllers were instantiated during IRQ setup. The origional none-DT > code has been split out, and is only called if no DT GPIO controllers > are found. > > Signed-off-by: Andrew Lunn

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:32:01 schrieb Andrew Lunn: [..] > +config MACH_TS219_DT > + bool "Device Tree for QNAP TS-110, TS-119, TS-119P+, TS-210, TS-219, > TS-219P and TS-219P+ Turbo NAS" + select ARCH_KIRKWOOD_DT > + select ARM_APPENDED_DTB > + select ARM_ATAG_DTB_COMPAT > +

Re: [PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Michael Walle
Am Sonntag 10 Juni 2012, 12:31:53 schrieb Andrew Lunn: > Signed-off-by: Andrew Lunn > --- > .../devicetree/bindings/arm/mrvl/intc.txt | 20 > ++ arch/arm/boot/dts/kirkwood.dtsi| > 9 arch/arm/mach-kirkwood/board-dt.c | 22

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Andrew Lunn
> > diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig > > index 199764f..8c6a5cd 100644 > > --- a/arch/arm/mach-kirkwood/Kconfig > > +++ b/arch/arm/mach-kirkwood/Kconfig > > @@ -47,6 +47,7 @@ config MACH_GURUPLUG > > config ARCH_KIRKWOOD_DT > > bool "Marvell Kirkwood

[PATCH 4/4] dt: mc13xxx.txt: Fix gpio number assignment

2012-06-10 Thread Fabio Estevam
From: Fabio Estevam Fix gpio number assignment, so that it can match the number stated in the comment. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/mfd/mc13xxx.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindin

[PATCH 3/4] dt: fsl-fec.txt: Fix gpio number assignment

2012-06-10 Thread Fabio Estevam
From: Fabio Estevam Fix gpio number assignment, so that it can match the number stated in the comment. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/net/fsl-fec.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH 2/4] dt: fsl-mma8450.tx: Add missing 'reg' description

2012-06-10 Thread Fabio Estevam
From: Fabio Estevam Add missing 'reg' description. Signed-off-by: Fabio Estevam .../devicetree/bindings/input/fsl-mma8450.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/input/fsl-mma8450.txt b/Documentation/devicetree/b

[PATCH 1/4] dt: fsl-imx-esdhc.txt: Fix gpio number assignment

2012-06-10 Thread Fabio Estevam
From: Fabio Estevam Fix gpio number assignment, so that it can match the number stated in the comment. Cc: Signed-off-by: Fabio Estevam --- .../devicetree/bindings/mmc/fsl-imx-esdhc.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/

Re: [PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:32:01PM +0200, Andrew Lunn wrote: > The two different variants of QNAP TS devices, varying by SoC, put the > GPIO keys on different GPIO lines. Hence we need two different DT > board descriptions, which share the same board-ts219.c file. > > Signed-off-by: Andrew Lunn >

Re: [PATCH 8/9] ARM: Kirkwood: Add DT support for GPIO controllers

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:32:00PM +0200, Andrew Lunn wrote: > The GPIO controllers can now be described in DT. Origionally GPIO > controllers were instantiated during IRQ setup. The origional none-DT nit. "non-DT" > code has been split out, and is only called if no DT GPIO controllers > are fou

Re: [PATCH 7/9] I2C: MV64XXX: Add Device Tree support

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:59PM +0200, Andrew Lunn wrote: > Extends the driver to get properties from device tree. Also extend the > kirkwood DT support to supply the needed properties. > > Signed-off-by: Andrew Lunn > --- > Documentation/devicetree/bindings/i2c/mrvl-i2c.txt | 35 ++

Re: [PATCH 6/9] ARM: kirkwood: use devicetree for SPI on dreamplug

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:58PM +0200, Andrew Lunn wrote: > From: Michael Walle > > Use the device tree for the SPI driver and partition layout. > > Signed-off-by: Michael Walle > Signed-off-by: Andrew Lunn Acked-by: Jason Cooper > --- > arch/arm/boot/dts/kirkwood-dreamplug.dts | 29 +

Re: [PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:57PM +0200, Andrew Lunn wrote: > From: Michael Walle > > Populate the devices with auxdata to set the device names which are used by > clkdev to lookup the clocks. > > Signed-off-by: Michael Walle > Signed-off-by: Andrew Lunn > --- > arch/arm/boot/dts/kirkwood.dt

Re: [PATCH] dt: fsl-imx-cspi.txt: Fix comment about GPIOs used for chip selects

2012-06-10 Thread Fabio Estevam
Pinging again. On Mon, May 21, 2012 at 12:27 AM, Fabio Estevam wrote: > On Sun, Apr 22, 2012 at 10:32 PM, Shawn Guo wrote: >> On 22 April 2012 01:21, Fabio Estevam wrote: >>> The gpio numbers does not match the comment. >>> >>> Fix the comments for GPIOs used for chip selects. >>> >>> Signed-of

Re: [PATCH 4/9] spi-orion: add device tree binding

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:56PM +0200, Andrew Lunn wrote: > From: Michael Walle > > Signed-off-by: Michael Walle > Signed-off-by: Andrew Lunn Looks good. Acked-by: Jason Cooper > --- > Documentation/devicetree/bindings/spi/spi-orion.txt |5 + > drivers/spi/spi-orion.c

Re: [PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:53PM +0200, Andrew Lunn wrote: > Signed-off-by: Andrew Lunn > --- > .../devicetree/bindings/arm/mrvl/intc.txt | 20 ++ > arch/arm/boot/dts/kirkwood.dtsi|9 > arch/arm/mach-kirkwood/board-dt.c

Re: [PATCH 0/9] Kirkwood DT support For IRQ, SPI, I2C, GPIO

2012-06-10 Thread Jason Cooper
On Sun, Jun 10, 2012 at 12:31:52PM +0200, Andrew Lunn wrote: > This patch set adds Device Tree support for IRQ, SPI, I2C and GPIO on > Orion based drivers, and makes use of these for kirkwood devices. It > also adds the ability to boot QNAP TS219 based systems using device > tree. Andrew, thanks

Re: [PATCH 2/9] SPI: Refactor spi-orion to use SPI framework queue.

2012-06-10 Thread Linus Walleij
On Sun, Jun 10, 2012 at 12:31 PM, Andrew Lunn wrote: > Replace the deprecated master->transfer with transfer_one_message() > and allow the SPI subsystem handle all the queuing of messages. > > Signed-off-by: Andrew Lunn > Acked-by: Linus Walleij Looks good to me: Acked-by: Linus Walleij Your

[PATCH 9/9] Kirkwood: Add basic device tree support for QNAP TS219.

2012-06-10 Thread Andrew Lunn
The two different variants of QNAP TS devices, varying by SoC, put the GPIO keys on different GPIO lines. Hence we need two different DT board descriptions, which share the same board-ts219.c file. Signed-off-by: Andrew Lunn --- arch/arm/boot/dts/kirkwood-ts219-6281.dts | 21 +++ arch/arm/

[PATCH 6/9] ARM: kirkwood: use devicetree for SPI on dreamplug

2012-06-10 Thread Andrew Lunn
From: Michael Walle Use the device tree for the SPI driver and partition layout. Signed-off-by: Michael Walle Signed-off-by: Andrew Lunn --- arch/arm/boot/dts/kirkwood-dreamplug.dts | 29 + arch/arm/mach-kirkwood/board-dreamplug.c | 41 -- 2

[PATCH 2/9] SPI: Refactor spi-orion to use SPI framework queue.

2012-06-10 Thread Andrew Lunn
Replace the deprecated master->transfer with transfer_one_message() and allow the SPI subsystem handle all the queuing of messages. Signed-off-by: Andrew Lunn Acked-by: Linus Walleij --- drivers/spi/spi-orion.c | 209 ++- 1 file changed, 61 insertion

[PATCH 1/9] ARM: Kirkwood: Add interrupt controller support for DT boards

2012-06-10 Thread Andrew Lunn
Signed-off-by: Andrew Lunn --- .../devicetree/bindings/arm/mrvl/intc.txt | 20 ++ arch/arm/boot/dts/kirkwood.dtsi|9 arch/arm/mach-kirkwood/board-dt.c | 22 +++- 3 files changed, 50 insertions(+), 1 del

[PATCH 0/9] Kirkwood DT support For IRQ, SPI, I2C, GPIO

2012-06-10 Thread Andrew Lunn
This patch set adds Device Tree support for IRQ, SPI, I2C and GPIO on Orion based drivers, and makes use of these for kirkwood devices. It also adds the ability to boot QNAP TS219 based systems using device tree. The SPI DT patches are from Michael Walle, and have been previously posted. I've add

[PATCH 3/9] spi-orion: remove uneeded spi_info

2012-06-10 Thread Andrew Lunn
From: Michael Walle This was formerly used to store the tclk value. This is now discovered using the clk API, rather than pass it as platform data. Signed-off-by: Michael Walle Acked-by: Jason Cooper Signed-off-by: Andrew Lunn --- drivers/spi/spi-orion.c |5 - 1 file changed, 5 delet

[PATCH 4/9] spi-orion: add device tree binding

2012-06-10 Thread Andrew Lunn
From: Michael Walle Signed-off-by: Michael Walle Signed-off-by: Andrew Lunn --- Documentation/devicetree/bindings/spi/spi-orion.txt |5 + drivers/spi/spi-orion.c |9 + 2 files changed, 14 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 5/9] ARM: kirkwood: use devicetree for orion-spi

2012-06-10 Thread Andrew Lunn
From: Michael Walle Populate the devices with auxdata to set the device names which are used by clkdev to lookup the clocks. Signed-off-by: Michael Walle Signed-off-by: Andrew Lunn --- arch/arm/boot/dts/kirkwood.dtsi |9 + arch/arm/mach-kirkwood/board-dt.c |8 +++- 2 fil

[PATCH 7/9] I2C: MV64XXX: Add Device Tree support

2012-06-10 Thread Andrew Lunn
Extends the driver to get properties from device tree. Also extend the kirkwood DT support to supply the needed properties. Signed-off-by: Andrew Lunn --- Documentation/devicetree/bindings/i2c/mrvl-i2c.txt | 35 +- arch/arm/boot/dts/kirkwood.dtsi| 13 +

[PATCH 8/9] ARM: Kirkwood: Add DT support for GPIO controllers

2012-06-10 Thread Andrew Lunn
The GPIO controllers can now be described in DT. Origionally GPIO controllers were instantiated during IRQ setup. The origional none-DT code has been split out, and is only called if no DT GPIO controllers are found. Signed-off-by: Andrew Lunn --- .../devicetree/bindings/gpio/mrvl-gpio.txt