Renesas ARM based SoC GPIO R-Car updates for v3.11
Subsystems (4)
Hi Olof, Hi Arnd,
This pull request is based on renesas-pinmux-for-v3.11 which you have previously pulled. It provides the GPIO R-Car driver. I have broken this pull-request out from a separate pull request I plan to send with further pinmux updates as it relates specifically to DT. And I wanted to give you the option of merging it separately.
The following changes since commit 5fcf4a3c3a5bc08bf72a50ef1332501a3c1b96bb:
ARM: shmobile: marzen: Use RCAR_GP_PIN macro (2013-06-05 17:18:24 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-gpio-rcar-for-v3.11
for you to fetch changes up to 159f8a0209aff155af7f6fcdedd4a4484dd19c23:
gpio-rcar: Add DT support (2013-06-12 21:48:09 +0900)
----------------------------------------------------------------
Renesas ARM based SoC GPIO R-Car updates for v3.11
DT support to GPIO R-Car driver by Laurent Pinchart.
----------------------------------------------------------------
Laurent Pinchart (1):
gpio-rcar: Add DT support
.../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 52 +++++++++++++++++ drivers/gpio/gpio-rcar.c | 66 ++++++++++++++++++---- 2 files changed, 108 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
cover gpio-rcar: Add DT support
From: Laurent Pinchart <[email protected]>
Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available.
--- .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 52 +++++++++++++++++ drivers/gpio/gpio-rcar.c | 66 ++++++++++++++++++---- 2 files changed, 108 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt new file +52 -0
@@ -0,0 +1,52 @@ +* Renesas R-Car GPIO Controller + +Required Properties: + + - compatible: should be one of the following. + - "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller. + - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller. + - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller. + - "renesas,gpio-rcar": for generic R-Car GPIO controller. + + - reg: Base address and length of each memory resource used by the GPIO + controller hardware module. + + - interrupt-parent: phandle of the parent interrupt controller. + - interrupts: Interrupt specifier for the controllers interrupt. + + - gpio-controller: Marks the device node as a gpio controller. + - #gpio-cells: Should be 2. The first cell is the GPIO number and the second + cell is used to specify optional parameters as bit flags. Only the GPIO + active low flag (bit 0) is currently supported. + - gpio-ranges: Range of pins managed by the GPIO controller as a 4-cells + tuple using the following syntax. + + <[phandle of the pin controller node] + 0 + [index of the first pin] + [number of pins]> + +Please refer to gpio.txt in this directory for details of the common GPIO +bindings used by client devices. + +Example: R8A7779 (R-Car H1) GPIO controller nodes + + gpio0: gpio at ffc40000 { + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + reg = <0xffc40000 0x2c>; + interrupt-parent = <&gic>; + interrupts = <0 141 0x4>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 0 32>; + }; + ... + gpio6: gpio at ffc46000 { + compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; + reg = <0xffc46000 0x2c>; + interrupt-parent = <&gic>; + interrupts = <0 147 0x4>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 192 9>; + };
drivers/gpio/gpio-rcar.c +56 -10
112 lines not on this page · raw message
Signature · 1 line
1.8.2.1
cover gpio-rcar: Add DT support
Quoted 8 lines · Simon Horman
From: Laurent Pinchart <[email protected]>
Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available.
Cc devicetree-discuss at lists.ozlabs.orgSigned-off-by Laurent Pinchart <[email protected]>Signed-off-by Simon Horman <[email protected]>
Hi,
I don't see this cc/acked by Linus or Grant/Rob. However, the binding looks very vanilla to me, so I'll merge it anyway.
-Olof
cover gpio-rcar: Add DT support
Hi Olof,
Quoted 6 lines · On Friday 14 June 2013 17:47:51 Olof Johansson wrote:
Quoted 5 lines · Simon Horman
From: Laurent Pinchart <[email protected]>
Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available.
Quoted 8 lines
Quoted 4 lines
Cc: devicetree-discuss at lists.ozlabs.org
Signed-off-by: Laurent Pinchart
<[email protected]>Signed-off-by Simon Horman <[email protected]>Hi,
I don't see this cc/acked by Linus or Grant/Rob.
The patch has been acked by Linus, but it seems the ack got lost somewhere.
https://patchwork.kernel.org/patch/2596901/
Quoted 1 line
However, the binding looks very vanilla to me, so I'll merge it anyway.
Thank you.
Signature · 3 lines
Regards, Laurent Pinchart
cover gpio-rcar: Add DT support
Quoted 14 lines · Laurent Pinchart
Hi Olof,
Quoted 11 lines · On Friday 14 June 2013 17:47:51 Olof Johansson wrote:
Quoted 9 lines · Simon Horman
From: Laurent Pinchart <[email protected]>
Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available.
Cc: devicetree-discuss at lists.ozlabs.org
Signed-off-by: Laurent Pinchart
<[email protected]>Signed-off-by Simon Horman <[email protected]>
Quoted 7 lines
Quoted 3 lines
Hi,
I don't see this cc/acked by Linus or Grant/Rob.
The patch has been acked by Linus, but it seems the ack got lost somewhere.
Sorry for missing that.
Quoted 14 lines
Quoted 1 line
However, the binding looks very vanilla to me, so I'll merge it anyway.
Thank you.
Signature · 8 lines
Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 12 lines · Simon Horman
Hi Olof, Hi Arnd,
This pull request is based on renesas-pinmux-for-v3.11 which you have previously pulled. It provides the GPIO R-Car driver. I have broken this pull-request out from a separate pull request I plan to send with further pinmux updates as it relates specifically to DT. And I wanted to give you the option of merging it separately.
The following changes since commit
5fcf4a3c3a5bc08bf72a50ef1332501a3c1b96bb:ARM: shmobile: marzen: Use
RCAR_GP_PINmacro (2013-06-05 17:18:24 +0900)
Quoted 7 lines
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.gittags/renesas-gpio-rcar-for-v3.11for you to fetch changes up to
159f8a0209aff155af7f6fcdedd4a4484dd19c23:gpio-rcar: Add DT support (2013-06-12 21:48:09 +0900)
Pulled. See comment on patch though.
-Olof