ASoC: ak5558: Add bindings for AK5558 ADC
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 13 Feb 2018 14:29:34 +0000 (16:29 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 12:15:35 +0000 (12:15 +0000)
Document the bindings for AK5558 ADC.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/ak5558.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/ak5558.txt b/Documentation/devicetree/bindings/sound/ak5558.txt
new file mode 100644 (file)
index 0000000..7d67ca6
--- /dev/null
@@ -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>;
+       };
+};