summaryrefslogtreecommitdiffstats
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
parentea5a9607cb2a3c7e5e9fcb1b3d75b8f88eca5766 (diff)
downloadop-kernel-dev-df2212270ce94f12e9caed6ca04c7077672d588e.zip
op-kernel-dev-df2212270ce94f12e9caed6ca04c7077672d588e.tar.gz
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 0000000..afb3ff3
--- /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.
OpenPOWER on IntegriCloud