ASoC: dt-bindings: add bindings for AK4118 transceiver
authorClément Péron <peron.clem@gmail.com>
Wed, 14 Nov 2018 12:16:42 +0000 (13:16 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 15 Nov 2018 19:27:31 +0000 (11:27 -0800)
Document the bindings for AK4118 S/PDIF transceiver

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/ak4118.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/ak4118.txt b/Documentation/devicetree/bindings/sound/ak4118.txt
new file mode 100644 (file)
index 0000000..6e11a2f
--- /dev/null
@@ -0,0 +1,22 @@
+AK4118 S/PDIF transceiver
+
+This device supports I2C mode.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak4118"
+- reg : The I2C address of the device for I2C
+- reset-gpios: A GPIO specifier for the reset pin
+- irq-gpios: A GPIO specifier for the IRQ pin
+
+Example:
+
+&i2c {
+       ak4118: ak4118@13 {
+               #sound-dai-cells = <0>;
+               compatible = "asahi-kasei,ak4118";
+               reg = <0x13>;
+               reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>
+               irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+       };
+};