Skip to content

Commit 5d541b9

Browse files
committed
Merge remote-tracking branch 'asoc/for-6.20' into asoc-next
2 parents 018b211 + 702ce71 commit 5d541b9

177 files changed

Lines changed: 6990 additions & 2032 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/goldfish/audio.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

Documentation/devicetree/bindings/sound/awinic,aw88395.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ properties:
3333
reset-gpios:
3434
maxItems: 1
3535

36+
dvdd-supply: true
37+
3638
awinic,audio-channel:
3739
description:
3840
It is used to distinguish multiple PA devices, so that different
@@ -65,6 +67,17 @@ allOf:
6567
then:
6668
properties:
6769
reset-gpios: false
70+
- if:
71+
properties:
72+
compatible:
73+
contains:
74+
const: awinic,aw88261
75+
then:
76+
required:
77+
- dvdd-supply
78+
else:
79+
properties:
80+
dvdd-supply: false
6881

6982
unevaluatedProperties: false
7083

Documentation/devicetree/bindings/sound/everest,es8389.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,20 @@ properties:
3030
"#sound-dai-cells":
3131
const: 0
3232

33+
vdda-supply:
34+
description:
35+
Analogue power supply.
36+
37+
vddd-supply:
38+
description:
39+
Interface power supply.
40+
3341
required:
3442
- compatible
3543
- reg
3644
- "#sound-dai-cells"
45+
- vddd-supply
46+
- vdda-supply
3747

3848
additionalProperties: false
3949

@@ -46,5 +56,7 @@ examples:
4656
compatible = "everest,es8389";
4757
reg = <0x10>;
4858
#sound-dai-cells = <0>;
59+
vddd-supply = <&vdd3v3>;
60+
vdda-supply = <&vdd3v3>;
4961
};
5062
};
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/google,goldfish-audio.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Android Goldfish Audio
8+
9+
maintainers:
10+
- Kuan-Wei Chiu <visitorckw@gmail.com>
11+
12+
description:
13+
Android goldfish audio device generated by Android emulator.
14+
15+
properties:
16+
compatible:
17+
const: google,goldfish-audio
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
- interrupts
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
sound@9030000 {
35+
compatible = "google,goldfish-audio";
36+
reg = <0x9030000 0x100>;
37+
interrupts = <4>;
38+
};

Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml

Lines changed: 162 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,118 @@ properties:
4747
- description: AFE clock
4848
- description: ADDA DAC clock
4949
- description: ADDA DAC pre-distortion clock
50-
- description: audio infra sys clock
51-
- description: audio infra 26M clock
50+
- description: ADDA ADC clock
51+
- description: ADDA6 ADC clock
52+
- description: Audio low-jitter 22.5792m clock
53+
- description: Audio low-jitter 24.576m clock
54+
- description: Audio PLL1 tuner clock
55+
- description: Audio PLL2 tuner clock
56+
- description: Audio Time-Division Multiplexing interface clock
57+
- description: ADDA ADC Sine Generator clock
58+
- description: audio Non-LE clock
59+
- description: Audio DAC High-Resolution clock
60+
- description: Audio High-Resolution ADC clock
61+
- description: Audio High-Resolution ADC SineGen clock
62+
- description: Audio ADDA6 High-Resolution ADC clock
63+
- description: Tertiary ADDA DAC clock
64+
- description: Tertiary ADDA DAC pre-distortion clock
65+
- description: Tertiary ADDA DAC Sine Generator clock
66+
- description: Tertiary ADDA DAC High-Resolution clock
67+
- description: Audio infra sys clock
68+
- description: Audio infra 26M clock
69+
- description: Mux for audio clock
70+
- description: Mux for audio internal bus clock
71+
- description: Mux main divider by 4
72+
- description: Primary audio mux
73+
- description: Primary audio PLL
74+
- description: Secondary audio mux
75+
- description: Secondary audio PLL
76+
- description: Primary audio en-generator clock
77+
- description: Primary PLL divider by 4 for IEC
78+
- description: Secondary audio en-generator clock
79+
- description: Secondary PLL divider by 4 for IEC
80+
- description: Mux selector for I2S port 0
81+
- description: Mux selector for I2S port 1
82+
- description: Mux selector for I2S port 2
83+
- description: Mux selector for I2S port 3
84+
- description: Mux selector for I2S port 4
85+
- description: Mux selector for I2S port 5
86+
- description: Mux selector for I2S port 6
87+
- description: Mux selector for I2S port 7
88+
- description: Mux selector for I2S port 8
89+
- description: Mux selector for I2S port 9
90+
- description: APLL1 and APLL2 divider for I2S port 0
91+
- description: APLL1 and APLL2 divider for I2S port 1
92+
- description: APLL1 and APLL2 divider for I2S port 2
93+
- description: APLL1 and APLL2 divider for I2S port 3
94+
- description: APLL1 and APLL2 divider for I2S port 4
95+
- description: APLL1 and APLL2 divider for IEC
96+
- description: APLL1 and APLL2 divider for I2S port 5
97+
- description: APLL1 and APLL2 divider for I2S port 6
98+
- description: APLL1 and APLL2 divider for I2S port 7
99+
- description: APLL1 and APLL2 divider for I2S port 8
100+
- description: APLL1 and APLL2 divider for I2S port 9
101+
- description: Top mux for audio subsystem
102+
- description: 26MHz clock for audio subsystem
52103

