Linux IIO development
 help / color / mirror / Atom feed
From: "Ismail H. Kose" <Ismail.Kose@maximintegrated.com>
Cc: ihkose@gmail.com, Ismail.Kose@maximintegrated.com,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Maxime Roussin-Belanger <maxime.roussinbelanger@gmail.com>,
	Fabrice Gasnier <fabrice.gasnier@st.com>,
	Mike Looijmans <mike.looijmans@topic.nl>,
	Peter Rosin <peda@axentia.se>,
	Jean-Francois Dagenais <jeff.dagenais@gmail.com>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v6 2/2] iio:dac: Add DT binding documentation for ds4424
Date: Fri, 22 Sep 2017 13:12:09 -0700	[thread overview]
Message-ID: <20170922201226.23721-2-Ismail.Kose@maximintegrated.com> (raw)
In-Reply-To: <20170922201226.23721-1-Ismail.Kose@maximintegrated.com>

Signed-off-by: Ismail H. Kose <ihkose@gmail.com>
Signed-off-by: Ismail H. Kose <Ismail.Kose@maximintegrated.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

  reply	other threads:[~2017-09-22 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-22 20:12 [PATCH v6 1/2] iio: dac: ds4422/ds4424 dac driver Ismail H. Kose
2017-09-22 20:12 ` Ismail H. Kose [this message]
2017-09-30 17:18   ` [PATCH v6 2/2] iio:dac: Add DT binding documentation for ds4424 Jonathan Cameron
2017-10-04 20:25     ` Rob Herring
2017-09-24 14:45 ` [PATCH v6 1/2] iio: dac: ds4422/ds4424 dac driver Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170922201226.23721-2-Ismail.Kose@maximintegrated.com \
    --to=ismail.kose@maximintegrated.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrice.gasnier@st.com \
    --cc=ihkose@gmail.com \
    --cc=jeff.dagenais@gmail.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.roussinbelanger@gmail.com \
    --cc=mike.looijmans@topic.nl \
    --cc=peda@axentia.se \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox