Browse Source

iio: da9150: Add DT binding documentation for GPADC

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>
Adam Thomson 10 years ago
parent
commit
adcf30bf83
1 changed files with 16 additions and 0 deletions
  1. 16 0
      Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt

+ 16 - 0
Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt

@@ -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>;
+	};