diff mbox

[1/2] ASoC: cx2072x: Add DT bingings documentation for CX2072X CODEC

Message ID 6cb94db3a39df9904e1f96438f0484456166024e.1481903061.git.simon.ho@conexant.com (mailing list archive)
State New, archived
Headers show

Commit Message

simon.ho.cnxt@gmail.com Dec. 17, 2016, 7:52 a.m. UTC
From: Simon Ho <simon.ho@conexant.com>

Initial version of CX2072X device tree bindings document.

Signed-off-by: Simon Ho <simon.ho@conexant.com>
---
 .../devicetree/bindings/sound/cx2072x.txt          | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cx2072x.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/cx2072x.txt b/Documentation/devicetree/bindings/sound/cx2072x.txt
new file mode 100644
index 0000000..05ddf7c
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cx2072x.txt
@@ -0,0 +1,36 @@ 
+Conexant CX20721/CX20723/CX7601 audio CODEC
+
+The devices support I2C only.
+
+Required properties:
+
+  - compatible : One of "cnxt,cx20721", "cnxt,cx20723", "cnxt,cx7601".
+
+  - reg : the I2C address of the device for I2C, it should be <0x33>
+
+Optional properties:
+
+  - clocks : phandle and clock specifier for codec MCLK.
+  - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
+
+CODEC output pins:
+  "PORTA"	- Headphone
+  "PORTG"	- Class-D output
+  "PORTE"	- Line out
+
+CODEC output pins for Conexant DSP chip:
+  "AEC REF"	- AEC reference signal
+
+CODEC input pins:
+  "PORTB"	- Analog mic
+  "PORTC"	- Digital mic
+  "PORTD"	- Headset mic
+
+Example:
+
+codec: cx20721@33 {
+	compatible = "cnxt,cx20721";
+	reg = <0x33>;
+	clocks = <&sco>;
+	clock-names = "mclk";
+};