[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190128094931.4430-2-ricardo@ribalda.com>
Date: Mon, 28 Jan 2019 10:49:31 +0100
From: Ricardo Ribalda Delgado <ricardo@...alda.com>
To: Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Ricardo Ribalda Delgado <ricardo@...alda.com>,
devicetree@...r.kernel.org
Subject: [PATCH v3 2/2] iio:dac:dac7612: device tree bindings
Bindings for dac7612.
Cc: devicetree@...r.kernel.org
Signed-off-by: Ricardo Ribalda Delgado <ricardo@...alda.com>
---
.../bindings/iio/dac/ti,dac7612.txt | 29 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt
diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt
new file mode 100644
index 000000000000..e1b8158fab35
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt
@@ -0,0 +1,29 @@
+* 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,dac7612b"
+- reg: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Optional Properties:
+- loaddacs-gpios: GPIO descriptor for the LOADDACS pin.
+- spi-*: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Example:
+
+ dac7612@1 {
+ compatible = "ti,dac7612";
+ reg = <0x1>;
+ loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
+ };
+
diff --git a/MAINTAINERS b/MAINTAINERS
index 30ba5435906b..e28e5afaae16 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14882,6 +14882,7 @@ M: Ricardo Ribalda <ricardo@...alda.com>
L: linux-iio@...r.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@...all.nl>
--
2.20.1
Powered by blists - more mailing lists