devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] iio: adc: ltc2496: provide device tree binding document
@ 2019-11-11 21:40 Uwe Kleine-König
  2019-11-11 21:40 ` [PATCH 2/3] iio: adc: ltc2497: split channel definition in a separate module Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2019-11-11 21:40 UTC (permalink / raw)
  To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Rob Herring, Mark Rutland,
	Michael Hennerich, Stefan Popa
  Cc: kernel, linux-iio, devicetree

The ADC only requires the standard stuff for spi devices and a reference
voltage.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 .../devicetree/bindings/iio/adc/ltc2496.txt       | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ltc2496.txt

diff --git a/Documentation/devicetree/bindings/iio/adc/ltc2496.txt b/Documentation/devicetree/bindings/iio/adc/ltc2496.txt
new file mode 100644
index 000000000000..d44ab45b26ea
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/ltc2496.txt
@@ -0,0 +1,15 @@
+* Linear Technology / Analog Devices LTC2496 ADC
+
+Required properties:
+ - compatible: Must be "lltc,ltc2496"
+ - vref-supply: The regulator supply for ADC reference voltage
+ - further properties required for spi device nodes according to
+   Documentation/devicetree/bindings/spi/spi-controller.yaml
+
+Example:
+	ltc2497: adc@76 {
+		compatible = "lltc,ltc2496";
+		reg = <0>;
+		vref-supply = <&ltc249x_reg>;
+		spi-max-frequency = <2000000>;
+	};
-- 
2.24.0.rc1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-16 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 21:40 [PATCH 1/3] iio: adc: ltc2496: provide device tree binding document Uwe Kleine-König
2019-11-11 21:40 ` [PATCH 2/3] iio: adc: ltc2497: split channel definition in a separate module Uwe Kleine-König
2019-11-12  7:14   ` Ardelean, Alexandru
2019-11-11 21:40 ` [PATCH 3/3] iio: adc: new driver to support Linear technology's ltc2496 Uwe Kleine-König
2019-11-12  7:54   ` Ardelean, Alexandru
2019-11-12  6:57 ` [PATCH 1/3] iio: adc: ltc2496: provide device tree binding document Ardelean, Alexandru
2019-11-12  7:04   ` Uwe Kleine-König
2019-11-12 11:56     ` Ardelean, Alexandru
2019-11-16 15:25       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).