Skip to content

Commit 102f9d3

Browse files
committed
Merge tag 'sound-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai: "This looks like a relatively calm development cycle; there have been only few changes in ALSA and ASoC core sides while we get lots of device-specific fixes and updates as usual. Most of commits are about ASoC, including Intel SOF/AVS and many device tree updates. Below are some highlights: Core: - Improvement in memalloc helper for fallback allocations - More cleanups of ASoC DAPM code ASoC: - Factoring out of mapping hw_params onto SoundWire configuration - The ever ongoing overhauls of the Intel DSP code continue, including support for loading libraries and probes with IPC4 on SOF. - Support for more sample formats on JZ4740 - Lots of device tree conversions and fixups - Support for Allwinner D1, a range of AMD and Intel systems, Mediatek systems with multiple DMICs, Nuvoton NAU8318, NXP fsl_rpmsg and i.MX93, Qualcomm AudioReach Enable, MFC and SAL, RealTek RT1318 and Rockchip RK3588 ALSA: - Addition of PCM kselftest; still minimalistic but can be extended in future - Fixes for corner-case XRUNs with USB-audio implicit feedback mode - Usual device-specific quirk updates for USB- and HD-audio - FireWire DICE updates This also contains a few cross-tree updates: - Some OMAP board file updates for removal of relevant OMAP platforms - A new I2C API update for I2C probe API adaption - A DRM update for the further hdmi-codec updates" * tag 'sound-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (417 commits) ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt ALSA: patch_realtek: Fix Dell Inspiron Plus 16 ALSA: hda/cirrus: Add extra 10 ms delay to allow PLL settle and lock. ASoC: dt-bindings: Correct Alexandre Belloni email ASoC: dt-bindings: maxim,max98504: Convert to DT schema ASoC: dt-bindings: maxim,max98357a: Convert to DT schema ASoC: dt-bindings: Reference common DAI properties ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties ASoC: rt715: Make read-only arrays capture_reg_H and capture_reg_L static const ASoC: uniphier: aio-core: Make some read-only arrays static const ASoC: wcd938x: Make read-only array minCode_param static const ASoC: qcom: lpass-sc7280: Add maybe_unused tag for system PM ops ASoC : SOF: amd: Add support for IPC and DSP dumps ASoC: SOF: amd: Use poll function instead to read ACP_SHA_DSP_FW_QUALIFIER ALSA: usb-audio: Workaround for XRUN at prepare ALSA: pcm: Handle XRUN at trigger START ALSA: pcm: Set missing stop_operating flag at undoing trigger start drm: tda99x: Don't advertise non-existent capture support ASoC: hdmi-codec: Allow playback and capture to be disabled kselftest/alsa: Add more coverage of sample rates and channel counts ...
2 parents 8715c6d + 8ec2d95 commit 102f9d3

File tree

432 files changed

+11914
-3923
lines changed

Some content is hidden

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

432 files changed

+11914
-3923
lines changed

Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111
- Neil Armstrong <[email protected]>
1212

1313
allOf:
14-
- $ref: /schemas/sound/name-prefix.yaml#
14+
- $ref: /schemas/sound/dai-common.yaml#
1515

1616
description: |
1717
The Amlogic Meson Synopsys Designware Integration is composed of
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/soc/qcom/qcom,apr-services.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm APR/GPR services shared parts
8+
9+
maintainers:
10+
- Srinivas Kandagatla <[email protected]>
11+
12+
description:
13+
Common parts of a static service in Qualcomm APR/GPR (Asynchronous/Generic
14+
Packet Router).
15+
16+
properties:
17+
reg:
18+
minimum: 1
19+
maximum: 13
20+
description: |
21+
APR Service ID
22+
3 = DSP Core Service
23+
4 = Audio Front End Service.
24+
5 = Voice Stream Manager Service.
25+
6 = Voice processing manager.
26+
7 = Audio Stream Manager Service.
27+
8 = Audio Device Manager Service.
28+
9 = Multimode voice manager.
29+
10 = Core voice stream.
30+
11 = Core voice processor.
31+
12 = Ultrasound stream manager.
32+
13 = Listen stream manager.
33+
GPR Service ID
34+
1 = Audio Process Manager Service
35+
2 = Proxy Resource Manager Service.
36+
3 = AMDB Service.
37+
4 = Voice processing manager.
38+
39+
qcom,protection-domain:
40+
$ref: /schemas/types.yaml#/definitions/string-array
41+
description: |
42+
Protection domain service name and path for APR service
43+
possible values are::
44+
"avs/audio", "msm/adsp/audio_pd".
45+
"kernel/elf_loader", "msm/modem/wlan_pd".
46+
"tms/servreg", "msm/adsp/audio_pd".
47+
"tms/servreg", "msm/modem/wlan_pd".
48+
"tms/servreg", "msm/slpi/sensor_pd".
49+
50+
required:
51+
- reg
52+
- qcom,protection-domain
53+
54+
additionalProperties: true

Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml

