Lines Matching +full:mt8186 +full:- +full:sound
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
13 This binding describes the MT8186 sound card.
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-da7219-max98357-sound
23 audio-routing:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
35 - HDMI1
36 - Headphones
37 - Line Out
38 - MIC
39 - Speakers
42 - Headset Mic
43 - HPL
44 - HPR
45 - Speaker
46 - TX
50 description: The phandle of MT8186 ASoC platform.
52 headset-codec:
57 sound-dai:
60 - sound-dai
62 playback-codecs:
67 sound-dai:
69 - description: phandle of dp codec
70 - description: phandle of l channel speaker codec
71 - description: phandle of r channel speaker codec
74 - sound-dai
78 description: The phandle of MT8186 ADSP platform.
80 mediatek,dai-link:
81 $ref: /schemas/types.yaml#/definitions/string-array
83 A list of the desired dai-links in the sound card. Each entry is a
87 ".*-dai-link$":
91 Container for dai-link level properties and CODEC sub-nodes.
94 link-name:
95 description: Indicates dai-link name and PCM stream name
98 - I2S0
99 - I2S1
100 - I2S2
101 - I2S3
108 sound-dai:
112 - sound-dai
114 dai-format:
118 - i2s
119 - right_j
120 - left_j
121 - dsp_a
122 - dsp_b
124 mediatek,clk-provider:
126 description: Indicates dai-link clock master.
129 - cpu
130 - codec
133 - link-name
138 - compatible
139 - mediatek,platform
141 # Disallow legacy properties if xxx-dai-link nodes are specified
145 ".*-dai-link$": false
148 headset-codec: false
149 speaker-codecs: false
152 - |
154 sound: mt8186-sound {
155 compatible = "mediatek,mt8186-mt6366-da7219-max98357-sound";
157 pinctrl-names = "aud_clk_mosi_off",
159 pinctrl-0 = <&aud_clk_mosi_off>;
160 pinctrl-1 = <&aud_clk_mosi_on>;
163 audio-routing =
170 hs-playback-dai-link {
171 link-name = "I2S0";
172 dai-format = "i2s";
173 mediatek,clk-provider = "cpu";
175 sound-dai = <&da7219>;
179 hs-capture-dai-link {
180 link-name = "I2S1";
181 dai-format = "i2s";
182 mediatek,clk-provider = "cpu";
184 sound-dai = <&da7219>;
188 spk-dp-playback-dai-link {
189 link-name = "I2S3";
190 dai-format = "i2s";
191 mediatek,clk-provider = "cpu";
193 sound-dai = <&anx_bridge_dp>, <&max98357a>;