ASoC: dt-bindings: qcom: Document "aux-devs" property
authorStephan Gerhold <stephan@gerhold.net>
Wed, 26 Aug 2020 09:51:40 +0000 (11:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Sep 2020 14:37:49 +0000 (15:37 +0100)
In some cases we need to probe additional audio components that do
not appear as part of the DAI links specified in the device tree.
Examples for this are auxiliary devices such as analog amplifiers
or codecs.

To make them work they need to be added as part of "aux-devs"
and connected to some other audio component using the audio routes
configurable using "(qcom,)audio-routing".

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200826095141.94017-2-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,apq8016-sbc.txt
Documentation/devicetree/bindings/sound/qcom,apq8096.txt
Documentation/devicetree/bindings/sound/qcom,sdm845.txt

index 84b28db..2399826 100644 (file)
@@ -34,6 +34,13 @@ Required properties:
                          * DMIC
                          * Ext Spk
 
+Optional properties:
+
+- aux-devs             : A list of phandles for auxiliary devices (e.g. analog
+                         amplifiers) that do not appear directly within the DAI
+                         links. Should be connected to another audio component
+                         using "qcom,audio-routing".
+
 Dai-link subnode properties and subnodes:
 
 Required dai-link subnodes:
index c814e86..e1b9fa8 100644 (file)
@@ -55,6 +55,14 @@ This binding describes the APQ8096 sound card, which uses qdsp for audio.
        Value type: <stringlist>
        Definition: The user-visible name of this sound card.
 
+- aux-devs
+       Usage: optional
+       Value type: <array of phandles>
+       Definition: A list of phandles for auxiliary devices (e.g. analog
+                   amplifiers) that do not appear directly within the DAI
+                   links. Should be connected to another audio component
+                   using "audio-routing".
+
 = dailinks
 Each subnode of sndcard represents either a dailink, and subnodes of each
 dailinks would be cpu/codec/platform dais.
index ca8c89e..de4c604 100644 (file)
@@ -24,6 +24,14 @@ This binding describes the SDM845 sound card, which uses qdsp for audio.
        Value type: <stringlist>
        Definition: The user-visible name of this sound card.
 
+- aux-devs
+       Usage: optional
+       Value type: <array of phandles>
+       Definition: A list of phandles for auxiliary devices (e.g. analog
+                   amplifiers) that do not appear directly within the DAI
+                   links. Should be connected to another audio component
+                   using "audio-routing".
+
 = dailinks
 Each subnode of sndcard represents either a dailink, and subnodes of each
 dailinks would be cpu/codec/platform dais.