]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
iio:dac:dac7612: device tree bindings
authorRicardo Ribalda Delgado <ricardo@ribalda.com>
Mon, 4 Feb 2019 12:48:33 +0000 (13:48 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Feb 2019 18:46:02 +0000 (18:46 +0000)
Bindings for dac7612.

Cc: devicetree@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt
new file mode 100644 (file)
index 0000000..639c94e
--- /dev/null
@@ -0,0 +1,28 @@
+* Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter
+
+The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with guaranteed
+12-bit monotonicity performance over the industrial temperature range.
+Is is programmable through an SPI interface.
+
+The internal DACs are loaded when the LOADDACS pin is pulled down.
+
+http://www.ti.com/lit/ds/sbas106/sbas106.pdf
+
+Required Properties:
+- compatible: Should be one of:
+               "ti,dac7612"
+               "ti,dac7612u"
+               "ti,dac7612ub"
+- reg: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Optional Properties:
+- ti,loaddacs-gpios: GPIO descriptor for the LOADDACS pin.
+- spi-*: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Example:
+
+       dac@1 {
+               compatible = "ti,dac7612";
+               reg = <0x1>;
+               ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
+       };
index 005a79379975d6c0b7c1de600ff5a60a9ad0ebce..e4091acb416d1cf84b703fb59dec2c30134acaf4 100644 (file)
@@ -15087,6 +15087,7 @@ M:      Ricardo Ribalda <ricardo@ribalda.com>
 L:     linux-iio@vger.kernel.org
 S:     Supported
 F:     drivers/iio/dac/ti-dac7612.c
+F:     Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt
 
 THANKO'S RAREMONO AM/FM/SW RADIO RECEIVER USB DRIVER
 M:     Hans Verkuil <hverkuil@xs4all.nl>