* [PATCH] gpio/tegra: dt: add binding for gpio polarity
@ 2011-07-15 5:17 Olof Johansson
[not found] ` <20110715051713.GA28865-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Olof Johansson @ 2011-07-15 5:17 UTC (permalink / raw)
To: Grant Likely
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
swarren-DDmLM1+adcrQT0dZR+AlfA
Allocate one bit in the available extra cell to indicate if the gpio
should be considered logically inverted.
Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
---
.../devicetree/bindings/gpio/gpio_nvidia.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
index 64aac39..adcf55c 100644
--- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
@@ -3,5 +3,6 @@ NVIDIA Tegra 2 GPIO controller
Required properties:
- compatible : "nvidia,tegra20-gpio"
- #gpio-cells : Should be two. The first cell is the pin number and the
- second cell is used to specify optional parameters (currently unused).
+ second cell is used to specify optional parameters:
+ - bit 0 specifies polarity (0 for normal, 1 for inverted)
- gpio-controller : Marks the device node as a GPIO controller.
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <20110715051713.GA28865-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>]
* RE: [PATCH] gpio/tegra: dt: add binding for gpio polarity [not found] ` <20110715051713.GA28865-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org> @ 2011-07-15 16:29 ` Stephen Warren [not found] ` <74CDBE0F657A3D45AFBB94109FB122FF049E834C19-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Stephen Warren @ 2011-07-15 16:29 UTC (permalink / raw) To: Olof Johansson, Grant Likely Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Olof Johansson wrote at Thursday, July 14, 2011 11:17 PM: > Allocate one bit in the available extra cell to indicate if the gpio > should be considered logically inverted. > > Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > --- > .../devicetree/bindings/gpio/gpio_nvidia.txt | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > index 64aac39..adcf55c 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > @@ -3,5 +3,6 @@ NVIDIA Tegra 2 GPIO controller > Required properties: > - compatible : "nvidia,tegra20-gpio" > - #gpio-cells : Should be two. The first cell is the pin number and the > - second cell is used to specify optional parameters (currently unused). > + second cell is used to specify optional parameters: > + - bit 0 specifies polarity (0 for normal, 1 for inverted) > - gpio-controller : Marks the device node as a GPIO controller. > -- > 1.7.4.1 -- nvpublic ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <74CDBE0F657A3D45AFBB94109FB122FF049E834C19-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>]
* Re: [PATCH] gpio/tegra: dt: add binding for gpio polarity [not found] ` <74CDBE0F657A3D45AFBB94109FB122FF049E834C19-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org> @ 2011-07-15 18:00 ` Grant Likely 0 siblings, 0 replies; 3+ messages in thread From: Grant Likely @ 2011-07-15 18:00 UTC (permalink / raw) To: Stephen Warren Cc: Olof Johansson, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org On Fri, Jul 15, 2011 at 09:29:08AM -0700, Stephen Warren wrote: > Olof Johansson wrote at Thursday, July 14, 2011 11:17 PM: > > Allocate one bit in the available extra cell to indicate if the gpio > > should be considered logically inverted. > > > > Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org> > > Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Applied, thanks. g. > > --- > > .../devicetree/bindings/gpio/gpio_nvidia.txt | 3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > > b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > > index 64aac39..adcf55c 100644 > > --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > > +++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt > > @@ -3,5 +3,6 @@ NVIDIA Tegra 2 GPIO controller > > Required properties: > > - compatible : "nvidia,tegra20-gpio" > > - #gpio-cells : Should be two. The first cell is the pin number and the > > - second cell is used to specify optional parameters (currently unused). > > + second cell is used to specify optional parameters: > > + - bit 0 specifies polarity (0 for normal, 1 for inverted) > > - gpio-controller : Marks the device node as a GPIO controller. > > -- > > 1.7.4.1 > > -- > nvpublic > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-15 18:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 5:17 [PATCH] gpio/tegra: dt: add binding for gpio polarity Olof Johansson
[not found] ` <20110715051713.GA28865-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-07-15 16:29 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF049E834C19-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-07-15 18:00 ` Grant Likely
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).