[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170922201226.23721-2-Ismail.Kose@maximintegrated.com>
Date: Fri, 22 Sep 2017 13:12:09 -0700
From: "Ismail H. Kose" <Ismail.Kose@...imintegrated.com>
To: unlisted-recipients:; (no To-header on input)
Cc: ihkose@...il.com, Ismail.Kose@...imintegrated.com,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Maxime Roussin-Belanger <maxime.roussinbelanger@...il.com>,
Fabrice Gasnier <fabrice.gasnier@...com>,
Mike Looijmans <mike.looijmans@...ic.nl>,
Peter Rosin <peda@...ntia.se>,
Jean-Francois Dagenais <jeff.dagenais@...il.com>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v6 2/2] iio:dac: Add DT binding documentation for ds4424
Signed-off-by: Ismail H. Kose <ihkose@...il.com>
Signed-off-by: Ismail H. Kose <Ismail.Kose@...imintegrated.com>
---
v6:
* Removed reference resistors property
* Fixed regulator property
v3:
* Removed iio-map
v2:
* Removed min/max rfs, ifs-scale, etc values
Documentation/devicetree/bindings/iio/dac/ds4424.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/ds4424.txt
diff --git a/Documentation/devicetree/bindings/iio/dac/ds4424.txt b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
new file mode 100644
index 000000000000..eaebbf8dab40
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ds4424.txt
@@ -0,0 +1,20 @@
+Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver
+
+Datasheet publicly available at:
+https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf
+
+Required properties:
+ - compatible: Should be one of
+ maxim,ds4422
+ maxim,ds4424
+ - reg: Should contain the DAC I2C address
+
+Optional properties:
+ - vcc-supply: Power supply is optional. If not defined, driver will ignore it.
+
+Example:
+ ds4224@10 {
+ compatible = "maxim,ds4424";
+ reg = <0x10>; /* When A0, A1 pins are ground */
+ vcc-supply = <&vcc_3v3>;
+ };
--
2.11.0
Powered by blists - more mailing lists