Skip to content

Commit f3e506d

Browse files
committed
Merge: ALSA - update drivers for 9.7 - upstream 6.14
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6787 JIRA: https://issues.redhat.com/browse/RHEL-80682 This upstream patchset updates the ALSA driver code: - ALSA core - ALSA HDA - ALSA USB - ALSA PCI - ALSA SoC (mainly SOF including SoundWire drivers) - Soundwire bus The other components are touched to get things in sync with the current upstream: Some touched drivers are for hardware platforms which are not used in RHEL. The purpose to merge those upstream commits is to keep the future code sync more easy. Omitted-fix: 91f505d # dup with bd40d91 Omitted-fix: 852c0b7 # dup with a7ebb02 Omitted-fix: 2c2eadd # dup with 658fb7f Omitted-fix: 75c2d63 # outside sound/ tree Omitted-fix: 5ad2abf # outside sound/ tree Omitted-fix: 1969392 # outside sound/ tree Omitted-fix: 84c398c # outside sound/ tree Omitted-fix: c2cd598 # outside sound/ tree Omitted-fix: b4aa02f # outside sound/ tree Omitted-fix: 84bbaeb # outside sound/ tree Omitted-fix: 38b2ea1 # outside sound/ tree Omitted-fix: 4d69f4c # outside sound/ tree Omitted-fix: 3d1a26a # outside sound/ tree Omitted-fix: b294259 # outside sound/ tree Omitted-fix: eefdb19 # outside sound/ tree Omitted-fix: e3b5ace # outside sound/ tree Omitted-fix: f5ea031 # outside sound/ tree Omitted-fix: 6d072c0 # outside sound/ tree Omitted-fix: f87e4f2 # outside sound/ tree Omitted-fix: 734ff31 # outside sound/ tree Omitted-fix: 7d2497f # outside sound/ tree Omitted-fix: a9d5131 # outside sound/ tree Omitted-fix: e3e627e # outside sound/ tree Omitted-fix: 3f0a819 # outside sound/ tree Omitted-fix: c9d84da # outside sound/ tree Omitted-fix: a131f20 # outside sound/ tree Omitted-fix: 84c34d0 # outside sound/ tree Omitted-fix: 78cf56f # outside sound/ tree Omitted-fix: 344825e # outside sound/ tree Omitted-fix: 8ef9019 # outside sound/ tree Omitted-fix: d583461 # outside sound/ tree Omitted-fix: a877cd2 # outside sound/ tree Omitted-fix: 2c54b24 # outside sound/ tree Omitted-fix: 6cf828d # outside sound/ tree Omitted-fix: 32fcd1b # outside sound/ tree Omitted-fix: eee6af2 # outside sound/ tree Omitted-fix: 1d2e01d # outside sound/ tree Omitted-fix: 7c9a8c5 # outside sound/ tree Omitted-fix: 96b8f46 # outside sound/ tree Omitted-fix: 8ba1b42 # outside sound/ tree Omitted-fix: b3e8dc1 # outside sound/ tree Omitted-fix: 66644d8 # outside sound/ tree Omitted-fix: f873136 # outside sound/ tree Omitted-fix: b8c6c13 # unsupported platform Omitted-fix: 97aa62e # unsupported platform Omitted-fix: f4293c2 # outside sound/ tree Omitted-fix: 4d5b71b # handled in RHEL-80657 Signed-off-by: Jaroslav Kysela <[email protected]> Approved-by: Mark Langsdorf <[email protected]> Approved-by: Radu Rendec <[email protected]> Approved-by: Bastien Nocera <[email protected]> Approved-by: John W. Linville <[email protected]> Approved-by: Michael Petlan <[email protected]> Approved-by: CKI KWF Bot <[email protected]> Merged-by: Jan Stancek <[email protected]>
2 parents eff31cc + 0cd5c55 commit f3e506d

File tree

246 files changed

+6927
-1588
lines changed

Some content is hidden

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

246 files changed

+6927
-1588
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
compatible:
1919
enum:
2020
- awinic,aw88081
21+
- awinic,aw88083
2122
- awinic,aw88261
2223
- awinic,aw88395
2324
- awinic,aw88399
@@ -58,6 +59,7 @@ allOf:
5859
contains:
5960
enum:
6061
- awinic,aw88081
62+
- awinic,aw88083
6163
- awinic,aw88261
6264
then:
6365
properties:

