linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fugang Duan <B38611@freescale.com>
To: <jic23@kernel.org>
Cc: <shawn.guo@linaro.org>, <sachin.kamat@linaro.org>,
	<pmeerw@pmeerw.net>, <lars@metafoo.de>, <mark.rutland@arm.com>,
	<linux-iio@vger.kernel.org>
Subject: [PATCH v5 3/3] Documentation: add the binding file for Freescale vf610 ADC driver
Date: Sun, 26 Jan 2014 13:39:33 +0800	[thread overview]
Message-ID: <1390714773-23066-4-git-send-email-B38611@freescale.com> (raw)
In-Reply-To: <1390714773-23066-1-git-send-email-B38611@freescale.com>

The patch adds the binding file for Freescale vf610 ADC driver.

CC: Shawn Guo <shawn.guo@linaro.org>
CC: Jonathan Cameron <jic23@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: Otavio Salvador <otavio@ossystems.com.br>
CC: Peter Meerwald <pmeerw@pmeerw.net>
CC: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Fugang Duan <B38611@freescale.com>
---
 .../devicetree/bindings/iio/adc/vf610-adc.txt      |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt b/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt
new file mode 100644
index 0000000..dcebff1
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt
@@ -0,0 +1,22 @@
+Freescale vf610 Analog to Digital Converter bindings
+
+The devicetree bindings are for the new ADC driver written for
+vf610/i.MX6slx and upward SoCs from Freescale.
+
+Required properties:
+- compatible: Should contain "fsl,vf610-adc"
+- reg: Offset and length of the register set for the device
+- interrupts: Should contain the interrupt for the device
+- clocks: The clock is needed by the ADC controller, ADC clock source is ipg clock.
+- clock-names: Must contain "adc", matching entry in the clocks property.
+- vref-supply: The regulator supply ADC refrence voltage.
+
+Example:
+adc0: adc@4003b000 {
+	compatible = "fsl,vf610-adc";
+	reg = <0x4003b000 0x1000>;
+	interrupts = <0 53 0x04>;
+	clocks = <&clks VF610_CLK_ADC0>;
+	clock-names = "adc";
+	vref-supply = <&reg_vcc_3v3_mcu>;
+};
-- 
1.7.2.rc3



  parent reply	other threads:[~2014-01-26  6:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26  5:39 [PATCH v5 0/3] *** iio:adc:imx: Add Freescale vf610 ADC driver support *** Fugang Duan
2014-01-26  5:39 ` [PATCH v5 1/3] ARM: dts: vf610-twr: Add ADC support Fugang Duan
2014-02-15 10:30   ` Jonathan Cameron
2014-02-16  7:48   ` Shawn Guo
2014-02-19  5:07     ` Shawn Guo
2014-02-21  5:17       ` fugang.duan
2014-02-21  5:38         ` Shawn Guo
2014-02-21  6:06           ` fugang.duan
2014-02-16  7:50   ` Shawn Guo
2014-02-17  1:27     ` fugang.duan
2014-01-26  5:39 ` [PATCH v5 2/3] iio:adc:imx: add Freescale Vybrid vf610 adc driver Fugang Duan
2014-02-15 10:18   ` Jonathan Cameron
2014-02-15 10:28     ` Jonathan Cameron
2014-02-17  1:32       ` fugang.duan
2014-01-26  5:39 ` Fugang Duan [this message]
2014-02-15 10:19   ` [PATCH v5 3/3] Documentation: add the binding file for Freescale vf610 ADC 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=1390714773-23066-4-git-send-email-B38611@freescale.com \
    --to=b38611@freescale.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=sachin.kamat@linaro.org \
    --cc=shawn.guo@linaro.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).