[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1518532174-11350-3-git-send-email-daniel.baluta@nxp.com>
Date: Tue, 13 Feb 2018 16:29:34 +0200
From: Daniel Baluta <daniel.baluta@....com>
To: <broonie@...nel.org>, <alsa-devel@...a-project.org>,
<devicetree@...r.kernel.org>, <andy.shevchenko@...il.com>,
<fabio.estevam@....com>, <robh@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <wakasugi.jb@...asahi-kasei.co.jp>,
<shengjiu.wang@....com>, <daniel.baluta@....com>,
<mihai.serban@...il.com>, <cosmin.samoila@....com>,
<linux-imx@....com>, <daniel.baluta@...il.com>
Subject: [PATCH v4 2/2] ASoC: ak5558: Add bindings for AK5558 ADC
Document the bindings for AK5558 ADC.
Reviewed-by: Rob Herring <robh@...nel.org>
Signed-off-by: Daniel Baluta <daniel.baluta@....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
Powered by blists - more mailing lists