summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvec
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2011-11-01 21:37:04 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 17:17:14 -0800
commit7990b0d7ec449b10da383bab191eb487185aadce (patch)
tree298fec26991b33ad9fb1a7e4fc7dbf56d0994551 /Documentation/devicetree/bindings/nvec
parentd9f26a6689a3e4ae643fca9c2acda3148b717e63 (diff)
staging: nvec: add device tree support
This adds device tree support to the nvec driver. By using this method it is no longer necessary to specify platform data through a board file. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Acked-by: Stephen Warren <swarren@nvidia.com> Cc: Julian Andres Klode <jak@jak-linux.org> Cc: Grant Likely <grant.likely@secretlab.ca> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/devicetree/bindings/nvec')
-rw-r--r--Documentation/devicetree/bindings/nvec/nvec_nvidia.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt b/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt
new file mode 100644
index 00000000000..5aeee53ff9f
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt
@@ -0,0 +1,9 @@
+NVIDIA compliant embedded controller
+
+Required properties:
+- compatible : should be "nvidia,nvec".
+- reg : the iomem of the i2c slave controller
+- interrupts : the interrupt line of the i2c slave controller
+- clock-frequency : the frequency of the i2c bus
+- gpios : the gpio used for ec request
+- slave-addr: the i2c address of the slave controller