Skip to content

Commit cd7e8dc

Browse files
authored
Merge pull request #5768 from bardliao/merge/sound-upstream-20260508
Merge/sound upstream 20260508
2 parents 62f519a + ee86563 commit cd7e8dc

711 files changed

Lines changed: 33476 additions & 6062 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.

.mailmap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Abhinav Kumar <quic_abhinavk@quicinc.com> <abhinavk@codeaurora.org>
1919
Ahmad Masri <quic_amasri@quicinc.com> <amasri@codeaurora.org>
2020
Adam Oldham <oldhamca@gmail.com>
2121
Adam Radford <aradford@gmail.com>
22+
Aditya Garg <gargaditya08@proton.me> <gargaditya08@live.com>
2223
Adriana Reus <adi.reus@gmail.com> <adriana.reus@intel.com>
2324
Adrian Bunk <bunk@stusta.de>
2425
Ajay Kaher <ajay.kaher@broadcom.com> <akaher@vmware.com>
@@ -207,6 +208,7 @@ Claudiu Beznea <claudiu.beznea@tuxon.dev> <claudiu.beznea@microchip.com>
207208
Colin Ian King <colin.i.king@gmail.com> <colin.king@canonical.com>
208209
Corey Minyard <minyard@acm.org>
209210
Damian Hobson-Garcia <dhobsong@igel.co.jp>
211+
Dan Carpenter <error27@gmail.com> <dan.carpenter@linaro.org>
210212
Dan Carpenter <error27@gmail.com> <dan.carpenter@oracle.com>
211213
Dan Williams <djbw@kernel.org> <dan.j.williams@intel.com>
212214
Daniel Borkmann <daniel@iogearbox.net> <danborkmann@googlemail.com>
@@ -495,6 +497,7 @@ Leon Romanovsky <leon@kernel.org> <leon@leon.nu>
495497
Leon Romanovsky <leon@kernel.org> <leonro@mellanox.com>
496498
Leon Romanovsky <leon@kernel.org> <leonro@nvidia.com>
497499
Leo Yan <leo.yan@linux.dev> <leo.yan@linaro.org>
500+
Liam R. Howlett <liam@infradead.org> <Liam.Howlett@oracle.com>
498501
Liam Mark <quic_lmark@quicinc.com> <lmark@codeaurora.org>
499502
Linas Vepstas <linas@austin.ibm.com>
500503
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@ascom.ch>
@@ -505,6 +508,8 @@ Linus Walleij <linusw@kernel.org> <linus.walleij@stericsson.com>
505508
Linus Walleij <linusw@kernel.org> <linus.walleij@linaro.org>
506509
Linus Walleij <linusw@kernel.org> <triad@df.lth.se>
507510
<linux-hardening@vger.kernel.org> <kernel-hardening@lists.openwall.com>
511+
Li Wang <li.wang@linux.dev> <liwang@redhat.com>
512+
Li Wang <li.wang@linux.dev> <wangli.ahau@gmail.com>
508513
Li Yang <leoyang.li@nxp.com> <leoli@freescale.com>
509514
Li Yang <leoyang.li@nxp.com> <leo@zh-kernel.org>
510515
Lior David <quic_liord@quicinc.com> <liord@codeaurora.org>
@@ -687,6 +692,7 @@ Punit Agrawal <punitagrawal@gmail.com> <punit.agrawal@arm.com>
687692
Puranjay Mohan <puranjay@kernel.org> <puranjay12@gmail.com>
688693
Qais Yousef <qyousef@layalina.io> <qais.yousef@imgtec.com>
689694
Qais Yousef <qyousef@layalina.io> <qais.yousef@arm.com>
695+
Qi Zheng <qi.zheng@linux.dev> <zhengqi.arch@bytedance.com>
690696
Quentin Monnet <qmo@kernel.org> <quentin.monnet@netronome.com>
691697
Quentin Monnet <qmo@kernel.org> <quentin@isovalent.com>
692698
Quentin Perret <qperret@qperret.net> <quentin.perret@arm.com>

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ cgroup v2 currently supports the following mount options.
220220
memory_hugetlb_accounting
221221
Count HugeTLB memory usage towards the cgroup's overall
222222
memory usage for the memory controller (for the purpose of
223-
statistics reporting and memory protetion). This is a new
223+
statistics reporting and memory protection). This is a new
224224
behavior that could regress existing setups, so it must be
225225
explicitly opted in with this mount option.
226226

Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ properties:
2424
compatible:
2525
items:
2626
- enum:
27+
- qcom,eliza-ipcc
2728
- qcom,glymur-ipcc
2829
- qcom,kaanapali-ipcc
2930
- qcom,milos-ipcc

