Skip to content

Commit 38b7673

Browse files
committed
Merge remote-tracking branch 'asoc/for-5.15' into asoc-linus
2 parents a617f7d + 3202e2f commit 38b7673

File tree

171 files changed

+18985
-1282
lines changed

Some content is hidden

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

171 files changed

+18985
-1282
lines changed

Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Required properties:
66
"ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
77
"ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx)
88
"ti,dra7-mcasp-audio" : for DRA7xx platforms
9+
"ti,omap4-mcasp-audio" : for OMAP4
910

1011
- reg : Should contain reg specifiers for the entries in the reg-names property.
1112
- reg-names : Should contain:

Documentation/devicetree/bindings/sound/ics43432.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Invensense ICS-43432 MEMS microphone with I2S output.
1+
Invensense ICS-43432-compatible MEMS microphone with I2S output.
22

33
There are no software configuration options for this device, indeed, the only
44
host connection is the I2S interface. Apart from requirements on clock
@@ -8,7 +8,9 @@ contain audio data. A hardware pin determines if the device outputs data
88
on the left or right channel of the I2S frame.
99

1010
Required properties:
11-
- compatible : Must be "invensense,ics43432"
11+
- compatible: should be one of the following.
12+
"invensense,ics43432": For the Invensense ICS43432
13+
"cui,cmm-4030d-261": For the CUI CMM-4030D-261-I2S-TR
1214

1315
Example:
1416

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mt8195-afe-pcm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mediatek AFE PCM controller for mt8195
8+
9+
maintainers:
10+
- Trevor Wu <trevor.wu@mediatek.com>
11+
12+
properties:
13+
compatible:
14+
const: mediatek,mt8195-audio
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
mediatek,topckgen:
23+
$ref: "/schemas/types.yaml#/definitions/phandle"
24+
description: The phandle of the mediatek topckgen controller
25+
26+
power-domains:
27+
maxItems: 1
28+
29+
clocks:
30+
items:
31+
- description: 26M clock
32+
- description: audio pll1 clock
33+
- description: audio pll2 clock
34+
- description: clock divider for i2si1_mck
35+
- description: clock divider for i2si2_mck
36+
- description: clock divider for i2so1_mck
37+
- description: clock divider for i2so2_mck
38+
- description: clock divider for dptx_mck
39+
- description: a1sys hoping clock
40+
- description: audio intbus clock
41+
- description: audio hires clock
42+
- description: audio local bus clock
43+
- description: mux for dptx_mck
44+
- description: mux for i2so1_mck
45+
- description: mux for i2so2_mck
46+
- description: mux for i2si1_mck
47+
- description: mux for i2si2_mck
48+
- description: audio infra 26M clock
49+
- description: infra bus clock
50+
51+
clock-names:
52+
items:
53+
- const: clk26m
54+
- const: apll1_ck
55+
- const: apll2_ck
56+
- const: apll12_div0
57+
- const: apll12_div1
58+
- const: apll12_div2
59+
- const: apll12_div3
60+
- const: apll12_div9
61+
- const: a1sys_hp_sel
62+
- const: aud_intbus_sel
63+
- const: audio_h_sel
64+
- const: audio_local_bus_sel
65+
- const: dptx_m_sel
66+
- const: i2so1_m_sel
67+
- const: i2so2_m_sel
68+
- const: i2si1_m_sel
69+
- const: i2si2_m_sel
70+
- const: infra_ao_audio_26m_b
71+
- const: scp_adsp_audiodsp
72+
73+
mediatek,etdm-in1-chn-disabled:
74+
$ref: /schemas/types.yaml#/definitions/uint8-array
75+
maxItems: 24
76+
description: Specify which input channel should be disabled.
77+
78+
mediatek,etdm-in2-chn-disabled:
79+
$ref: /schemas/types.yaml#/definitions/uint8-array
80+
maxItems: 16
81+
description: Specify which input channel should be disabled.
82+
83+
patternProperties:
84+
"^mediatek,etdm-in[1-2]-mclk-always-on-rate-hz$":
85+
description: Specify etdm in mclk output rate for always on case.
86+
87+
"^mediatek,etdm-out[1-3]-mclk-always-on-rate-hz$":
88+
description: Specify etdm out mclk output rate for always on case.
89+
90+
"^mediatek,etdm-in[1-2]-multi-pin-mode$":
91+
type: boolean
92+
description: if present, the etdm data mode is I2S.
93+
94+
"^mediatek,etdm-out[1-3]-multi-pin-mode$":
95+
type: boolean
96+
description: if present, the etdm data mode is I2S.
97+
98+
"^mediatek,etdm-in[1-2]-cowork-source$":
99+
$ref: /schemas/types.yaml#/definitions/uint32
100+
description: |
101+
etdm modules can share the same external clock pin. Specify
102+
which etdm clock source is required by this etdm in moudule.
103+
enum:
104+
- 0 # etdm1_in
105+
- 1 # etdm2_in
106+
- 2 # etdm1_out
107+
- 3 # etdm2_out
108+
109+
"^mediatek,etdm-out[1-2]-cowork-source$":
110+
$ref: /schemas/types.yaml#/definitions/uint32
111+
description: |
112+
etdm modules can share the same external clock pin. Specify
113+
which etdm clock source is required by this etdm out moudule.
114+
enum:
115+
- 0 # etdm1_in
116+
- 1 # etdm2_in
117+
- 2 # etdm1_out
118+
- 3 # etdm2_out
119+
120+
required:
121+
- compatible
122+
- reg
123+
- interrupts
124+
- mediatek,topckgen
125+
- power-domains
126+
- clocks
127+
- clock-names
128+
129+
additionalProperties: false
130+
131+
examples:
132+
- |
133+
#include <dt-bindings/clock/mt8195-clk.h>
134+
#include <dt-bindings/interrupt-controller/arm-gic.h>
135+
#include <dt-bindings/interrupt-controller/irq.h>
136+
#include <dt-bindings/power/mt8195-power.h>
137+
138+
afe: mt8195-afe-pcm@10890000 {
139+
compatible = "mediatek,mt8195-audio";
140+
reg = <0x10890000 0x10000>;
141+
interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>;
142+
mediatek,topckgen = <&topckgen>;
143+
power-domains = <&spm MT8195_POWER_DOMAIN_AUDIO>;
144+
clocks = <&clk26m>,
145+
<&topckgen CLK_TOP_APLL1>,
146+
<&topckgen CLK_TOP_APLL2>,
147+
<&topckgen CLK_TOP_APLL12_DIV0>,
148+
<&topckgen CLK_TOP_APLL12_DIV1>,
149+
<&topckgen CLK_TOP_APLL12_DIV2>,
150+
<&topckgen CLK_TOP_APLL12_DIV3>,
151+
<&topckgen CLK_TOP_APLL12_DIV9>,
152+
<&topckgen CLK_TOP_A1SYS_HP_SEL>,
153+
<&topckgen CLK_TOP_AUD_INTBUS_SEL>,
154+
<&topckgen CLK_TOP_AUDIO_H_SEL>,
155+
<&topckgen CLK_TOP_AUDIO_LOCAL_BUS_SEL>,
156+
<&topckgen CLK_TOP_DPTX_M_SEL>,
157+
<&topckgen CLK_TOP_I2SO1_M_SEL>,
158+
<&topckgen CLK_TOP_I2SO2_M_SEL>,
159+
<&topckgen CLK_TOP_I2SI1_M_SEL>,
160+
<&topckgen CLK_TOP_I2SI2_M_SEL>,
161+
<&infracfg_ao CLK_INFRA_AO_AUDIO_26M_B>,
162+
<&scp_adsp CLK_SCP_ADSP_AUDIODSP>;
163+
clock-names = "clk26m",
164+
"apll1_ck",
165+
"apll2_ck",
166+
"apll12_div0",
167+
"apll12_div1",
168+
"apll12_div2",
169+
"apll12_div3",
170+
"apll12_div9",
171+
"a1sys_hp_sel",
172+
"aud_intbus_sel",
173+
"audio_h_sel",
174+
"audio_local_bus_sel",
175+
"dptx_m_sel",
176+
"i2so1_m_sel",
177+
"i2so2_m_sel",
178+
"i2si1_m_sel",
179+
"i2si2_m_sel",
180+
"infra_ao_audio_26m_b",
181+
"scp_adsp_audiodsp";
182+
};
183+
184+
...
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mt8195-mt6359-rt1019-rt5682.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mediatek MT8195 with MT6359, RT1019 and RT5682 ASoC sound card driver
8+
9+
maintainers:
10+
- Trevor Wu <trevor.wu@mediatek.com>
11+
12+
description:
13+
This binding describes the MT8195 sound card.
14+
15+
properties:
16+
compatible:
17+
const: mediatek,mt8195_mt6359_rt1019_rt5682
18+
19+
mediatek,platform:
20+
$ref: "/schemas/types.yaml#/definitions/phandle"
21+
description: The phandle of MT8195 ASoC platform.
22+
23+
mediatek,dptx-codec:
24+
$ref: "/schemas/types.yaml#/definitions/phandle"
25+
description: The phandle of MT8195 Display Port Tx codec node.
26+
27+
mediatek,hdmi-codec:
28+
$ref: "/schemas/types.yaml#/definitions/phandle"
29+
description: The phandle of MT8195 HDMI codec node.
30+
31+
additionalProperties: false
32+
33+
required:
34+
- compatible
35+
- mediatek,platform
36+
37+
examples:
38+
- |
39+
40+
sound: mt8195-sound {
41+
compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
42+
mediatek,platform = <&afe>;
43+
pinctrl-names = "default";
44+
pinctrl-0 = <&aud_pins_default>;
45+
};
46+
47+
...

Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ description: |
1515
1616
properties:
1717
compatible:
18-
const: realtek,rt1015p
18+
enum:
19+
- realtek,rt1015p
20+
- realtek,rt1019p
1921