53104
clock-names:
54105
items:
55106
- const: aud_afe_clk
56107
- const: aud_dac_clk
57108
- const: aud_dac_predis_clk
109+
- const: aud_adc_clk
110+
- const: aud_adda6_adc_clk
111+
- const: aud_apll22m_clk
112+
- const: aud_apll24m_clk
113+
- const: aud_apll1_tuner_clk
114+
- const: aud_apll2_tuner_clk
115+
- const: aud_tdm_clk
116+
- const: aud_tml_clk
117+
- const: aud_nle
118+
- const: aud_dac_hires_clk
119+
- const: aud_adc_hires_clk
120+
- const: aud_adc_hires_tml
121+
- const: aud_adda6_adc_hires_clk
122+
- const: aud_3rd_dac_clk
123+
- const: aud_3rd_dac_predis_clk
124+
- const: aud_3rd_dac_tml
125+
- const: aud_3rd_dac_hires_clk
58126
- const: aud_infra_clk
59127
- const: aud_infra_26m_clk
128+
- const: top_mux_audio
129+
- const: top_mux_audio_int
130+
- const: top_mainpll_d4_d4
131+
- const: top_mux_aud_1
132+
- const: top_apll1_ck
133+
- const: top_mux_aud_2
134+
- const: top_apll2_ck
135+
- const: top_mux_aud_eng1
136+
- const: top_apll1_d4
137+
- const: top_mux_aud_eng2
138+
- const: top_apll2_d4
139+
- const: top_i2s0_m_sel
140+
- const: top_i2s1_m_sel
141+
- const: top_i2s2_m_sel
142+
- const: top_i2s3_m_sel
143+
- const: top_i2s4_m_sel
144+
- const: top_i2s5_m_sel
145+
- const: top_i2s6_m_sel
146+
- const: top_i2s7_m_sel
147+
- const: top_i2s8_m_sel
148+
- const: top_i2s9_m_sel
149+
- const: top_apll12_div0
150+
- const: top_apll12_div1
151+
- const: top_apll12_div2
152+
- const: top_apll12_div3
153+
- const: top_apll12_div4
154+
- const: top_apll12_divb
155+
- const: top_apll12_div5
156+
- const: top_apll12_div6
157+
- const: top_apll12_div7
158+
- const: top_apll12_div8
159+
- const: top_apll12_div9
160+
- const: top_mux_audio_h
161+
- const: top_clk26m_clk
60162

