ASoC: rt5616: add devicetree document for rt5616
authorCaesar Wang <wxt@rock-chips.com>
Tue, 22 Dec 2015 05:45:03 +0000 (13:45 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Dec 2015 23:52:51 +0000 (23:52 +0000)
Add the description for rt5616 codec.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rt5616.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt
new file mode 100644 (file)
index 0000000..efc48c6
--- /dev/null
@@ -0,0 +1,26 @@
+RT5616 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt5616".
+
+- reg : The I2C address of the device.
+
+Pins on the device (for linking into audio routes) for RT5616:
+
+  * IN1P
+  * IN2P
+  * IN2N
+  * LOUTL
+  * LOUTR
+  * HPOL
+  * HPOR
+
+Example:
+
+codec: rt5616@1b {
+       compatible = "realtek,rt5616";
+       reg = <0x1b>;
+};