[alsa-devel] [PATCH 04/12] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Jul 23 17:54:02 CEST 2018


This patch adds bindings for wcd9335 audio codec which can support both SLIMbus
and I2S/I2C interface.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
---
 .../devicetree/bindings/sound/qcom,wcd9335.txt      | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd9335.txt

diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt
new file mode 100644
index 000000000000..55fcf7504fe1
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt
@@ -0,0 +1,21 @@
+QCOM WCD9335 Audio Codec
+
+Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC,
+It supports both I2S/I2C and SLIMbus audio interfaces.
+
+- compatible:
+	Usage: required
+	Value type: <stringlist>
+	Definition: "qcom,wcd9335-codec"
+
+- #sound-dai-cells
+	Usage: required
+	Value type: <u32>
+	Definition: Must be 1
+
+= EXAMPLE
+
+codec {
+	compatible = "qcom,wcd9335-codec";
+	#sound-dai-cells = <1>;
+};
-- 
2.16.2



More information about the Alsa-devel mailing list