2022
sdb-gpios:
2123
description:
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/renesas,rz-ssi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Renesas RZ/G2L ASoC Sound Serial Interface (SSIF-2)
8+
9+
maintainers:
10+
- Biju Das <biju.das.jz@bp.renesas.com>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- renesas,r9a07g044-ssi # RZ/G2{L,LC}
17+
- const: renesas,rz-ssi
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 4
24+
25+
interrupt-names:
26+
items:
27+
- const: int_req
28+
- const: dma_rx
29+
- const: dma_tx
30+
- const: dma_rt
31+
32+
clocks:
33+
maxItems: 4
34+
35+
clock-names:
36+
items:
37+
- const: ssi
38+
- const: ssi_sfr
39+
- const: audio_clk1
40+
- const: audio_clk2
41+
42+
power-domains:
43+
maxItems: 1
44+
45+
resets:
46+
maxItems: 1
47+
48+
dmas:
49+
minItems: 1
50+
maxItems: 2
51+
description:
52+
The first cell represents a phandle to dmac
53+
The second cell specifies the encoded MID/RID values of the SSI port
54+
connected to the DMA client and the slave channel configuration
55+
parameters.
56+
bits[0:9] - Specifies MID/RID value of a SSI channel as below
57+
MID/RID value of SSI rx0 = 0x256
58+
MID/RID value of SSI tx0 = 0x255
59+
MID/RID value of SSI rx1 = 0x25a
60+
MID/RID value of SSI tx1 = 0x259
61+
MID/RID value of SSI rt2 = 0x25f
62+
MID/RID value of SSI rx3 = 0x262
63+
MID/RID value of SSI tx3 = 0x261
64+
bit[10] - HIEN = 1, Detects a request in response to the rising edge
65+
of the signal
66+
bit[11] - LVL = 0, Detects based on the edge
67+
bits[12:14] - AM = 2, Bus cycle mode
68+
bit[15] - TM = 0, Single transfer mode
69+
70+
dma-names:
71+
oneOf:
72+
- items:
73+
- const: tx
74+
- const: rx
75+
- items:
76+
- const: rt
77+
78+
'#sound-dai-cells':
79+
const: 0
80+
81+
required:
82+
- compatible
83+
- reg
84+
- interrupts
85+
- interrupt-names
86+
- clocks
87+
- clock-names
88+
- resets
89+
- '#sound-dai-cells'
90+
91+
additionalProperties: false
92+
93+
examples:
94+
- |
95+
#include <dt-bindings/interrupt-controller/arm-gic.h>
96+
#include <dt-bindings/clock/r9a07g044-cpg.h>
97+
98+
ssi0: ssi@10049c00 {
99+
compatible = "renesas,r9a07g044-ssi",
100+
"renesas,rz-ssi";
101+
reg = <0x10049c00 0x400>;
102+
interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
103+
<GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
104+
<GIC_SPI 328 IRQ_TYPE_EDGE_RISING>,
105+
<GIC_SPI 329 IRQ_TYPE_EDGE_RISING>;
106+
interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
107+
clocks = <&cpg CPG_MOD R9A07G044_SSI0_PCLK2>,
108+
<&cpg CPG_MOD R9A07G044_SSI0_PCLK_SFR>,
109+
<&audio_clk1>,
110+
<&audio_clk2>;
111+
clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
112+
power-domains = <&cpg>;
113+
resets = <&cpg R9A07G044_SSI0_RST_M2_REG>;
114+
dmas = <&dmac 0x2655>,
115+
<&dmac 0x2656>;
116+
dma-names = "tx", "rx";
117+
#sound-dai-cells = <0>;
118+
};

0 commit comments

Comments
 (0)