summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/dac
diff options
context:
space:
mode:
authorMaxime Roussin-Belanger <maxime.roussinbelanger@gmail.com>2017-03-17 19:04:02 +0100
committerJonathan Cameron <jic23@kernel.org>2017-03-21 19:43:56 +0100
commit02b829f9e11fd9e6eeebc1e85e4d5ae641706c70 (patch)
treea5eacfc7bb5a8645f20d956ffc8a0bb8331104ed /Documentation/devicetree/bindings/iio/dac
parentstaging: iio: ad7280: Replace mlock with driver private lock (diff)
downloadlinux-02b829f9e11fd9e6eeebc1e85e4d5ae641706c70.tar.xz
linux-02b829f9e11fd9e6eeebc1e85e4d5ae641706c70.zip
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')
-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>;
+ };
+ };