linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Baluta <daniel.baluta@nxp.com>
To: <broonie@kernel.org>, <alsa-devel@alsa-project.org>,
	<devicetree@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
	<wakasugi.jb@om.asahi-kasei.co.jp>, <shengjiu.wang@nxp.com>,
	<daniel.baluta@nxp.com>, <mihai.serban@gmail.com>,
	<cosmin.samoila@nxp.com>, <linux-imx@nxp.com>,
	<fabio.estevam@nxp.com>, <robh@kernel.org>,
	<andy.shevchenko@gmail.com>
Subject: [PATCH v3 2/2] ASoC: ak5558: Add bindings for AK5558 ADC
Date: Mon, 5 Feb 2018 19:01:55 +0200	[thread overview]
Message-ID: <1517850115-24340-3-git-send-email-daniel.baluta@nxp.com> (raw)
In-Reply-To: <1517850115-24340-1-git-send-email-daniel.baluta@nxp.com>

Document the bindings for AK5558 ADC.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
 Documentation/devicetree/bindings/sound/ak5558.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ak5558.txt

diff --git a/Documentation/devicetree/bindings/sound/ak5558.txt b/Documentation/devicetree/bindings/sound/ak5558.txt
new file mode 100644
index 0000000..7d67ca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak5558.txt
@@ -0,0 +1,22 @@
+AK5558 8 channel differential 32-bit delta-sigma ADC
+
+This device supports I2C mode only.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak5558"
+- reg : The I2C address of the device.
+
+Optional properties:
+
+- reset-gpios: A GPIO specifier for the power down & reset pin.
+
+Example:
+
+&i2c {
+	ak5558: adc@10 {
+		compatible = "asahi-kasei,ak5558";
+		reg = <0x10>;
+		reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+	};
+};
-- 
2.7.4

  parent reply	other threads:[~2018-02-05 20:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 17:01 [PATCH v3 0/2] Add support for AK5558 ADC Daniel Baluta
2018-02-05 17:01 ` [PATCH v3 1/2] ASoC: codecs: Add support for AK5558 ADC driver Daniel Baluta
2018-02-05 20:27   ` Fabio Estevam
2018-02-06 14:12   ` Andy Shevchenko
2018-02-12 12:02   ` Mark Brown
2018-02-13 12:15     ` Daniel Baluta
2018-02-05 17:01 ` Daniel Baluta [this message]
2018-02-05 20:26   ` [PATCH v3 2/2] ASoC: ak5558: Add bindings for AK5558 ADC Fabio Estevam
2018-02-06  2:16     ` Fabio Estevam
2018-02-09  2:46   ` Rob Herring
2018-02-16 12:16   ` Applied "ASoC: ak5558: Add bindings for AK5558 ADC" to the asoc tree Mark Brown

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=1517850115-24340-3-git-send-email-daniel.baluta@nxp.com \
    --to=daniel.baluta@nxp.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=broonie@kernel.org \
    --cc=cosmin.samoila@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mihai.serban@gmail.com \
    --cc=robh@kernel.org \
    --cc=shengjiu.wang@nxp.com \
    --cc=wakasugi.jb@om.asahi-kasei.co.jp \
    /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).