[PATCH v2 2/2] ASoC: ak5558: Add bindings for AK5558 ADC

From: Daniel Baluta
Date: Fri Feb 02 2018 - 15:34:07 EST


Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
---
Documentation/devicetree/bindings/sound/ak5558.txt | 23 ++++++++++++++++++++++
1 file changed, 23 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..61c85568
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak5558.txt
@@ -0,0 +1,23 @@
+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 for I2C.
+
+Optional properties:
+
+- reset-gpios: A GPIO specifier for the GPIO controlling
+ the power down & reset pin.
+
+Example:
+
+&i2c {
+ ak5558: ak5558@10 {
+ compatible = "asahi-kasei,ak5558";
+ reg = <0x10>;
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+ };
+};
--
2.7.4