* [PATCH] gpio: gpio-dwapb size-cells should be two
@ 2014-03-14 16:08 Alan Tull
2014-03-14 16:27 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Alan Tull @ 2014-03-14 16:08 UTC (permalink / raw)
To: Linus Walleij
Cc: Rob Herring, Ian Campbell, Grant Likely, Mark Rutland, Pawel Moll,
Josh Cartwright, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-gpio-u79uwXL29TY76Z2rM5mHXA,
linux-doc-u79uwXL29TY76Z2rM5mHXA, Jamie Iles, Steffen Trumtrar,
Sebastian Hesselbarth, Heiko Stuebner, Kumar Gala, Rob Landley,
Alan Tull, delicious quinoa, Dinh Nguyen, Yves Vandervennet
From: Alan Tull <atull-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org>
Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag.
Signed-off-by: Alan Tull <atull-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org>
---
.../devicetree/bindings/gpio/snps-dwapb-gpio.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
index 0934950..91cc90c 100644
--- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
@@ -12,7 +12,10 @@ represented as child nodes with the following properties:
Required properties:
- compatible : "snps,dw-apb-gpio-port"
- gpio-controller : Marks the device node as a gpio controller.
-- #gpio-cells : Should be 1. It is the pin number.
+- #gpio-cells : Should be two. The first cell is the pin number and
+ the second cell is used to specify the gpio polarity:
+ 0 = active high
+ 1 = active low
- reg : The integer port index of the port, a single cell.
Optional properties:
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: gpio-dwapb size-cells should be two
2014-03-14 16:08 [PATCH] gpio: gpio-dwapb size-cells should be two Alan Tull
@ 2014-03-14 16:27 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-03-14 16:27 UTC (permalink / raw)
To: Alan Tull
Cc: Linus Walleij, Rob Herring, Ian Campbell, Grant Likely,
Mark Rutland, Pawel Moll, Josh Cartwright,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, Jamie Iles,
Steffen Trumtrar, Sebastian Hesselbarth, Heiko Stuebner,
Kumar Gala, Rob Landley, Alan Tull, Dinh Nguyen,
Yves Vandervennet
On Fri, Mar 14, 2014 at 5:08 PM, Alan Tull <delicious.quinoa@gmail.com> wrote:
> From: Alan Tull <atull@altera.com>
>
> Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag.
>
> Signed-off-by: Alan Tull <atull@altera.com>
OK patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-14 16:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 16:08 [PATCH] gpio: gpio-dwapb size-cells should be two Alan Tull
2014-03-14 16:27 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox