diff mbox

[V5,04/12] ASoC: qcom: Document IPQ806X-MAX89357A bindings

Message ID 1423707015-14527-5-git-send-email-kwestfie@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Kenneth Westfield Feb. 12, 2015, 2:10 a.m. UTC
From: Kenneth Westfield <kwestfie@codeaurora.org>

Add documentation to the sound directory of the
device-tree bindings for the IPQ806x-MAX98357A
soundcard.

Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
Acked-by: Banajit Goswami <bgoswami@codeaurora.org>
---
 .../bindings/sound/qcom,ipq806x-max98357a.txt      | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt b/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c6211ce34ab8eb5c764df516c875694eeab3cb
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt
@@ -0,0 +1,24 @@ 
+* Qualcomm Technologies IPQ806x-MAX98357A SoundCard
+
+This node models a soundcard for boards with the Qualcomm Technologies IPQ806x
+SOC connected to a MAX98357A DAC via I2S.
+
+Required properties:
+
+- compatible	: "qcom,ipq806x-max98357a"
+- qcom,model	: The user-visible name of this sound card.
+- cpu		: Phandle of the CPU DAI
+- codec		: Phandle of the codec DAI
+- codec-dai	: Name of the codec DAI which must be selected from one of the
+		  following entries:
+			* max98357a
+
+Example:
+
+sound {
+	compatible = "qcom,ipq806x-max98357a";
+	model = "ipq806x-max98357a";
+	cpu = <&lpass_cpu>;
+	codec = <&max98357a>;
+	codec-dai = "max98357a";
+};