diff options
author | Olof Johansson <olof@lixom.net> | 2011-07-15 01:17:13 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-15 13:51:27 -0400 |
commit | eb5064db408eaffa332f93ddcc19c0b653849093 (patch) | |
tree | 08543e8055ba5e9a13c9c961f0c157df2f380584 /Documentation/devicetree | |
parent | 8ff37c38a26dbdba16f07d48c13bf5f212a98c89 (diff) |
gpio/tegra: dt: add binding for gpio polarity
Allocate one bit in the available extra cell to indicate if the gpio
should be considered logically inverted.
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/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 64aac39e6edc..eb4b530d64e1 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 | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra20-gpio" | 4 | - compatible : "nvidia,tegra20-gpio" |
5 | - #gpio-cells : Should be two. The first cell is the pin number and the | 5 | - #gpio-cells : Should be two. The first cell is the pin number and the |
6 | second cell is used to specify optional parameters (currently unused). | 6 | second cell is used to specify optional parameters: |
7 | - bit 0 specifies polarity (0 for normal, 1 for inverted) | ||
7 | - gpio-controller : Marks the device node as a GPIO controller. | 8 | - gpio-controller : Marks the device node as a GPIO controller. |