aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-06-15 14:54:14 -0600
committerGrant Likely <grant.likely@secretlab.ca>2011-06-15 14:54:14 -0600
commitdf2212270ce94f12e9caed6ca04c7077672d588e (patch)
tree455784e6d9d5c46c638f43b16e81bc17d90d1efd /Documentation/devicetree
parentgpio/tegra: Move Tegra gpio driver to drivers/gpio (diff)
downloadlinux-dev-df2212270ce94f12e9caed6ca04c7077672d588e.tar.xz
linux-dev-df2212270ce94f12e9caed6ca04c7077672d588e.zip
gpio/tegra: add devicetree support
Add support for decoding gpios from the device tree Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio_nvidia.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
new file mode 100644
index 000000000000..afb3ff3134c8
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
@@ -0,0 +1,7 @@
+NVIDIA Tegra 2 GPIO controller
+
+Required properties:
+- compatible : "nvidia,tegra250-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).
+- gpio-controller : Marks the device node as a GPIO controller.