iio: da9150: Add DT binding documentation for GPADC
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Wed, 18 Feb 2015 14:08:30 +0000 (14:08 +0000)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 20:05:26 +0000 (21:05 +0100)
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt b/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
new file mode 100644 (file)
index 0000000..c07228d
--- /dev/null
@@ -0,0 +1,16 @@
+Dialog Semiconductor DA9150 IIO GPADC bindings
+
+Required properties:
+- compatible: "dlg,da9150-gpadc" for DA9150 IIO GPADC
+- #io-channel-cells: Should be set to <1>
+  (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
+
+For further information on GPADC channels, see device datasheet.
+
+
+Example:
+
+       gpadc: da9150-gpadc {
+               compatible = "dlg,da9150-gpadc";
+               #io-channel-cells = <1>;
+       };