diff mbox series

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

Message ID 20180723155410.9494-5-srinivas.kandagatla@linaro.org
State New
Headers show
Series [01/12] mfd: dt-bindings: Add wcd9335 mfd bindings | expand

Commit Message

Srinivas Kandagatla July 23, 2018, 3:54 p.m. UTC
This patch adds bindings for wcd9335 audio codec which can support both SLIMbus
and I2S/I2C interface.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 .../devicetree/bindings/sound/qcom,wcd9335.txt      | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd9335.txt

-- 
2.16.2

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
diff mbox series

Patch

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>;
+};