ASoC: add rt5663 codec driver
[cascardo/linux.git] / Documentation / devicetree / bindings / sound / rt5663.txt
diff --git a/Documentation/devicetree/bindings/sound/rt5663.txt b/Documentation/devicetree/bindings/sound/rt5663.txt
new file mode 100644 (file)
index 0000000..7d3c974
--- /dev/null
@@ -0,0 +1,30 @@
+RT5663/RT5668 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : One of "realtek,rt5663" or "realtek,rt5668".
+
+- reg : The I2C address of the device.
+
+- interrupts : The CODEC's interrupt output.
+
+Optional properties:
+
+Pins on the device (for linking into audio routes) for RT5663/RT5668:
+
+  * IN1P
+  * IN1N
+  * IN2P
+  * IN2N
+  * HPOL
+  * HPOR
+
+Example:
+
+codec: rt5663@12 {
+       compatible = "realtek,rt5663";
+       reg = <0x12>;
+       interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
+};