Lines changed: 51 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ properties:
5959
qcom,glink-channels:
6060
$ref: /schemas/types.yaml#/definitions/string-array
6161
description: Channel name used for the communication
62-
items:
63-
- const: apr_audio_svc
62+
maxItems: 1
6463

6564
qcom,intents:
6665
$ref: /schemas/types.yaml#/definitions/uint32-array
@@ -82,12 +81,13 @@ properties:
8281
'#size-cells':
8382
const: 0
8483

85-
#APR/GPR Services
8684
patternProperties:
8785
"^service@[1-9a-d]$":
8886
type: object
87+
$ref: /schemas/soc/qcom/qcom,apr-services.yaml
88+
additionalProperties: true
8989
description:
90-
APR/GPR node's client devices use subnodes for desired static port services.
90+
APR/GPR static port services.
9191

9292
properties:
9393
compatible:
@@ -99,99 +99,6 @@ patternProperties:
9999
- qcom,q6apm
100100
- qcom,q6prm
101101

102-
reg:
103-
minimum: 1
104-
maximum: 13
105-
description:
106-
APR Service ID
107-
3 = DSP Core Service
108-
4 = Audio Front End Service.
109-
5 = Voice Stream Manager Service.
110-
6 = Voice processing manager.
111-
7 = Audio Stream Manager Service.
112-
8 = Audio Device Manager Service.
113-
9 = Multimode voice manager.
114-
10 = Core voice stream.
115-
11 = Core voice processor.
116-
12 = Ultrasound stream manager.
117-
13 = Listen stream manager.
118-
GPR Service ID
119-
1 = Audio Process Manager Service
120-
2 = Proxy Resource Manager Service.
121-
3 = AMDB Service.
122-
4 = Voice processing manager.
123-
124-
clock-controller:
125-
$ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
126-
description: Qualcomm DSP LPASS clock controller
127-
unevaluatedProperties: false
128-
129-
dais:
130-
type: object
131-
oneOf:
132-
- $ref: /schemas/sound/qcom,q6apm-dai.yaml#
133-
- $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml#
134-
- $ref: /schemas/sound/qcom,q6asm-dais.yaml#
135-
unevaluatedProperties: false
136-
description: Qualcomm DSP audio ports
137-
138-
routing:
139-
type: object
140-
$ref: /schemas/sound/qcom,q6adm-routing.yaml#
141-
unevaluatedProperties: false
142-
description: Qualcomm DSP LPASS audio routing
143-
144-
qcom,protection-domain:
145-
$ref: /schemas/types.yaml#/definitions/string-array
146-
description: protection domain service name and path for apr service
147-
possible values are
148-
"avs/audio", "msm/adsp/audio_pd".
149-
"kernel/elf_loader", "msm/modem/wlan_pd".
150-
"tms/servreg", "msm/adsp/audio_pd".
151-
"tms/servreg", "msm/modem/wlan_pd".
152-
"tms/servreg", "msm/slpi/sensor_pd".
153-
154-
allOf:
155-
- if:
156-
properties:
157-
compatible:
158-
enum:
159-
- qcom,q6afe
160-
then:
161-
properties:
162-
dais:
163-
properties:
164-
compatible:
165-
const: qcom,q6afe-dais
166-
167-
- if:
168-
properties:
169-
compatible:
170-
enum:
171-
- qcom,q6apm
172-
then:
173-
properties:
174-
dais:
175-
properties:
176-
compatible:
177-
enum:
178-
- qcom,q6apm-dais
179-
- qcom,q6apm-lpass-dais
180-
181-
- if:
182-
properties:
183-
compatible:
184-
enum:
185-
- qcom,q6asm
186-
then:
187-
properties:
188-
dais:
189-
properties:
190-
compatible:
191-
const: qcom,q6asm-dais
192-
193-
additionalProperties: false
194-
195102
required:
196103
- compatible
197104
- qcom,domain
@@ -204,7 +111,15 @@ allOf:
204111
- qcom,gpr
205112
then:
206113
properties:
114+
qcom,glink-channels:
115+
items:
116+
- const: adsp_apps
207117
power-domains: false
118+
else:
119+
properties:
120+
qcom,glink-channels:
121+
items:
122+
- const: apr_audio_svc
208123

