Thread (1 message) 1 message, 1 author, 2017-01-21

Re: [PATCHv5 2/2] dt-bindings: iio: document MAX11100 ADC

From: Jonathan Cameron <hidden>
Date: 2017-01-21 13:33:11
Also in: linux-iio, linux-renesas-soc

On 21/01/17 13:22, Jonathan Cameron wrote:
On 18/01/17 16:30, Jacopo Mondi wrote:
quoted
Add device tree bindings documentation for Maxim MAX11100 single-channel
ADC

Signed-off-by: Jacopo Mondi <redacted>
Reviewed-by: Geert Uytterhoeven <redacted>
Acked-by: Wolfram Sang <wsa+renesas-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
Simple enough I'm happy to take it without bothering Rob or Mark. 
However, any device tree bindings at all should be cc'd to them and to the devicetree
list.

Done in case anyone wants to comment.
Also applied to the togreg branch of iio.git which is pushed out as testing for
the autobuilders to play with everything in it.

Thanks,

Jonathan
quoted
---
 .../devicetree/bindings/iio/adc/max11100.txt          | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/max11100.txt
diff --git a/Documentation/devicetree/bindings/iio/adc/max11100.txt b/Documentation/devicetree/bindings/iio/adc/max11100.txt
new file mode 100644
index 0000000..ad0bc31
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/max11100.txt
@@ -0,0 +1,19 @@
+* Maxim max11100 Analog to Digital Converter (ADC)
+
+Required properties:
+  - compatible: Should be "maxim,max11100"
+  - reg: the adc unit address
+  - vref-supply: phandle to the regulator that provides reference voltage
+
+Optional properties:
+  - spi-max-frequency: SPI maximum frequency
+
+Example:
+
+max11100: adc@0 {
+        compatible = "maxim,max11100";
+        reg = <0>;
+        vref-supply = <&adc0_vref>;
+        spi-max-frequency = <240000>;
+};
+
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help