Documentation/devicetree/bindings/sound/mediatek,mt2701-audio.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ properties:
3232
maxItems: 1
3333

3434
clocks:
35+
minItems: 34
3536
items:
3637
- description: audio infra sys clock
3738
- description: top audio mux 1
@@ -67,8 +68,13 @@ properties:
6768
- description: top audio a1 sys pd
6869
- description: top audio a2 sys pd
6970
- description: audio merge interface pd
71+
- description: HADDS2 PLL 294 MHz (HDMI audio path root)
72+
- description: HDMI audio interface pd
73+
- description: S/PDIF interface pd
74+
- description: audio APLL root pd
7075

7176
clock-names:
77+
minItems: 34
7278
items:
7379
- const: infra_sys_audio_clk
7480
- const: top_audio_mux1_sel
@@ -104,6 +110,10 @@ properties:
104110
- const: audio_a1sys_pd
105111
- const: audio_a2sys_pd
106112
- const: audio_mrgif_pd
113+
- const: hadds2pll_294m
114+
- const: audio_hdmi_pd
115+
- const: audio_spdf_pd
116+
- const: audio_apll_pd
107117

108118
required:
109119
- compatible
@@ -113,4 +123,17 @@ required:
113123
- clocks
114124
- clock-names
115125

126+
allOf:
127+
- if:
128+
properties:
129+
compatible:
130+
contains:
131+
const: mediatek,mt7622-audio
132+
then:
133+
properties:
134+
clocks:
135+
maxItems: 34
136+
clock-names:
137+
maxItems: 34
138+
116139
additionalProperties: false
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mediatek,mt2701-hdmi-audio.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek MT2701/MT7623N HDMI audio output
8+
9+
maintainers:
10+
- Daniel Golle <daniel@makrotopia.org>
11+
12+
description:
13+
Sound card routing the MT2701/MT7623N Audio Front End HDMI
14+
playback path to the on-chip HDMI transmitter. The AFE
15+
provides the DMA memif and internal I2S engine; the HDMI
16+
transmitter acts as the audio codec on the serialised link.
17+
18+
properties:
19+
compatible:
20+
oneOf:
21+
- const: mediatek,mt2701-hdmi-audio
22+
- items:
23+
- const: mediatek,mt7623n-hdmi-audio
24+
- const: mediatek,mt2701-hdmi-audio
25+
26+
mediatek,platform:
27+
$ref: /schemas/types.yaml#/definitions/phandle
28+
description: Phandle of the MT2701/MT7623N AFE platform node.
29+
30+
mediatek,audio-codec:
31+
$ref: /schemas/types.yaml#/definitions/phandle
32+
description: Phandle of the HDMI transmitter acting as audio codec.
33+
34+
required:
35+
- compatible
36+
- mediatek,platform
37+
- mediatek,audio-codec
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
sound-hdmi {
44+
compatible = "mediatek,mt7623n-hdmi-audio",
45+
"mediatek,mt2701-hdmi-audio";
46+
mediatek,platform = <&afe>;
47+
mediatek,audio-codec = <&hdmi0>;
48+
};
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mediatek,mt6351-sound.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek MT6351 Audio CODEC
8+
9+
maintainers:
10+
- KaiChieh Chuang <kaichieh.chuang@mediatek.com>
11+
12+
description:
13+
MT6351 Audio CODEC is a part of the MediaTek MT6351 PMIC.
14+
It communicates with the SoC through the MediaTek PMIC wrapper(pwrap).
15+
16+
allOf:
17+
- $ref: dai-common.yaml#
18+
19+
properties:
20+
compatible:
21+
const: mediatek,mt6351-sound
22+
23+
"#sound-dai-cells":
24+
const: 0
25+
26+
required:
27+
- compatible
28+
- "#sound-dai-cells"
29+
30+
unevaluatedProperties: false
31+
32+
examples:
33+
- |
34+
sound {
35+
compatible = "mediatek,mt6351-sound";
36+
#sound-dai-cells = <0>;
37+
};
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mediatek,mt8196-afe.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek Audio Front End PCM controller for MT8196
8+
9+
maintainers:
10+
- Darren Ye <darren.ye@mediatek.com>
11+
12+
properties:
13+
compatible:
14+
const: mediatek,mt8196-afe
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
memory-region:
23+
maxItems: 1
24+
25+
power-domains:
26+
maxItems: 1
27+
28+
clocks:
29+
items:
30+
- description: mux for audio intbus
31+
- description: mux for audio engen1
32+
- description: mux for audio engen2
33+
- description: mux for audio h
34+
- description: audio apll1 clock
35+
- description: audio apll2 clock
36+
- description: audio apll12 divide for i2sin0
37+
- description: audio apll12 divide for i2sin1
38+
- description: audio apll12 divide for fmi2s
39+
- description: audio apll12 divide for tdmout mck
40+
- description: audio apll12 divide for tdmout bck
41+
- description: mux for adsp clock
42+
43+
clock-names:
44+
items:
45+
- const: top_aud_intbus
46+
- const: top_aud_eng1
47+
- const: top_aud_eng2
48+
- const: top_aud_h
49+
- const: apll1
50+
- const: apll2
51+
- const: apll12_div_i2sin0
52+
- const: apll12_div_i2sin1
53+
- const: apll12_div_fmi2s
54+
- const: apll12_div_tdmout_m
55+
- const: apll12_div_tdmout_b
56+
- const: top_adsp
57+
58+
required:
59+
- compatible
60+
- reg
61+
- interrupts
62+
- memory-region
63+
- power-domains
64+
- clocks
65+
- clock-names
66+
67+
additionalProperties: false
68+
69+
examples:
70+
- |
71+
#include <dt-bindings/interrupt-controller/arm-gic.h>
72+
#include <dt-bindings/interrupt-controller/irq.h>
73+
74+
soc {
75+
#address-cells = <2>;
76+
#size-cells = <2>;
77+
78+
afe@1a110000 {
79+
compatible = "mediatek,mt8196-afe";
80+
reg = <0 0x1a110000 0 0x9000>;
81+
interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH 0>;
82+
memory-region = <&afe_dma_mem_reserved>;
83+
power-domains = <&scpsys 14>; //MT8196_POWER_DOMAIN_AUDIO
84+
pinctrl-names = "default";
85+
pinctrl-0 = <&aud_pins_default>;
86+
clocks = <&vlp_cksys_clk 40>, //CLK_VLP_CK_AUD_INTBUS_SEL
87+
<&vlp_cksys_clk 38>, //CLK_VLP_CK_AUD_ENGEN1_SEL
88+
<&vlp_cksys_clk 39>, //CLK_VLP_CK_AUD_ENGEN2_SEL
89+
<&vlp_cksys_clk 37>, //CLK_VLP_CK_AUDIO_H_SEL
90+
<&vlp_cksys_clk 0>, //CLK_VLP_CK_VLP_APLL1
91+
<&vlp_cksys_clk 1>, //CLK_VLP_CK_VLP_APLL2
92+
<&cksys_clk 80>, //CLK_CK_APLL12_CK_DIV_I2SIN0
93+
<&cksys_clk 81>, //CLK_CK_APLL12_CK_DIV_I2SIN1
94+
<&cksys_clk 92>, //CLK_CK_APLL12_CK_DIV_FMI2S
95+
<&cksys_clk 93>, //CLK_CK_APLL12_CK_DIV_TDMOUT_M
96+
<&cksys_clk 94>, //CLK_CK_APLL12_CK_DIV_TDMOUT_B
97+
<&cksys_clk 45>; //CLK_CK_ADSP_SEL
98+
clock-names = "top_aud_intbus",
99+
"top_aud_eng1",
100+
"top_aud_eng2",
101+
"top_aud_h",
102+
"apll1",
103+
"apll2",
104+
"apll12_div_i2sin0",
105+
"apll12_div_i2sin1",
106+
"apll12_div_fmi2s",
107+
"apll12_div_tdmout_m",
108+
"apll12_div_tdmout_b",
109+
"top_adsp";
110+
};
111+
};
112+
113+
...

0 commit comments

Comments
 (0)