Lines Matching +full:be +full:- +full:dai +full:- +full:link

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound
22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound
23 - mediatek,mt8186-mt6366-rt5650-sound
25 audio-routing:
26 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
31 Valid names could be the input or output widgets of audio components,
37 - HDMI1
38 - Headphone
39 - IN1P
40 - IN1N
41 - Line Out
42 - Speakers
45 - Headset Mic
46 - HPOL
47 - HPOR
48 - Speaker
49 - SPOL
50 - SPOR
51 - TX
57 dmic-gpios:
60 dmic-gpios optional prop for switching between two DMICs.
64 headset-codec:
69 sound-dai:
72 - sound-dai
74 playback-codecs:
79 sound-dai:
81 - description: phandle of dp codec
82 - description: phandle of l channel speaker codec
83 - description: phandle of r channel speaker codec
86 - sound-dai
92 mediatek,dai-link:
93 $ref: /schemas/types.yaml#/definitions/string-array
95 A list of the desired dai-links in the sound card. Each entry is a
99 ".*-dai-link$":
103 Container for dai-link level properties and CODEC sub-nodes.
106 link-name:
107 description: Indicates dai-link name and PCM stream name
111 description: Holds subnode which indicates codec dai.
115 sound-dai:
119 - sound-dai
121 dai-format:
125 mediatek,clk-provider:
127 description: Indicates dai-link clock master.
131 - link-name
136 - compatible
137 - mediatek,platform
139 # Disallow legacy properties if xxx-dai-link nodes are specified
143 ".*-dai-link$": false
146 headset-codec: false
147 speaker-codecs: false
150 - |
151 #include <dt-bindings/gpio/gpio.h>
153 sound: mt8186-sound {
154 compatible = "mediatek,mt8186-mt6366-rt1019-rt5682s-sound";
156 pinctrl-names = "aud_clk_mosi_off",
159 pinctrl-0 = <&aud_clk_mosi_off>;
160 pinctrl-1 = <&aud_clk_mosi_on>;
161 pinctrl-2 = <&aud_gpio_dmic_sec>;
164 dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
166 audio-routing =
173 hs-playback-dai-link {
174 link-name = "I2S0";
175 dai-format = "i2s";
176 mediatek,clk-provider = "cpu";
178 sound-dai = <&rt5682s 0>;
182 hs-capture-dai-link {
183 link-name = "I2S1";
184 dai-format = "i2s";
185 mediatek,clk-provider = "cpu";
187 sound-dai = <&rt5682s 0>;
191 spk-hdmi-playback-dai-link {
192 link-name = "I2S3";
193 dai-format = "i2s";
194 mediatek,clk-provider = "cpu";
196 sound-dai = <&it6505dptx>, <&rt1019p>;