dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Olof Johansson 2011-07-14 22:17:13 -07:00 committed by Grant Likely
parent 8ff37c38a2
commit eb5064db40
1 changed files with 2 additions and 1 deletions

View File

@ -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.