From: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
To: lars@metafoo.de, Michael.Hennerich@analog.com,
stefan.popa@analog.com, jic23@kernel.org, knaack.h@gmx.de,
pmeerw@pmeerw.net, gregkh@linuxfoundation.org
Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com
Subject: [PATCH 4/4] staging: iio: ad9832: add devicetree documentation
Date: Mon, 1 Apr 2019 11:38:07 -0300 [thread overview]
Message-ID: <20190401143807.xlz32drk367ogcxh@smtp.gmail.com> (raw)
Add a devicetree documentation for the ad9832 direct digital
synthesizer, waveform generator.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
---
.../bindings/iio/frequency/ad9832.txt | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/frequency/ad9832.txt
diff --git a/Documentation/devicetree/bindings/iio/frequency/ad9832.txt b/Documentation/devicetree/bindings/iio/frequency/ad9832.txt
new file mode 100644
index 000000000000..6a35fdff5a48
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/frequency/ad9832.txt
@@ -0,0 +1,26 @@
+Analog Devices AD9832 Direct Digital Synthesizer, Waveform Generator
+
+Data sheet:
+https://www.analog.com/media/en/technical-documentation/data-sheets/AD9832.pdf
+
+Required properties:
+ - compatible : Must be "adi,ad9832"
+ - reg : SPI chip select number for the device
+ - spi-max-frequency = Max SPI frequency to use (< 25000000)
+ - clocks : The clock reference for the DDS output
+ - clock-names : Must be "mclk"
+
+Optional properties:
+ - avdd-supply: Definition of the regulator used as analog supply
+ - dvdd-supply : Definition of the regulator used as digital supply
+
+Example:
+ adi9832-dds@0 {
+ compatible = "adi,ad9832";
+ reg = <0>;
+ spi-max-frequency = <25000000>;
+ clocks = <&ad9832_mclk>;
+ clock-names = "mclk";
+ avdd-suppy = <&avdd>;
+ dvdd-suppy = <&dvdd>;
+ };
--
2.20.1
next reply other threads:[~2019-04-01 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 14:38 Marcelo Schmitt [this message]
2019-04-02 6:33 ` [PATCH 4/4] staging: iio: ad9832: add devicetree documentation Alexandru Ardelean
2019-04-02 16:36 ` Marcelo Schmitt
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=20190401143807.xlz32drk367ogcxh@smtp.gmail.com \
--to=marcelo.schmitt1@gmail.com \
--cc=Michael.Hennerich@analog.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=kernel-usp@googlegroups.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=stefan.popa@analog.com \
/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).