Skip to content
Snippets Groups Projects
Commit eb5064db authored by Olof Johansson's avatar Olof Johansson Committed by Grant Likely
Browse files

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: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 8ff37c38
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,6 @@ NVIDIA Tegra 2 GPIO controller ...@@ -3,5 +3,6 @@ NVIDIA Tegra 2 GPIO controller
Required properties: Required properties:
- compatible : "nvidia,tegra20-gpio" - compatible : "nvidia,tegra20-gpio"
- #gpio-cells : Should be two. The first cell is the pin number and the - #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. - gpio-controller : Marks the device node as a GPIO controller.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment