Skip to content

Commit 86a4d29

Browse files
committed
ASoC: Updates for v6.1 This has been a very quiet release for the core but quite a busy one for drivers with a big crop of new drivers and lots of feature additions and fixes to existing ones: - A new string helper parse_int_array_user(). - Improvements to the SOF IPC4 code, especially around trace. - Support for AMD Rembrant DSPs, AMD Pink Sardine ACP 6.2, Apple Silcon systems, Everest ES8326, Intel Sky Lake and Kaby Lake, MediaTek MT8186 support, NXP i.MX8ULP DSPs, Qualcomm SC8280XP, SM8250 and SM8450 and Texas Instruments SRC4392 There is a conflict with the conversion of I2C remove functions to void in the cs42l42 driver which is fairly straightforward to resolve but should be highlighted to Linus.
2 parents 02f2e78 + f0c8d74 commit 86a4d29

File tree

287 files changed

+13386
-2330
lines changed

Some content is hidden

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

287 files changed

+13386
-2330
lines changed

Documentation/devicetree/bindings/dsp/fsl,dsp.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
- fsl,imx8qxp-dsp
2121
- fsl,imx8qm-dsp
2222
- fsl,imx8mp-dsp
23+
- fsl,imx8ulp-dsp
2324
- fsl,imx8qxp-hifi4
2425
- fsl,imx8qm-hifi4
2526
- fsl,imx8mp-hifi4

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

Lines changed: 103 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ properties:
2020
- qcom,apr-v2
2121
- qcom,gpr
2222

23+
power-domains:
24+
maxItems: 1
25+
2326
qcom,apr-domain:
2427
$ref: /schemas/types.yaml#/definitions/uint32
2528
enum: [1, 2, 3, 4, 5, 6, 7]
@@ -52,6 +55,26 @@ properties:
5255
2 = Audio DSP Domain
5356
3 = Application Processor Domain
5457

58+
qcom,glink-channels:
59+
$ref: /schemas/types.yaml#/definitions/string-array
60+
description: Channel name used for the communication
61+
items:
62+
- const: apr_audio_svc
63+
64+
qcom,intents:
65+
$ref: /schemas/types.yaml#/definitions/uint32-array
66+
description:
67+
List of (size, amount) pairs describing what intents should be
68+
preallocated for this virtual channel. This can be used to tweak the
69+
default intents available for the channel to meet expectations of the
70+
remote.
71+
72+
qcom,smd-channels:
73+
$ref: /schemas/types.yaml#/definitions/string-array
74+
description: Channel name used for the communication
75+
items:
76+
- const: apr_audio_svc
77+
5578
'#address-cells':
5679
const: 1
5780

@@ -97,6 +120,26 @@ patternProperties:
97120
3 = AMDB Service.
98121
4 = Voice processing manager.
99122

123+
clock-controller:
124+
$ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
125+
description: Qualcomm DSP LPASS clock controller
126+
unevaluatedProperties: false
127+
128+
dais:
129+
type: object
130+
oneOf:
131+
- $ref: /schemas/sound/qcom,q6apm-dai.yaml#
132+
- $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml#
133+
- $ref: /schemas/sound/qcom,q6asm-dais.yaml#
134+
unevaluatedProperties: false
135+
description: Qualcomm DSP audio ports
136+
137+
routing:
138+
type: object
139+
$ref: /schemas/sound/qcom,q6adm-routing.yaml#
140+
unevaluatedProperties: false
141+
description: Qualcomm DSP LPASS audio routing
142+
100143
qcom,protection-domain:
101144
$ref: /schemas/types.yaml#/definitions/string-array
102145
description: protection domain service name and path for apr service
@@ -107,24 +150,75 @@ patternProperties:
107150
"tms/servreg", "msm/modem/wlan_pd".
108151
"tms/servreg", "msm/slpi/sensor_pd".
109152

110-
'#address-cells':
111-
const: 1
153+
allOf:
154+
- if:
155+
properties:
156+
compatible:
157+
enum:
158+
- qcom,q6afe
159+
then:
160+
properties:
161+
dais:
162+
properties:
163+
compatible:
164+
const: qcom,q6afe-dais
112165

113-
'#size-cells':
114-
const: 0
166+
- if:
167+
properties:
168+
compatible:
169+
enum:
170+
- qcom,q6apm
171+
then:
172+
properties:
173+
dais:
174+
properties:
175+
compatible:
176+
enum:
177+
- qcom,q6apm-dais
178+
- qcom,q6apm-lpass-dais
115179

116-
patternProperties:
117-
"^.*@[0-9a-f]+$":
118-
type: object
119-
description:
120-
Service based devices like clock controllers or digital audio interfaces.
180+
- if:
181+
properties:
182+
compatible:
183+
enum:
184+
- qcom,q6asm
185+
then:
186+
properties:
187+
dais:
188+
properties:
189+
compatible:
190+
const: qcom,q6asm-dais
121191

122192
additionalProperties: false
123193

124194
required:
125195
- compatible
126196
- qcom,domain
127197

198+
allOf:
199+
- if:
200+
properties:
201+
compatible:
202+
enum:
203+
- qcom,gpr
204+
then:
205+
properties:
206+
power-domains: false
207+
208+
- if:
209+
required:
210+
- qcom,glink-channels
211+
then:
212+
properties:
213+
qcom,smd-channels: false
214+
215+
- if:
216+
required:
217+
- qcom,smd-channels
218+
then:
219+
properties:
220+
qcom,glink-channels: false
221+
128222
additionalProperties: false
129223

130224
examples:

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,40 @@ properties:
7878
interleaved on a single output channel.
7979
type: boolean
8080

81+
adi,dmon-stuck-enable:
82+
description:
83+
Enables the "data monitor stuck" feature. Once the data monitor is
84+
enabled, it actively monitors the selected input data (from DIN) to the
85+
speaker amplifier. Once a data error is detected, the data monitor
86+
automatically places the device into software shutdown.
87+
type: boolean
88+
89+
adi,dmon-stuck-threshold-bits:
90+
description:
91+
Sets the threshold for the "data monitor stuck" feature, in bits.
92+
enum: [9, 11, 13, 15]
93+
default: 15
94+
95+
adi,dmon-magnitude-enable:
96+
description:
97+
Enables the "data monitor magnitude" feature. Once the data monitor is
98+
enabled, it actively monitors the selected input data (from DIN) to the
99+
speaker amplifier. Once a data error is detected, the data monitor
100+
automatically places the device into software shutdown.
101+
type: boolean
102+
103+
adi,dmon-magnitude-threshold-bits:
104+
description:
105+
Sets the threshold for the "data monitor magnitude" feature, in bits.
106+
enum: [2, 3, 4, 5]
107+
default: 5
108+
109+
adi,dmon-duration-ms:
110+
description:
111+
Sets the duration for the "data monitor" feature, in milliseconds.
112+
enum: [64, 256, 1024, 4096]
113+
default: 64
114+
81115
reset-gpios:
82116
maxItems: 1
83117

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Allwinner H6 DMIC
8+
9+
maintainers:
10+
- Ban Tao <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: allwinner,sun50i-h6-dmic
15+
16+
"#sound-dai-cells":
17+
const: 0
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
items:
27+
- description: Bus Clock
28+
- description: Module Clock
29+
30+
clock-names:
31+
items:
32+
- const: bus
33+
- const: mod
34+
35+
dmas:
36+
items:
37+
- description: RX DMA Channel
38+
39+
dma-names:
40+
items:
41+
- const: rx
42+
43+
resets:
44+
maxItems: 1
45+
46+
required:
47+
- "#sound-dai-cells"
48+
- compatible
49+
- reg
50+
- interrupts
51+
- clocks
52+
- clock-names
53+
- dmas
54+
- dma-names
55+
- resets
56+
57+
additionalProperties: false
58+
59+
examples:
60+
- |
61+
#include <dt-bindings/interrupt-controller/arm-gic.h>
62+
#include <dt-bindings/interrupt-controller/irq.h>
63+
64+
#include <dt-bindings/clock/sun50i-h6-ccu.h>
65+
#include <dt-bindings/reset/sun50i-h6-ccu.h>
66+
67+
dmic: dmic@5095000 {
68+
#sound-dai-cells = <0>;
69+
compatible = "allwinner,sun50i-h6-dmic";
70+
reg = <0x05095000 0x400>;
71+
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
72+
clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>;
73+
clock-names = "bus", "mod";
74+
dmas = <&dma 7>;
75+
dma-names = "rx";
76+
resets = <&ccu RST_BUS_DMIC>;
77+
};
78+
79+
...

Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ properties:
4040
patternProperties:
4141
"^dai-link-[0-9]+$":
4242
type: object
43+
additionalProperties: false
4344
description: |-
4445
dai-link child nodes:
4546
Container for dai-link level properties and the CODEC sub-nodes.
@@ -63,6 +64,7 @@ patternProperties:
6364
patternProperties:
6465
"^codec-[0-9]+$":
6566
type: object
67+
additionalProperties: false
6668
description: |-
6769
Codecs:
6870
dai-link representing backend links should have at least one subnode.

0 commit comments

Comments
 (0)