[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200212015222.8229-7-adam@serbinski.com>
Date: Tue, 11 Feb 2020 20:52:22 -0500
From: Adam Serbinski <adam@...binski.com>
To: Mark Brown <broonie@...nel.org>,
Srini Kandagatla <srinivas.kandagatla@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Adam Serbinski <adam@...binski.com>,
Andy Gross <agross@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Patrick Lai <plai@...eaurora.org>,
Banajit Goswami <bgoswami@...eaurora.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 6/6] ASoC: qdsp6: dt-bindings: Add q6afe pcm dt binding documentation
This patch adds documentation of bindings required for PCM ports on AFE.
Signed-off-by: Adam Serbinski <adam@...binski.com>
CC: Andy Gross <agross@...nel.org>
CC: Mark Rutland <mark.rutland@....com>
CC: Liam Girdwood <lgirdwood@...il.com>
CC: Patrick Lai <plai@...eaurora.org>
CC: Banajit Goswami <bgoswami@...eaurora.org>
CC: Jaroslav Kysela <perex@...ex.cz>
CC: Takashi Iwai <tiwai@...e.com>
CC: alsa-devel@...a-project.org
CC: linux-arm-msm@...r.kernel.org
CC: devicetree@...r.kernel.org
CC: linux-kernel@...r.kernel.org
---
.../devicetree/bindings/sound/qcom,q6afe.txt | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
index d74888b9f1bb..6b1b17d31a2a 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
+++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
@@ -51,6 +51,24 @@ configuration of each dai. Must contain the following properties.
Definition: Must be list of serial data lines used by this dai.
should be one or more of the 0-3 sd lines.
+ - qcom,pcm-quantype
+ Usage: required for pcm interface
+ Value type: <u32>
+ Definition: PCM quantization type
+ 0 - ALAW, no padding
+ 1 - MULAW, no padding
+ 2 - Linear, no padding
+ 3 - ALAW, padding
+ 4 - MULAW, padding
+ 5 - Linear, padding
+
+ - qcom,pcm-slot-mapping
+ Usage: required for pcm interface
+ Value type: <prop-encoded-array>
+ Definition: Slot mapping for audio channels. Array size is the number
+ of slots, minimum 1, maximum 4. The value is 0 for no mapping
+ to the slot, or the channel number from 1 to 32.
+
- qcom,tdm-sync-mode:
Usage: required for tdm interface
Value type: <prop-encoded-array>
@@ -174,5 +192,29 @@ q6afe@4 {
reg = <23>;
qcom,sd-lines = <1>;
};
+
+ pri-pcm-rx@105 {
+ reg = <105>;
+ qcom,pcm-quantype = <2>;
+ qcom,pcm-slot-mapping = <1>;
+ };
+
+ pri-pcm-tx@106 {
+ reg = <106>;
+ qcom,pcm-quantype = <2>;
+ qcom,pcm-slot-mapping = <1>;
+ };
+
+ quat-pcm-rx@111 {
+ reg = <111>;
+ qcom,pcm-quantype = <5>;
+ qcom,pcm-slot-mapping = <0 0 1>;
+ };
+
+ quat-pcm-tx@112 {
+ reg = <112>;
+ qcom,pcm-quantype = <5>;
+ qcom,pcm-slot-mapping = <0 0 1>;
+ };
};
};
--
2.21.1
Powered by blists - more mailing lists