]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iio: mcp3422: Add DT binding documentation
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Sun, 8 Mar 2015 13:37:23 +0000 (14:37 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 9 Mar 2015 11:04:26 +0000 (11:04 +0000)
Adding binding documentation for ADC MCP3422.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/mcp3422.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/adc/mcp3422.txt b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt
new file mode 100644 (file)
index 0000000..333139c
--- /dev/null
@@ -0,0 +1,17 @@
+* Microchip mcp3422/3/4/6/7/8 chip family (ADC)
+
+Required properties:
+ - compatible: Should be
+       "microchip,mcp3422" or
+       "microchip,mcp3423" or
+       "microchip,mcp3424" or
+       "microchip,mcp3426" or
+       "microchip,mcp3427" or
+       "microchip,mcp3428"
+ - reg: I2C address for the device
+
+Example:
+adc@0 {
+       compatible = "microchip,mcp3424";
+       reg = <0x68>;
+};