209124
- if:
210125
required:
@@ -228,31 +143,35 @@ examples:
228143
apr {
229144
compatible = "qcom,apr-v2";
230145
qcom,domain = <APR_DOMAIN_ADSP>;
146+
qcom,glink-channels = "apr_audio_svc";
147+
qcom,intents = <512 20>;
231148
#address-cells = <1>;
232149
#size-cells = <0>;
233150
234151
q6core: service@3 {
235-
compatible = "qcom,q6core";
236-
reg = <APR_SVC_ADSP_CORE>;
237-
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
238-
};
239-
240-
q6afe: service@4 {
241-
compatible = "qcom,q6afe";
242-
reg = <APR_SVC_AFE>;
243-
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
244-
};
245-
246-
q6asm: service@7 {
247-
compatible = "qcom,q6asm";
248-
reg = <APR_SVC_ASM>;
249-
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
152+
compatible = "qcom,q6core";
153+
reg = <APR_SVC_ADSP_CORE>;
154+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
250155
};
251156
252-
q6adm: service@8 {
253-
compatible = "qcom,q6adm";
254-
reg = <APR_SVC_ADM>;
255-
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
157+
service@4 {
158+
compatible = "qcom,q6afe";
159+
reg = <APR_SVC_AFE>;
160+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
161+
162+
clock-controller {
163+
compatible = "qcom,q6afe-clocks";
164+
#clock-cells = <2>;
165+
};
166+
167+
dais {
168+
compatible = "qcom,q6afe-dais";
169+
#address-cells = <1>;
170+
#size-cells = <0>;
171+
#sound-dai-cells = <1>;
172+
/* ... */
173+
};
174+
/* ... */
256175
};
257176
};
258177
@@ -261,12 +180,25 @@ examples:
261180
gpr {
262181
compatible = "qcom,gpr";
263182
qcom,domain = <GPR_DOMAIN_ID_ADSP>;
183+
qcom,glink-channels = "adsp_apps";
184+
qcom,intents = <512 20>;
264185
#address-cells = <1>;
265186
#size-cells = <0>;
266187
267188
service@1 {
268-
compatible = "qcom,q6apm";
269-
reg = <GPR_APM_MODULE_IID>;
270-
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
189+
compatible = "qcom,q6apm";
190+
reg = <GPR_APM_MODULE_IID>;
191+
#sound-dai-cells = <0>;
192+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
193+
194+
dais {
195+
compatible = "qcom,q6apm-dais";
196+
iommus = <&apps_smmu 0x1801 0x0>;
197+
};
198+
199+
bedais {
200+
compatible = "qcom,q6apm-lpass-dais";
201+
#sound-dai-cells = <1>;
202+
};
271203
};
272204
};

Documentation/devicetree/bindings/sound/adi,adau1372.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
88
title: Analog Devices ADAU1372 CODEC
99

1010
maintainers:
11-
- Alexandre Belloni <alexandre.belloni@bootlin.om>
11+
- Alexandre Belloni <alexandre.belloni@bootlin.com>
1212

1313
description: |
1414
Analog Devices ADAU1372 four inputs and two outputs codec.
1515
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
1616
17+
allOf:
18+
- $ref: dai-common.yaml#
19+
1720
properties:
1821
compatible:
1922
enum:
@@ -42,7 +45,7 @@ required:
4245
- clocks
4346
- clock-names
4447

45-
additionalProperties: false
48+
unevaluatedProperties: false
4649

4750
examples:
4851
- |

Documentation/devicetree/bindings/sound/adi,adau1977.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ required:
5151
- AVDD-supply
5252

5353
allOf:
54+
- $ref: dai-common.yaml#
5455
- $ref: /schemas/spi/spi-peripheral-props.yaml#
5556

5657
unevaluatedProperties: false

Documentation/devicetree/bindings/sound/adi,adau7118.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ description: |
1515
standalone mode.
1616
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf
1717
18+
allOf:
19+
- $ref: dai-common.yaml#
20+
1821
properties:
1922
compatible:
2023
enum:
@@ -57,7 +60,7 @@ required:
5760
- iovdd-supply
5861
- dvdd-supply
5962

60-
additionalProperties: false
63+
unevaluatedProperties: false
6164

6265
examples:
6366
- |

Documentation/devicetree/bindings/sound/ak4375.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: AK4375 DAC and headphones amplifier
99
maintainers:
1010
- Vincent Knecht <[email protected]>
1111

12+
allOf:
13+
- $ref: dai-common.yaml#
14+
1215
properties:
1316
compatible:
1417
const: asahi-kasei,ak4375
@@ -35,7 +38,7 @@ required:
3538
- avdd-supply
3639
- tvdd-supply
3740

38-
additionalProperties: false
41+
unevaluatedProperties: false
3942

4043
examples:
4144
- |

Documentation/devicetree/bindings/sound/ak4613.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: AK4613 I2C transmitter
99
maintainers:
1010
- Kuninori Morimoto <[email protected]>
1111

12+
allOf:
13+
- $ref: dai-common.yaml#
14+
1215
properties:
1316
compatible:
1417
const: asahi-kasei,ak4613
@@ -35,7 +38,7 @@ required:
3538
- compatible
3639
- reg
3740

38-
additionalProperties: false
41+
unevaluatedProperties: false
3942

4043
examples:
4144
- |

Documentation/devicetree/bindings/sound/ak4642.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: AK4642 I2C transmitter
99
maintainers:
1010
- Kuninori Morimoto <[email protected]>
1111

12+
allOf:
13+
- $ref: dai-common.yaml#
14+
1215
properties:
1316
compatible:
1417
enum:
@@ -37,7 +40,7 @@ required:
3740
- compatible
3841
- reg
3942

40-
additionalProperties: false
43+
unevaluatedProperties: false
4144

4245
examples:
4346
- |

0 commit comments

Comments
 (0)