Documentation/devicetree/bindings/sound/fsl,micfil.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ properties:
2525
- fsl,imx8mm-micfil
2626
- fsl,imx8mp-micfil
2727
- fsl,imx93-micfil
28+
- fsl,imx943-micfil
2829

2930
reg:
3031
maxItems: 1

Documentation/devicetree/bindings/sound/fsl,mqs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ properties:
2323
- fsl,imx8qm-mqs
2424
- fsl,imx8qxp-mqs
2525
- fsl,imx93-mqs
26+
- fsl,imx943-aonmix-mqs
27+
- fsl,imx943-wakeupmix-mqs
2628
- fsl,imx95-aonmix-mqs
2729
- fsl,imx95-netcmix-mqs
2830

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
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,rt5682.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Realtek rt5682 and rt5682i codecs
8+
9+
maintainers:
10+
- Bard Liao <[email protected]>
11+
12+
allOf:
13+
- $ref: dai-common.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- realtek,rt5682
19+
- realtek,rt5682i
20+
21+
reg:
22+
maxItems: 1
23+
description: I2C address of the device.
24+
25+
interrupts:
26+
maxItems: 1
27+
description: The CODEC's interrupt output.
28+
29+
realtek,dmic1-data-pin:
30+
$ref: /schemas/types.yaml#/definitions/uint32
31+
enum:
32+
- 0 # dmic1 data is not used
33+
- 1 # using GPIO2 pin as dmic1 data pin
34+
- 2 # using GPIO5 pin as dmic1 data pin
35+
description:
36+
Specify which GPIO pin be used as DMIC1 data pin.
37+
38+
realtek,dmic1-clk-pin:
39+
$ref: /schemas/types.yaml#/definitions/uint32
40+
enum:
41+
- 0 # using GPIO1 pin as dmic1 clock pin
42+
- 1 # using GPIO3 pin as dmic1 clock pin
43+
description:
44+
Specify which GPIO pin be used as DMIC1 clk pin.
45+
46+
realtek,jd-src:
47+
$ref: /schemas/types.yaml#/definitions/uint32
48+
enum:
49+
- 0 # No JD is used
50+
- 1 # using JD1 as JD source
51+
description:
52+
Specify which JD source be used.
53+
54+
realtek,ldo1-en-gpios:
55+
description:
56+
The GPIO that controls the CODEC's LDO1_EN pin.
57+
58+
realtek,btndet-delay:
59+
$ref: /schemas/types.yaml#/definitions/uint32
60+
description:
61+
The debounce delay for push button.
62+
The delay time is realtek,btndet-delay value multiple of 8.192 ms.
63+
If absent, the default is 16.
64+
65+
realtek,dmic-clk-rate-hz:
66+
description:
67+
Set the clock rate (hz) for the requirement of the particular DMIC.
68+
69+
realtek,dmic-delay-ms:
70+
description:
71+
Set the delay time (ms) for the requirement of the particular DMIC.
72+
73+
realtek,dmic-clk-driving-high:
74+
type: boolean
75+
description:
76+
Set the high driving of the DMIC clock out.
77+
78+
clocks:
79+
items:
80+
- description: phandle and clock specifier for codec MCLK.
81+
82+
clock-names:
83+
items:
84+
- const: mclk
85+
86+
"#clock-cells":
87+
const: 1
88+
89+
clock-output-names:
90+
minItems: 2
91+
maxItems: 2
92+
description: Name given for DAI word clock and bit clock outputs.
93+
94+
"#sound-dai-cells":
95+
const: 1
96+
97+
AVDD-supply:
98+
description: Regulator supplying analog power through the AVDD pin.
99+
100+
MICVDD-supply:
101+
description: Regulator supplying power for the microphone bias through
102+
the MICVDD pin.
103+
104+
VBAT-supply:
105+
description: Regulator supplying battery power through the VBAT pin.
106+
107+
DBVDD-supply:
108+
description: Regulator supplying I/O power through the DBVDD pin.
109+
110+
LDO1-IN-supply:
111+
description: Regulator supplying power to the digital core and charge
112+
pump through the LDO1_IN pin.
113+
114+
required:
115+
- compatible
116+
- reg
117+
- AVDD-supply
118+
- VBAT-supply
119+
- MICVDD-supply
120+
- DBVDD-supply
121+
- LDO1-IN-supply
122+
123+
unevaluatedProperties: false
124+
125+
examples:
126+
- |
127+
#include <dt-bindings/gpio/gpio.h>
128+
#include <dt-bindings/interrupt-controller/irq.h>
129+
130+
i2c {
131+
#address-cells = <1>;
132+
#size-cells = <0>;
133+
134+
codec@1a {
135+
compatible = "realtek,rt5682";
136+
reg = <0x1a>;
137+
interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
138+
realtek,ldo1-en-gpios =
139+
<&gpio 2 GPIO_ACTIVE_HIGH>;
140+
realtek,dmic1-data-pin = <1>;
141+
realtek,dmic1-clk-pin = <1>;
142+
realtek,jd-src = <1>;
143+
144+
#clock-cells = <1>;
145+
clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
146+
147+
clocks = <&osc>;
148+
clock-names = "mclk";
149+
150+
AVDD-supply = <&avdd_reg>;
151+
VBAT-supply = <&vbat_reg>;
152+
MICVDD-supply = <&micvdd_reg>;
153+
DBVDD-supply = <&dbvdd_reg>;
154+
LDO1-IN-supply = <&ldo1_in_reg>;
155+
};
156+
};

