1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/qcom,sm8250.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies Inc. ASoC sound card drivers
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 This bindings describes Qualcomm SoC based sound cards
14 which uses LPASS internal codec for audio.
21 - lenovo,yoga-c630-sndcard
23 - const: qcom,sdm845-sndcard
29 - const: qcom,sm8450-sndcard
31 - qcom,apq8096-sndcard
32 - qcom,qcm6490-idp-sndcard
33 - qcom,qcs6490-rb3gen2-sndcard
34 - qcom,qrb4210-rb2-sndcard
35 - qcom,qrb5165-rb5-sndcard
36 - qcom,sc7180-qdsp6-sndcard
37 - qcom,sc8280xp-sndcard
41 - qcom,x1e80100-sndcard
44 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
46 A list of the connections between audio components. Each entry is a
47 pair of strings, the first being the connection's sink, the second
48 being the connection's source. Valid names could be power supplies,
49 MicBias of codec and the jacks on the board.
52 $ref: /schemas/types.yaml#/definitions/phandle-array
54 List of phandles pointing to auxiliary devices, such
55 as amplifiers, to be added to the sound card.
58 $ref: /schemas/types.yaml#/definitions/string
59 description: User visible long sound card name
64 Each subnode represents a dai link. Subnodes of each dai links would be
71 description: Indicates dai-link name and PCM stream name.
72 $ref: /schemas/types.yaml#/definitions/string
76 description: Holds subnode which indicates cpu dai.
78 additionalProperties: false
85 description: Holds subnode which indicates platform dai.
87 additionalProperties: false
94 description: Holds subnode which indicates codec dai.
96 additionalProperties: false
107 additionalProperties: false
113 additionalProperties: false
118 #include <dt-bindings/sound/qcom,q6afe.h>
119 #include <dt-bindings/sound/qcom,q6asm.h>
121 compatible = "qcom,qrb5165-rb5-sndcard";
122 model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0";
123 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
124 "SpkrRight IN", "WSA_SPK2 OUT",
125 "VA DMIC0", "vdd-micb",
126 "VA DMIC1", "vdd-micb";
129 link-name = "MultiMedia0";
131 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
136 link-name = "MultiMedia2";
138 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
143 link-name = "MultiMedia3";
145 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
150 link-name = "HDMI Playback";
152 sound-dai = <&q6afedai TERTIARY_MI2S_RX>;
156 sound-dai = <&q6routing>;
160 sound-dai = <<9611_codec 0>;
165 link-name = "WSA Playback";
167 sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>;
171 sound-dai = <&q6routing>;
175 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro>;
180 link-name = "VA Capture";
182 sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>;
186 sound-dai = <&q6routing>;
190 sound-dai = <&vamacro 0>;