summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/dac/ltc2632.txt
diff options
context:
space:
mode:
authorMaxime Roussin-Belanger <maxime.roussinbelanger@gmail.com>2017-03-17 14:04:02 -0400
committerJonathan Cameron <jic23@kernel.org>2017-03-21 18:43:56 +0000
commit02b829f9e11fd9e6eeebc1e85e4d5ae641706c70 (patch)
treea5eacfc7bb5a8645f20d956ffc8a0bb8331104ed /Documentation/devicetree/bindings/iio/dac/ltc2632.txt
parentdba968c4fea0f9368e709966666d6e35dfe05e62 (diff)
iio: dac: Add support for ltc2632 DACs
Add support for Linear Technology LTC2632 (SPI) family of· dual 12- 10-, and 8-bits output DACs. Signed-off-by: Maxime Roussin-Belanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/dac/ltc2632.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/dac/ltc2632.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/dac/ltc2632.txt b/Documentation/devicetree/bindings/iio/dac/ltc2632.txt
new file mode 100644
index 000000000000..eb911e5a8ab4
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ltc2632.txt
@@ -0,0 +1,23 @@
+Linear Technology LTC2632 DAC device driver
+
+Required properties:
+ - compatible: Has to contain one of the following:
+ lltc,ltc2632-l12
+ lltc,ltc2632-l10
+ lltc,ltc2632-l8
+ lltc,ltc2632-h12
+ lltc,ltc2632-h10
+ lltc,ltc2632-h8
+
+Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
+apply. In particular, "reg" and "spi-max-frequency" properties must be given.
+
+Example:
+
+ spi_master {
+ dac: ltc2632@0 {
+ compatible = "lltc,ltc2632-l12";
+ reg = <0>; /* CS0 */
+ spi-max-frequency = <1000000>;
+ };
+ };