Documentation/devicetree/bindings/sound/rt5682.txt

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

Documentation/sound/designs/midi-2.0.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,17 @@ Rawmidi API Extensions
293293
status 0x05). When UMP core receives such a message, it updates the
294294
UMP EP info and the corresponding sequencer clients as well.
295295

296+
* The legacy rawmidi device number is found in the new `tied_device`
297+
field of the rawmidi info.
298+
On the other hand, the UMP rawmidi device number is found in
299+
`tied_device` field of the legacy rawmidi info, too.
300+
301+
* Each substream of the legacy rawmidi may be enabled / disabled
302+
dynamically depending on the UMP FB state.
303+
When the selected substream is inactive, it's indicated by the bit
304+
0x10 (`SNDRV_RAWMIDI_INFO_STREAM_INACTIVE`) in the `flags` field of
305+
the legacy rawmidi info.
306+
296307

297308
Control API Extensions
298309
======================
@@ -377,6 +388,13 @@ Sequencer API Extensions
377388
announcement to the ALSA sequencer system port, similarly like the
378389
normal port change notification.
379390

391+
* There are two extended event types for notifying the UMP Endpoint and
392+
Function Block changes via the system announcement port:
393+
type 68 (`SNDRV_SEQ_EVENT_UMP_EP_CHANGE`) and type 69
394+
(`SNDRV_SEQ_EVENT_UMP_BLOCK_CHANGE`). They take the new type,
395+
`snd_seq_ev_ump_notify` in the payload, indicating the client number
396+
and the FB number that are changed.
397+
380398

381399
MIDI2 USB Gadget Function Driver
382400
================================

MAINTAINERS

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7518,14 +7518,16 @@ L: [email protected]
75187518
S: Maintained
75197519
F: drivers/input/joystick/fsia6b.c
75207520

7521-
FOCUSRITE SCARLETT2 MIXER DRIVER (Scarlett Gen 2+ and Clarett)
7521+
FOCUSRITE CONTROL PROTOCOL/SCARLETT2 MIXER DRIVERS (Scarlett Gen 2+, Clarett, and Vocaster)
75227522
M: Geoffrey D. Bennett <[email protected]>
75237523
L: [email protected] (moderated for non-subscribers)
75247524
S: Maintained
7525-
W: https://github.com/geoffreybennett/scarlett-gen2
7526-
B: https://github.com/geoffreybennett/scarlett-gen2/issues
7527-
T: git https://github.com/geoffreybennett/scarlett-gen2.git
7525+
W: https://github.com/geoffreybennett/linux-fcp
7526+
B: https://github.com/geoffreybennett/linux-fcp/issues
7527+
T: git https://github.com/geoffreybennett/linux-fcp.git
7528+
F: include/uapi/sound/fcp.h
75287529
F: include/uapi/sound/scarlett2.h
7530+
F: sound/usb/fcp.c
75297531
F: sound/usb/mixer_scarlett2.c
75307532

75317533
FORCEDETH GIGABIT ETHERNET DRIVER

0 commit comments

Comments
 (0)