Re: [PATCH v2 0/4] Add PWM polarity flag macro for DT

2013-07-19 Thread Laurent Pinchart
Hi Stephen, On Thursday 18 July 2013 10:55:56 Stephen Warren wrote: > On 07/17/2013 04:54 PM, Laurent Pinchart wrote: > > Hello, > > > > Here's a small patch set that replaces PWM polarity numerical constants > > with macros in DT. > > The series, > Re

Re: [PATCH V2 5/5] ARM: remove #gpio-ranges-cells property

2013-07-17 Thread Laurent Pinchart
> diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi > index e1eb7da..8577780 100644 > --- a/arch/arm/boot/dts/vf610.dtsi > +++ b/arch/arm/boot/dts/vf610.dtsi > @@ -162,7 +162,6 @@ > iomuxc: iomuxc@40048000 { >

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-07-17 Thread Laurent Pinchart
; > > > > > > > > Could you use clock-output-names for that ? > > > > > > > > > > XTAL clock: > > > > > > > > > > refclk { > > > > > > > > > > comp

[PATCH v2 4/4] ARM: dts: Use the PWM polarity flags

2013-07-17 Thread Laurent Pinchart
Replace the numerical polarity flags with the PWM_POLARITY_INVERTED symbolic constant. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/am335x-evmsk.dts | 3 ++- arch/arm/boot/dts/wm8850-w70v2.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 2/4] pwm: Use the DT macro directly when parsing PWM DT flags

2013-07-17 Thread Laurent Pinchart
Don't redefine a PWM_SPEC_POLARITY macro with a value identical to PWM_POLARITY_INVERTED, use the PWM DT macro directly. Signed-off-by: Laurent Pinchart --- drivers/pwm/core.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pwm/core.c b/drivers/pwm/c

[PATCH v2 3/4] pwm: Update DT bindings to reference pwm.txt for cells documentation

2013-07-17 Thread Laurent Pinchart
The PWM client cells format is documented in the generic pwm.txt documentation and duplicated in all PWM driver bindings. Remove duplicate information and reference pwm.txt instead. Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt | 8

[PATCH v2 1/4] pwm: Add PWM polarity flag macro for DT

2013-07-17 Thread Laurent Pinchart
Define a PWM_POLARITY_INVERTED macro in include/dt-bindings/pwm/pwm.h to be used by device tree sources. Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/pwm/pwm.txt | 7 --- include/dt-bindings/pwm/pwm.h | 14 ++ 2 files changed, 18

[PATCH v2 0/4] Add PWM polarity flag macro for DT

2013-07-17 Thread Laurent Pinchart
moving the PWM_POLARITY_NORMAL flag, which wasn't a flag but was defined as 0 - renaming the PWM_POLARITY_INVERSED DT flag to PWM_POLARITY_INVERTED - not relying on DT flags and PWM C flags having identical names and values Laurent Pinchart (4): pwm: Add PWM polarity flag macro for DT pwm: Use the DT

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-17 Thread Laurent Pinchart
Hi Stephen, On Monday 15 July 2013 21:39:31 Stephen Warren wrote: > On 07/15/2013 07:10 PM, Laurent Pinchart wrote: > > On Friday 12 July 2013 08:42:41 Stephen Warren wrote: > ... > > >> I think the values for any common system-wide flags should be defined > >&g

Re: [PATCH] gpio-rcar: Add interrupt controller support to the DT bindings

2013-07-16 Thread Laurent Pinchart
Hi Linus, On Thursday 04 July 2013 19:44:39 Laurent Pinchart wrote: > Update the DT bindings documentation with the interrupt-controller > and #interrupt-cells properties. Patches that make use of this binding have been merged to Simon's tree. Could you consider merging this patch i

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-15 Thread Laurent Pinchart
Hello, On Friday 12 July 2013 11:40:44 Stephen Warren wrote: > On 07/12/2013 11:24 AM, Thierry Reding wrote: > > On Fri, Jul 12, 2013 at 08:40:07AM -0600, Stephen Warren wrote: > >> On 07/12/2013 04:41 AM, Laurent Pinchart wrote: > >>> Hi Stephen, > > > >

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-15 Thread Laurent Pinchart
Hi Stephen, On Friday 12 July 2013 08:42:41 Stephen Warren wrote: > On 07/12/2013 05:01 AM, Laurent Pinchart wrote: > > On Thursday 11 July 2013 14:06:44 Stephen Warren wrote: > >> On 07/11/2013 01:32 PM, Thierry Reding wrote: > >>> On Thu, Jul 11, 2013 at 11:50:48

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-12 Thread Laurent Pinchart
Hi, On Thursday 11 July 2013 14:06:44 Stephen Warren wrote: > On 07/11/2013 01:32 PM, Thierry Reding wrote: > > On Thu, Jul 11, 2013 at 11:50:48AM -0600, Stephen Warren wrote: > >> On 07/11/2013 09:36 AM, Thierry Reding wrote: > >>> On Thu, Jul 11, 2013 at 04:3

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-12 Thread Laurent Pinchart
Hi Thierry, On Thursday 11 July 2013 08:36:00 Thierry Reding wrote: > On Thu, Jul 11, 2013 at 04:37:48PM +0200, Laurent Pinchart wrote: > [...] > > > diff --git a/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt > > b/Documentation/devicetree/bindings/pwm/at

Re: [PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-12 Thread Laurent Pinchart
Hi Stephen, On Thursday 11 July 2013 11:40:37 Stephen Warren wrote: > On 07/11/2013 08:37 AM, Laurent Pinchart wrote: > > Define PWM_POLARITY_NORMAL and PWM_POLARITY_INVERTED macros in > > include/dt-bindings/pwm/pwm.h to be used by device tree sources. > > > > Docume

[PATCH 1/2] ARM i.MX53: mba53: Fix PWM backlight DT node

2013-07-11 Thread Laurent Pinchart
The i.MX53 PWM controller uses two cells to describe the PWM specifier. Remove the extra unused values from the backlight DT node pwms property. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/imx53-mba53.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 2/2] pwm: Add PWM polarity flag macros for DT

2013-07-11 Thread Laurent Pinchart
Define PWM_POLARITY_NORMAL and PWM_POLARITY_INVERTED macros in include/dt-bindings/pwm/pwm.h to be used by device tree sources. Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt | 6 +++--- Documentation/devicetree/bindings/pwm/pwm-samsung.txt | 5

[PATCH 0/2] Add PWM polarity flag macros for DT

2013-07-11 Thread Laurent Pinchart
Hello, Here's a small patch set that replaces PWM polarity numerical constants with macros in DT. The series starts with a fix for an error in the i.MX53 mba53 DT, and the second patch then introduces the macros and update both bindings documentation and existing DT. Laurent Pinchart (2):

[PATCH] gpio-rcar: Add interrupt controller support to the DT bindings

2013-07-04 Thread Laurent Pinchart
Update the DT bindings documentation with the interrupt-controller and #interrupt-cells properties. Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio

[PATCH v7 0/3] SH pinctrl DT support

2013-06-17 Thread Laurent Pinchart
d board patches - Dropped pinctrl mappings move to DT Laurent Pinchart (3): sh-pfc: Remove support for platform data sh-pfc: Add DT support sh-pfc: Add pinconf support to DT bindings .../bindings/pinctrl/renesas,pfc-pinctrl.txt | 153 drivers/pinctr

[PATCH v7 2/3] sh-pfc: Add DT support

2013-06-17 Thread Laurent Pinchart
Support device instantiation through the device tree. The compatible property is used to select the SoC pinmux information. Set the gpio_chip device field to the PFC device to enable automatic GPIO OF support. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Laurent Pinchart

[PATCH v7 3/3] sh-pfc: Add pinconf support to DT bindings

2013-06-17 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- .../bindings/pinctrl/renesas,pfc-pinctrl.txt | 36 +-- drivers/pinctrl/sh-pfc/pinctrl.c | 109 ++--- 2 files changed, 124 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl

[PATCH v7 1/3] sh-pfc: Remove support for platform data

2013-06-17 Thread Laurent Pinchart
Platform data isn't used, support can thus be removed. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- drivers/pinctrl/sh-pfc/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c index b5

Re: [PATCH v6 02/18] sh-pfc: Add DT support

2013-06-17 Thread Laurent Pinchart
Hi Linus, On Monday 17 June 2013 13:28:52 Linus Walleij wrote: > On Mon, Jun 17, 2013 at 1:00 PM, Laurent Pinchart wrote: > > On Monday 17 June 2013 16:03:16 Simon Horman wrote: > >> Hi Laurent, > >> > >> As 3.10-rc6 has been released it is probably now too

Re: [PATCH v6 02/18] sh-pfc: Add DT support

2013-06-17 Thread Laurent Pinchart
OK. Linus, would you like to take the series through your tree, or push it back to v3.12 ? > Otherwise I think we need to discuss how this should be handled for v3.12. > > On Mon, Jun 17, 2013 at 05:08:25AM +0200, Laurent Pinchart wrote: > > Hi Linus, > > > > Would

Re: [PATCH v6 02/18] sh-pfc: Add DT support

2013-06-16 Thread Laurent Pinchart
Hi Linus, Would you be able to review this patch in the near future ? I'd like to push the series to v3.11. On Friday 14 June 2013 01:45:47 Laurent Pinchart wrote: > Support device instantiation through the device tree. The compatible > property is used to select the SoC pinmux

Re: [PATCH 0/5] pinctrl: fix some issues with new pinconfig dt parsing

2013-06-16 Thread Laurent Pinchart
gt; pinctrl: dynamically alloc temp array when parsing dt pinconf options > > patches 1-4: > Reviewed-by: James Hogan Probably too late as Linus has already applied the patches, but for 2, 3 and 4 Acked-by: Laurent Pinchart -- Regards, Laurent Pinchart __

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Laurent Pinchart
Hi Linus, On Sunday 16 June 2013 01:51:32 Linus Walleij wrote: > On Sun, Jun 16, 2013 at 1:35 AM, Laurent Pinchart wrote: > > On Saturday 15 June 2013 22:16:13 Heiko Stübner wrote: > >> Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: > >> >

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-15 Thread Laurent Pinchart
Hi Heiko, On Saturday 15 June 2013 22:16:13 Heiko Stübner wrote: > Am Samstag, 15. Juni 2013, 21:56:05 schrieb Linus Walleij: > > On Fri, Jun 14, 2013 at 12:39 AM, Laurent Pinchart wrote: > > > mmcif_pins: mmcif { > > > mux { > > >

Re: [PATCH 0/1] gpio-rcar: Add DT support

2013-06-15 Thread Laurent Pinchart
Hi Olof, On Friday 14 June 2013 17:47:51 Olof Johansson wrote: > On Thu, Jun 13, 2013 at 04:00:26PM +0900, Simon Horman wrote: > > From: Laurent Pinchart > > > > Add DT bindings for the gpio-rcar driver and read the device > > configuration from the DT node

[PATCH v6 18/18] ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree

2013-06-13 Thread Laurent Pinchart
LED2 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen

[PATCH v6 16/18] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree

2013-06-13 Thread Laurent Pinchart
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts

[PATCH v6 15/18] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT

2013-06-13 Thread Laurent Pinchart
Reference the st1232 reset GPIO from the device tree and remove it from board code. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 2 ++ arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 7 --- 2 files changed, 2 insertions(+), 7

[PATCH v6 17/18] ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree

2013-06-13 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts

[PATCH v6 09/18] ARM: shmobile: r8a7790: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the r8a7790 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 339d9b1..13caf12 100644 --- a/arch/arm/boot/dts/r8a7790

[PATCH v6 10/18] ARM: shmobile: r8a7790: Add GPIO controller devices to device tree

2013-06-13 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7790 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 61 ++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index

[PATCH v6 12/18] ARM: shmobile: sh73a0: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the sh73a0 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0.dtsi | 8 arch/arm/mach-shmobile/board-kzm9g-reference.c | 27

[PATCH v6 13/18] ARM: shmobile: armadillo-reference: Move pinctrl mappings to device tree

2013-06-13 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva

[PATCH v6 11/18] ARM: shmobile: sh7372: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the sh7372 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh7372.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi index 677fc60..ce19398 100644 --- a/arch/arm/boot/dts/sh7372.dtsi

[PATCH v6 14/18] ARM: shmobile: armadillo-reference: Add st1232 pin mappings

2013-06-13 Thread Laurent Pinchart
Add pin mappings for the st1232 device to the device tree and reference them as the default state for the device. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740

[PATCH v6 05/18] ARM: shmobile: r8a7778: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the r8a7778 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7778.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 4743735..c8dbf14 100644 --- a/arch/arm/boot/dts/r8a7778

[PATCH v6 08/18] ARM: shmobile: r8a7779: Add GPIO controller devices to device tree

2013-06-13 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7779 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779.dtsi | 71 ++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index

[PATCH v6 07/18] ARM: shmobile: r8a7779: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the r8a7779 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779.dtsi | 5 + arch/arm/mach-shmobile/board-marzen-reference.c | 17 - 2 files

[PATCH v6 04/18] ARM: shmobile: r8a7740: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the r8a7740 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740.dtsi | 8 arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 16

[PATCH v6 06/18] ARM: shmobile: r8a7778: Add GPIO controller devices to device tree

2013-06-13 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7778 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7778.dtsi | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index

[PATCH v6 03/18] ARM: shmobile: r8a73a4: Add pin control device to device tree

2013-06-13 Thread Laurent Pinchart
Add a pfc node to the r8a73a4 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a73a4.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi index 4ff2019..5aa1180 100644 --- a/arch/arm/boot/dts/r8a73a4

[PATCH v6 02/18] sh-pfc: Add DT support

2013-06-13 Thread Laurent Pinchart
Support device instantiation through the device tree. The compatible property is used to select the SoC pinmux information. Set the gpio_chip device field to the PFC device to enable automatic GPIO OF support. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Laurent Pinchart

[PATCH v6 01/18] sh-pfc: Remove support for platform data

2013-06-13 Thread Laurent Pinchart
Platform data isn't used, support can thus be removed. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- drivers/pinctrl/sh-pfc/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c index 3b

[PATCH v6 00/18] SH pinctrl DT support

2013-06-13 Thread Laurent Pinchart
ll arch changes Changes since v1: - Fixed gpio cell number 2 documentation - Added missing gpio-controller and #gpio-cells properties to r8a7740 DT - Split kzm9g DT patch into SoC and board patches - Dropped pinctrl mappings move to DT Laurent Pinchart (18): sh-pfc: Remove support for platform

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-13 Thread Laurent Pinchart
Hi James, On Wednesday 12 June 2013 15:36:59 James Hogan wrote: > On 11/06/13 23:03, Laurent Pinchart wrote: > > Document DT properties for the generic pinctrl parameters and add a > > parser function. > > > > Signed-off-by: Laurent Pinchart > > > > ---

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-13 Thread Laurent Pinchart
Hi Grant, Thanks for the review. On Wednesday 12 June 2013 13:48:33 Grant Likely wrote: > On Wed, 12 Jun 2013 00:03:57 +0200, Laurent Pinchart wrote: > > Document DT properties for the generic pinctrl parameters and add a > > parser function. > > > > Sign

Re: [PATCH v5 01/22] pinctrl: generic: Add DT bindings

2013-06-13 Thread Laurent Pinchart
Hi Linus, On Wednesday 12 June 2013 11:24:38 Linus Walleij wrote: > On Wed, Jun 12, 2013 at 12:22 AM, Laurent Pinchart wrote: > > Document DT properties for the generic pinctrl parameters and add a > > parser function. > > > > Signed-off-by: Laurent Pinchart > >

Re: [RFC/PATCH v2 2/2] gpio-rcar: Add DT support

2013-06-13 Thread Laurent Pinchart
Hi Grant, Thanks for the review. On Wednesday 12 June 2013 12:49:11 Grant Likely wrote: > On Tue, 21 May 2013 13:40:06 +0200, Laurent Pinchart wrote: > > Add DT bindings for the gpio-rcar driver and read the device > > configuration from the DT node at probe time if availab

Re: [PATCH v2 06/10] mmc: omap_hsmmc: add support for pbias configuration in dt

2013-06-13 Thread Laurent Pinchart
Hi, On Thursday 13 June 2013 20:22:42 Balaji T K wrote: > On Thursday 13 June 2013 03:32 PM, Laurent Pinchart wrote: > > On Thursday 13 June 2013 02:53:54 Tony Lindgren wrote: > >> * Linus Walleij [130613 02:42]: > >>> On Thu, Jun 6, 2013 at 9:14 PM, Balaji T K

Re: [PATCH v2 06/10] mmc: omap_hsmmc: add support for pbias configuration in dt

2013-06-13 Thread Laurent Pinchart
this and the USB comparators > in the omap SCM (System Control Module) as the all seem to relate to > pin states. > > > This also looks strange from an MMC point of view. > > Yes I agree, it should be a regulator for MMC. Doing it this way just > adds yet more code that

[PATCH v5 22/22] ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree

2013-06-11 Thread Laurent Pinchart
LED2 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen

[PATCH v5 21/22] ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree

2013-06-11 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts

[PATCH v5 20/22] ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree

2013-06-11 Thread Laurent Pinchart
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g

[PATCH v5 16/22] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT

2013-06-11 Thread Laurent Pinchart
Reference the st1232 reset GPIO from the device tree and remove it from board code. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 2 ++ arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 7 --- 2 files changed, 2 insertions(+), 7

[PATCH v5 18/22] ARM: shmobile: kzm9g-reference: Move pinctrl mappings to device tree

2013-06-11 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

[PATCH v5 19/22] ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT

2013-06-11 Thread Laurent Pinchart
Create two GPIO-controlled fixed-voltage regulators in the kzm9g-reference DT and remove manual configuration of the corresponding GPIOs from board code. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 23 +-- arch/arm/mach-shmobile/board

[PATCH v5 17/22] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree

2013-06-11 Thread Laurent Pinchart
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts

[PATCH v5 15/22] ARM: shmobile: armadillo-reference: Add st1232 pin mappings

2013-06-11 Thread Laurent Pinchart
Add pin mappings for the st1232 device to the device tree and reference them as the default state for the device. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740

[PATCH v5 11/22] ARM: shmobile: r8a7790: Add GPIO controller devices to device tree

2013-06-11 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7790 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 61 ++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index

[PATCH v5 14/22] ARM: shmobile: armadillo-reference: Move pinctrl mappings to device tree

2013-06-11 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva

[PATCH v5 13/22] ARM: shmobile: sh73a0: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the sh73a0 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0.dtsi | 8 arch/arm/mach-shmobile/board-kzm9g-reference.c | 27

[PATCH v5 12/22] ARM: shmobile: sh7372: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the sh7372 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh7372.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi index 677fc60..ce19398 100644 --- a/arch/arm/boot/dts/sh7372.dtsi

[PATCH v5 08/22] ARM: shmobile: r8a7779: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the r8a7779 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779.dtsi | 5 + arch/arm/mach-shmobile/board-marzen-reference.c | 17 - 2 files

[PATCH v5 06/22] ARM: shmobile: r8a7778: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the r8a7778 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7778.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 4743735..c8dbf14 100644 --- a/arch/arm/boot/dts/r8a7778

[PATCH v5 10/22] ARM: shmobile: r8a7790: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the r8a7790 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 339d9b1..13caf12 100644 --- a/arch/arm/boot/dts/r8a7790

[PATCH v5 09/22] ARM: shmobile: r8a7779: Add GPIO controller devices to device tree

2013-06-11 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7779 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779.dtsi | 71 ++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index

[PATCH v5 07/22] ARM: shmobile: r8a7778: Add GPIO controller devices to device tree

2013-06-11 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7778 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7778.dtsi | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index

[PATCH v5 05/22] ARM: shmobile: r8a7740: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the r8a7740 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740.dtsi | 8 arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 16

[PATCH v5 03/22] sh-pfc: Add DT support

2013-06-11 Thread Laurent Pinchart
Support device instantiation through the device tree. The compatible property is used to select the SoC pinmux information. Set the gpio_chip device field to the PFC device to enable automatic GPIO OF support. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Laurent Pinchart

[PATCH v5 01/22] pinctrl: generic: Add DT bindings

2013-06-11 Thread Laurent Pinchart
Document DT properties for the generic pinctrl parameters and add a parser function. Signed-off-by: Laurent Pinchart --- .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++ drivers/pinctrl/pinconf-generic.c | 94 ++ drivers/pinctrl/pinconf.h

[PATCH v5 04/22] ARM: shmobile: r8a73a4: Add pin control device to device tree

2013-06-11 Thread Laurent Pinchart
Add a pfc node to the r8a73a4 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a73a4.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi index 4ff2019..5aa1180 100644 --- a/arch/arm/boot/dts/r8a73a4

[PATCH v5 02/22] sh-pfc: Remove support for platform data

2013-06-11 Thread Laurent Pinchart
Platform data isn't used, support can thus be removed. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- drivers/pinctrl/sh-pfc/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c index 3b

[PATCH v5 00/22] SH pinctrl DT support

2013-06-11 Thread Laurent Pinchart
ges Changes since v1: - Fixed gpio cell number 2 documentation - Added missing gpio-controller and #gpio-cells properties to r8a7740 DT - Split kzm9g DT patch into SoC and board patches - Dropped pinctrl mappings move to DT Laurent Pinchart (22): pinctrl: generic: Add DT bindings sh-pfc:

Re: [RFC/PATCH v2 0/2] R-Car GPIO DT bindings

2013-06-11 Thread Laurent Pinchart
Hi Simon, On Saturday 25 May 2013 10:24:34 Simon Horman wrote: > On Tue, May 21, 2013 at 01:40:04PM +0200, Laurent Pinchart wrote: > > Hello, > > > > Here's the second version of the gpio-rcar driver DT bindings. I've tested > > the patches on the Marzen boa

[RFC] pinctrl: generic: Add DT bindings

2013-06-11 Thread Laurent Pinchart
Document DT properties for the generic pinctrl parameters and add a parser function. Signed-off-by: Laurent Pinchart --- .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++ drivers/pinctrl/pinconf-generic.c | 94 ++ drivers/pinctrl/pinconf.h

Re: [RFC/PATCH v2 2/2] gpio-rcar: Add DT support

2013-05-31 Thread Laurent Pinchart
Hi Linus, On Friday 31 May 2013 09:01:44 Linus Walleij wrote: > On Fri, May 31, 2013 at 3:20 AM, Laurent Pinchart wrote: > > I've so far pushed GPIO and pinctrl patches for SH through Simon's tree > > due to the many cross-dependencies between SH arch code and the GPIO an

Re: [RFC/PATCH v2 2/2] gpio-rcar: Add DT support

2013-05-30 Thread Laurent Pinchart
Hi Linus, On Thursday 30 May 2013 19:38:12 Linus Walleij wrote: > On Tue, May 21, 2013 at 1:40 PM, Laurent Pinchart > wrote: > > Add DT bindings for the gpio-rcar driver and read the device > > configuration from the DT node at probe time if available. > > &g

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-29 Thread Laurent Pinchart
> composite-sync-active > sync-on-green-active > sync-on-comp-active > sync-on-luma-active > > This would allow to specify polarity of each signal and at the same time > the parsing code could derive synchronisation type. A new field could be > added to struct v4l2_of_par

Re: [PATCH v4 15/21] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT

2013-05-29 Thread Laurent Pinchart
Hi Linus, Thanks for the review. On Friday 24 May 2013 10:59:50 Linus Walleij wrote: > On Tue, May 21, 2013 at 2:14 PM, Laurent Pinchart wrote: > > Reference the st1232 reset GPIO from the device tree and remove it from > > board code. > > > > Signed-off-by: Laurent P

Re: [PATCH v4 02/21] sh-pfc: Add DT support

2013-05-29 Thread Laurent Pinchart
Hi Linus, Thanks for the review. On Friday 24 May 2013 10:52:42 Linus Walleij wrote: > On Tue, May 21, 2013 at 2:14 PM, Laurent Pinchart wrote: > > Support device instantiation through the device tree. The compatible > > property is used to select the SoC pinmux information. &

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Laurent Pinchart
c: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > Cc: Sylwester Nawrocki > Cc: Sakari Ailus > Cc: Grant Likely > Cc: Sascha Hauer > Cc: Rob Herring > Cc: Rob Landley > Cc: Arnd Bergmann > Cc: devicetree

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the tvp514x driver. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab >

[PATCH v4 21/21] ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree

2013-05-21 Thread Laurent Pinchart
LED2 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen

[PATCH v4 20/21] ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree

2013-05-21 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts

[PATCH v4 19/21] ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree

2013-05-21 Thread Laurent Pinchart
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g

[PATCH v4 18/21] ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT

2013-05-21 Thread Laurent Pinchart
Create two GPIO-controlled fixed-voltage regulators in the kzm9g-reference DT and remove manual configuration of the corresponding GPIOs from board code. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 22 -- arch/arm/mach-shmobile/board

[PATCH v4 17/21] ARM: shmobile: kzm9g-reference: Move pinctrl mappings to device tree

2013-05-21 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

[PATCH v4 16/21] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree

2013-05-21 Thread Laurent Pinchart
LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts

[PATCH v4 15/21] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT

2013-05-21 Thread Laurent Pinchart
Reference the st1232 reset GPIO from the device tree and remove it from board code. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 1 + arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 7 --- 2 files changed, 1 insertion(+), 7

[PATCH v4 14/21] ARM: shmobile: armadillo-reference: Add st1232 pin mappings

2013-05-21 Thread Laurent Pinchart
Add pin mappings for the st1232 device to the device tree and reference them as the default state for the device. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740

[PATCH v4 12/21] ARM: shmobile: sh73a0: Add pin control device to device tree

2013-05-21 Thread Laurent Pinchart
Add a pfc node to the sh73a0 device tree and remove manual pinmux initialization from the corresponding board files. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0.dtsi | 8 arch/arm/mach-shmobile/board-kzm9g-reference.c | 27

[PATCH v4 13/21] ARM: shmobile: armadillo-reference: Move pinctrl mappings to device tree

2013-05-21 Thread Laurent Pinchart
Replace the pinctrl mappings in board code by device tree mappings. For devices that are still instantiated from board code reference the mappings as the default pin controller state to apply them at boot time. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7740-armadillo800eva

[PATCH v4 10/21] ARM: shmobile: r8a7790: Add GPIO controller devices to device tree

2013-05-21 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7790 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 61 ++ 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index

[PATCH v4 11/21] ARM: shmobile: sh7372: Add pin control device to device tree

2013-05-21 Thread Laurent Pinchart
Add a pfc node to the sh7372 device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh7372.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi index 677fc60..ce19398 100644 --- a/arch/arm/boot/dts/sh7372.dtsi

[PATCH v4 08/21] ARM: shmobile: r8a7779: Add GPIO controller devices to device tree

2013-05-21 Thread Laurent Pinchart
Add GPIO controller nodes to the r8a7779 core device tree. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779.dtsi | 71 ++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index

  1   2   3   >