61163
required:
62164
- compatible
@@ -83,23 +185,69 @@ examples:
83185
afe: mt8192-afe-pcm {
84186
compatible = "mediatek,mt8192-audio";
85187
interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
188+
clocks = <&audsys CLK_AUD_AFE>, <&audsys CLK_AUD_DAC>,
189+
<&audsys CLK_AUD_DAC_PREDIS>, <&audsys CLK_AUD_ADC>,
190+
<&audsys CLK_AUD_ADDA6_ADC>, <&audsys CLK_AUD_22M>,
191+
<&audsys CLK_AUD_24M>, <&audsys CLK_AUD_APLL_TUNER>,
192+
<&audsys CLK_AUD_APLL2_TUNER>, <&audsys CLK_AUD_TDM>,
193+
<&audsys CLK_AUD_TML>, <&audsys CLK_AUD_NLE>,
194+
<&audsys CLK_AUD_DAC_HIRES>, <&audsys CLK_AUD_ADC_HIRES>,
195+
<&audsys CLK_AUD_ADC_HIRES_TML>, <&audsys CLK_AUD_ADDA6_ADC_HIRES>,
196+
<&audsys CLK_AUD_3RD_DAC>, <&audsys CLK_AUD_3RD_DAC_PREDIS>,
197+
<&audsys CLK_AUD_3RD_DAC_TML>, <&audsys CLK_AUD_3RD_DAC_HIRES>,
198+
<&infracfg CLK_INFRA_AUDIO>, <&infracfg CLK_INFRA_AUDIO_26M_B>,
199+
<&topckgen CLK_TOP_AUDIO_SEL>, <&topckgen CLK_TOP_AUD_INTBUS_SEL>,
200+
<&topckgen CLK_TOP_MAINPLL_D4_D4>, <&topckgen CLK_TOP_AUD_1_SEL>,
201+
<&topckgen CLK_TOP_APLL1>, <&topckgen CLK_TOP_AUD_2_SEL>,
202+
<&topckgen CLK_TOP_APLL2>, <&topckgen CLK_TOP_AUD_ENGEN1_SEL>,
203+
<&topckgen CLK_TOP_APLL1_D4>, <&topckgen CLK_TOP_AUD_ENGEN2_SEL>,
204+
<&topckgen CLK_TOP_APLL2_D4>, <&topckgen CLK_TOP_APLL_I2S0_M_SEL>,
205+
<&topckgen CLK_TOP_APLL_I2S1_M_SEL>, <&topckgen CLK_TOP_APLL_I2S2_M_SEL>,
206+
<&topckgen CLK_TOP_APLL_I2S3_M_SEL>, <&topckgen CLK_TOP_APLL_I2S4_M_SEL>,
207+
<&topckgen CLK_TOP_APLL_I2S5_M_SEL>, <&topckgen CLK_TOP_APLL_I2S6_M_SEL>,
208+
<&topckgen CLK_TOP_APLL_I2S7_M_SEL>, <&topckgen CLK_TOP_APLL_I2S8_M_SEL>,
209+
<&topckgen CLK_TOP_APLL_I2S9_M_SEL>, <&topckgen CLK_TOP_APLL12_DIV0>,
210+
<&topckgen CLK_TOP_APLL12_DIV1>, <&topckgen CLK_TOP_APLL12_DIV2>,
211+
<&topckgen CLK_TOP_APLL12_DIV3>, <&topckgen CLK_TOP_APLL12_DIV4>,
212+
<&topckgen CLK_TOP_APLL12_DIVB>, <&topckgen CLK_TOP_APLL12_DIV5>,
213+
<&topckgen CLK_TOP_APLL12_DIV6>, <&topckgen CLK_TOP_APLL12_DIV7>,
214+
<&topckgen CLK_TOP_APLL12_DIV8>, <&topckgen CLK_TOP_APLL12_DIV9>,
215+
<&topckgen CLK_TOP_AUDIO_H_SEL>, <&clk26m>;
216+
clock-names = "aud_afe_clk", "aud_dac_clk",
217+
"aud_dac_predis_clk", "aud_adc_clk",
218+
"aud_adda6_adc_clk", "aud_apll22m_clk",
219+
"aud_apll24m_clk", "aud_apll1_tuner_clk",
220+
"aud_apll2_tuner_clk", "aud_tdm_clk",
221+
"aud_tml_clk", "aud_nle",
222+
"aud_dac_hires_clk", "aud_adc_hires_clk",
223+
"aud_adc_hires_tml", "aud_adda6_adc_hires_clk",
224+
"aud_3rd_dac_clk", "aud_3rd_dac_predis_clk",
225+
"aud_3rd_dac_tml", "aud_3rd_dac_hires_clk",
226+
"aud_infra_clk", "aud_infra_26m_clk",
227+
"top_mux_audio", "top_mux_audio_int",
228+
"top_mainpll_d4_d4", "top_mux_aud_1",
229+
"top_apll1_ck", "top_mux_aud_2",
230+
"top_apll2_ck", "top_mux_aud_eng1",
231+
"top_apll1_d4", "top_mux_aud_eng2",
232+
"top_apll2_d4", "top_i2s0_m_sel",
233+
"top_i2s1_m_sel", "top_i2s2_m_sel",
234+
"top_i2s3_m_sel", "top_i2s4_m_sel",
235+
"top_i2s5_m_sel", "top_i2s6_m_sel",
236+
"top_i2s7_m_sel", "top_i2s8_m_sel",
237+
"top_i2s9_m_sel", "top_apll12_div0",
238+
"top_apll12_div1", "top_apll12_div2",
239+
"top_apll12_div3", "top_apll12_div4",
240+
"top_apll12_divb", "top_apll12_div5",
241+
"top_apll12_div6", "top_apll12_div7",
242+
"top_apll12_div8", "top_apll12_div9",
243+
"top_mux_audio_h", "top_clk26m_clk";
244+
memory-region = <&afe_dma_mem>;
245+
power-domains = <&scpsys MT8192_POWER_DOMAIN_AUDIO>;
86246
resets = <&watchdog MT8192_TOPRGU_AUDIO_SW_RST>;
87247
reset-names = "audiosys";
88248
mediatek,apmixedsys = <&apmixedsys>;
89249
mediatek,infracfg = <&infracfg>;
90250
mediatek,topckgen = <&topckgen>;
91-
power-domains = <&scpsys MT8192_POWER_DOMAIN_AUDIO>;
92-
clocks = <&audsys CLK_AUD_AFE>,
93-
<&audsys CLK_AUD_DAC>,
94-
<&audsys CLK_AUD_DAC_PREDIS>,
95-
<&infracfg CLK_INFRA_AUDIO>,
96-
<&infracfg CLK_INFRA_AUDIO_26M_B>;
97-
clock-names = "aud_afe_clk",
98-
"aud_dac_clk",
99-
"aud_dac_predis_clk",
100-
"aud_infra_clk",
101-
"aud_infra_26m_clk";
102-
memory-region = <&afe_dma_mem>;
103251
};
104252
105253
...
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/realtek,rt5575.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ALC5575 audio CODEC
8+
9+
maintainers:
10+
- Oder Chiou <oder_chiou@realtek.com>
11+
12+
description:
13+
The device supports both I2C and SPI. I2C is mandatory, while SPI is
14+
optional depending on the hardware configuration. SPI is used for
15+
firmware loading if present.
16+
17+
allOf:
18+
- $ref: dai-common.yaml#
19+
20+
properties:
21+
compatible:
22+
const: realtek,rt5575
23+
24+
reg:
25+
maxItems: 1
26+
27+
spi-parent:
28+
description:
29+
Optional phandle reference to the SPI controller used for firmware
30+
loading. The argument specifies the chip select.
31+
$ref: /schemas/types.yaml#/definitions/phandle-array
32+
33+
required:
34+
- compatible
35+
- reg
36+
37+
unevaluatedProperties: false
38+
39+
examples:
40+
# I2C-only node
41+
- |
42+
i2c {
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
codec@57 {
46+
compatible = "realtek,rt5575";
47+
reg = <0x57>;
48+
};
49+
};
50+
51+
# I2C + optional SPI node
52+
- |
53+
i2c {
54+
#address-cells = <1>;
55+
#size-cells = <0>;
56+
codec@57 {
57+
compatible = "realtek,rt5575";
58+
reg = <0x57>;
59+
spi-parent = <&spi0 0>; /* chip-select 0 */
60+
};
61+
};

0 commit comments

Comments
 (0)