summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-03-19 08:57:53 +0000
committerLee Jones <lee.jones@linaro.org>2014-03-19 08:57:53 +0000
commit0caeaede0bc0fdb5046e216b3897f316feaa5a65 (patch)
treee65dcf7d3fd54f53f1dda3375d117822e2c0571d /Documentation
parent1a55361e21c252e751ed4b980c8e8c11f4ccd43e (diff)
parentb2931b98cebfb30d940f248d2054b5268eae87a4 (diff)
downloadop-kernel-dev-0caeaede0bc0fdb5046e216b3897f316feaa5a65.zip
op-kernel-dev-0caeaede0bc0fdb5046e216b3897f316feaa5a65.tar.gz
Merge branch 'ib-mfd-io-3.15' into HEAD
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt b/Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt
new file mode 100644
index 0000000..6bdd214
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt
@@ -0,0 +1,24 @@
+* TWL4030 Monitoring Analog to Digital Converter (MADC)
+
+The MADC subsystem in the TWL4030 consists of a 10-bit ADC
+combined with a 16-input analog multiplexer.
+
+Required properties:
+ - compatible: Should contain "ti,twl4030-madc".
+ - interrupts: IRQ line for the MADC submodule.
+ - #io-channel-cells: Should be set to <1>.
+
+Optional properties:
+ - ti,system-uses-second-madc-irq: boolean, set if the second madc irq register
+ should be used, which is intended to be used
+ by Co-Processors (e.g. a modem).
+
+Example:
+
+&twl {
+ madc {
+ compatible = "ti,twl4030-madc";
+ interrupts = <3>;
+ #io-channel-cells = <1>;
+ };
+};
OpenPOWER on IntegriCloud