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
Subject: [PATCH 2/4] dt: document NXP LPC1850 ADC driver bindings
Date: Mon, 29 Feb 2016 20:05:39 +0100 [thread overview]
Message-ID: <1456772741-9402-3-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1456772741-9402-1-git-send-email-manabian@gmail.com>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
.../devicetree/bindings/iio/adc/lpc1850-adc.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt
diff --git a/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt b/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt
new file mode 100644
index 000000000000..0bcae5140bc5
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt
@@ -0,0 +1,21 @@
+NXP LPC1850 ADC bindings
+
+Required properties:
+- compatible: Should be "nxp,lpc1850-adc"
+- 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:
+
+adc0: adc@400e3000 {
+ compatible = "nxp,lpc1850-adc";
+ reg = <0x400e3000 0x1000>;
+ interrupts = <17>;
+ clocks = <&ccu1 CLK_APB3_ADC0>;
+ vref-supply = <®_vdda>;
+ resets = <&rgu 40>;
+ status = "disabled";
+};
--
1.8.0
next prev parent reply other threads:[~2016-02-29 19:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 19:05 [PATCH 0/4] Support for analog peripherals on LPC18xx familiy Joachim Eastwood
2016-02-29 19:05 ` [PATCH 1/4] iio: adc: add NXP LPC18xx ADC driver Joachim Eastwood
2016-02-29 19:42 ` Peter Meerwald-Stadler
2016-02-29 20:45 ` Joachim Eastwood
2016-02-29 19:05 ` Joachim Eastwood [this message]
2016-02-29 19:05 ` [PATCH 3/4] iio: dac: add NXP LPC18xx DAC driver Joachim Eastwood
2016-02-29 19:05 ` [PATCH 4/4] dt: document NXP LPC1850 DAC driver bindings Joachim Eastwood
2016-03-01 20:33 ` [PATCH 0/4] Support for analog peripherals on LPC18xx familiy Rob Herring
2016-03-01 20:43 ` Joachim Eastwood
2016-03-05 18:24 ` 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=1456772741-9402-3-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--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).