From: Joachim Eastwood <manabian@gmail.com>
To: jic23@kernel.org
Cc: Joachim Eastwood <manabian@gmail.com>,
knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
linux-iio@vger.kernel.org, robh+dt@kernel.org,
devicetree@vger.kernel.org
Subject: [PATCH v3 4/4] dt: document NXP LPC1850 DAC driver bindings
Date: Sat, 12 Mar 2016 13:30:17 +0100 [thread overview]
Message-ID: <1457785817-32328-5-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1457785817-32328-1-git-send-email-manabian@gmail.com>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
.../devicetree/bindings/iio/dac/lpc1850-dac.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt
diff --git a/Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt b/Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt
new file mode 100644
index 000000000000..7d6647d4af5e
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt
@@ -0,0 +1,20 @@
+NXP LPC1850 DAC bindings
+
+Required properties:
+- compatible: Should be "nxp,lpc1850-dac"
+- reg: Offset and length of the register set for the ADC device
+- interrupts: The interrupt number for the ADC device
+- clocks: The root clock of the ADC controller
+- vref-supply: The regulator supply ADC reference voltage
+- resets: phandle to reset controller and line specifier
+
+Example:
+dac: dac@400e1000 {
+ compatible = "nxp,lpc1850-dac";
+ reg = <0x400e1000 0x1000>;
+ interrupts = <0>;
+ clocks = <&ccu1 CLK_APB3_DAC>;
+ vref-supply = <®_vdda>;
+ resets = <&rgu 42>;
+ status = "disabled";
+};
--
1.8.0
next prev parent reply other threads:[~2016-03-12 12:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 12:30 [PATCH v3 0/4] Support for analog peripherals on LPC18xx familiy Joachim Eastwood
2016-03-12 12:30 ` [PATCH v3 1/4] iio: adc: add NXP LPC18xx ADC driver Joachim Eastwood
2016-03-12 18:14 ` Jonathan Cameron
2016-03-12 12:30 ` [PATCH v3 2/4] dt: document NXP LPC1850 ADC driver bindings Joachim Eastwood
2016-03-12 18:15 ` Jonathan Cameron
2016-03-12 12:30 ` [PATCH v3 3/4] iio: dac: add NXP LPC18xx DAC driver Joachim Eastwood
2016-03-12 18:15 ` Jonathan Cameron
2016-03-12 12:30 ` Joachim Eastwood [this message]
2016-03-12 18:17 ` [PATCH v3 4/4] dt: document NXP LPC1850 DAC driver bindings Jonathan Cameron
2016-03-12 19:06 ` Joachim Eastwood
2016-03-18 20:12 ` Rob Herring
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=1457785817-32328-5-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).