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. SM8250 ASoC sound card driver
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 This bindings describes SC8250 SoC based sound cards
14 which uses LPASS internal codec for audio.
19 - const: qcom,sm8250-sndcard
20 - const: qcom,qrb5165-rb5-sndcard
23 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
25 A list of the connections between audio components. Each entry is a
26 pair of strings, the first being the connection's sink, the second
27 being the connection's source. Valid names could be power supplies,
28 MicBias of codec and the jacks on the board.
31 $ref: /schemas/types.yaml#/definitions/string
32 description: User visible long sound card name
37 Each subnode represents a dai link. Subnodes of each dai links would be
44 description: Indicates dai-link name and PCM stream name.
45 $ref: /schemas/types.yaml#/definitions/string
49 description: Holds subnode which indicates cpu dai.
55 description: Holds subnode which indicates platform dai.
61 description: Holds subnode which indicates codec dai.
70 additionalProperties: false
76 additionalProperties: false
81 #include <dt-bindings/sound/qcom,q6afe.h>
82 #include <dt-bindings/sound/qcom,q6asm.h>
84 compatible = "qcom,qrb5165-rb5-sndcard";
85 model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0";
86 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
87 "SpkrRight IN", "WSA_SPK2 OUT",
88 "VA DMIC0", "vdd-micb",
89 "VA DMIC1", "vdd-micb",
90 "MM_DL1", "MultiMedia1 Playback",
91 "MM_DL2", "MultiMedia2 Playback",
92 "MultiMedia3 Capture", "MM_UL3";
95 link-name = "MultiMedia0";
97 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
102 link-name = "MultiMedia2";
104 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
109 link-name = "MultiMedia3";
111 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
116 link-name = "HDMI Playback";
118 sound-dai = <&q6afedai TERTIARY_MI2S_RX>;
122 sound-dai = <&q6routing>;
126 sound-dai = <<9611_codec 0>;
131 link-name = "WSA Playback";
133 sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>;
137 sound-dai = <&q6routing>;
141 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro>;
146 link-name = "VA Capture";
148 sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>;
152 sound-dai = <&q6routing>;
156 sound-dai = <&vamacro 0>;