Skip to content

Commit c367caf

Browse files
committed
Merge tag 'sound-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai: "Lots of changes (slightly more code increase than usual) at this time, while most of code changes are ASoC driver-specific. Here are some highlights: Core: - The new auxiliary bus implementation for Intel DSP, which will be used by other drivers as well - Lots of ASoC core cleanups and refactoring - UBSAN and KCSAN fixes in rawmidi, sequencer and a few others - Compress-offload API enhancement for the pause during draining HD- and USB-audio: - Enhancements of the USB-audio implicit feedback support, including better full-duplex operations - Continued CA0132 improvements and fixes - A few new quirk entries, HDMI audio fixes ASoC: - Support for boot time selection of Intel DSP firmware, which should help distros/users testing new stuff more easily; the kconfig was moved to boot time option, too - Some basic DPCM support in audio graph card - Removal of old pre-DT Freescale drivers - Support for Allwinner H6 I2S, Analog Devices ADAU1372, Intel Alderlake-S, GMediatek MT8192, NXP i.MX HDMI and XCVR, Realtek RT715, Qualcomm SM8250 and simple GPIO based muxes" * tag 'sound-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (445 commits) ALSA: pcm: oss: Fix potential out-of-bounds shift ALSA: usb-audio: Fix potential out-of-bounds shift ALSA: hda/ca0132 - Add ZxR surround DAC setup. ALSA: hda/ca0132 - Add 8051 PLL write helper functions. ALSA: hda/hdmi: packet buffer index must be set before reading value ASoC: SOF: imx: update kernel-doc description ASoC: mediatek: mt8183: delete some unreachable code ASoC: mediatek: mt8183: add PM ops to machine drivers ASoC: topology: Fix wrong size check ASoC: topology: Add missing size check ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err ASoC: SOF: modify the SOF_DBG flags ASoC: SOF: Intel: hda: remove duplicated status dump ASoC: rt1015p: delay 300ms after SDB pulling high for calibration ASoC: rt1015p: move SDB control from trigger to DAPM ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control() ALSA: usb-audio: Fix control 'access overflow' errors from chmap ALSA: hda/hdmi: always print pin NIDs as hexadecimal ALSA: hda/realtek - Add supported for more Lenovo ALC285 Headset Button ALSA: hda/ca0132 - Remove now unnecessary DSP setup functions. ...
2 parents d635a69 + 598100b commit c367caf

378 files changed

Lines changed: 32762 additions & 6894 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.

‎Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ patternProperties:
199199
description:
200200
From common IIO binding. Used to pipe external sigma delta
201201
modulator or internal ADC output to DFSDM channel.
202-
This is not required for "st,stm32-dfsdm-pdm" compatibility as
203-
PDM microphone is binded in Audio DT node.
204202

205203
required:
206204
- io-channels
@@ -235,6 +233,10 @@ patternProperties:
235233
description: child node
236234

237235
properties:
236+
compatible:
237+
enum:
238+
- st,stm32h7-dfsdm-dai
239+
238240
"#sound-dai-cells":
239241
const: 0
240242

@@ -244,6 +246,7 @@ patternProperties:
244246
modulator or internal ADC output to DFSDM channel.
245247

246248
required:
249+
- compatible
247250
- "#sound-dai-cells"
248251
- io-channels
249252

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/adi,adau1372.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
8+
title: Analog Devices ADAU1372 CODEC
9+
10+
maintainers:
11+
- Alexandre Belloni <alexandre.belloni@bootlin.om>
12+
13+
description: |
14+
Analog Devices ADAU1372 four inputs and two outputs codec.
15+
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- adi,adau1372
21+
22+
reg:
23+
maxItems: 1
24+
25+
"#sound-dai-cells":
26+
const: 0
27+
28+
clocks:
29+
maxItems: 1
30+
31+
clock-names:
32+
const: "mclk"
33+
34+
powerdown-gpios:
35+
description: GPIO used for hardware power-down.
36+
maxItems: 1
37+
38+
required:
39+
- "#sound-dai-cells"
40+
- compatible
41+
- reg
42+
- clocks
43+
- clock-names
44+
45+
additionalProperties: false
46+
47+
examples:
48+
- |
49+
i2c {
50+
#address-cells = <1>;
51+
#size-cells = <0>;
52+
audio-codec@3c {
53+
compatible = "adi,adau1372";
54+
reg = <0x3c>;
55+
#sound-dai-cells = <0>;
56+
clock-names = "mclk";
57+
clocks = <&adau1372z_xtal>;
58+
};
59+
};
60+
61+
adau1372z_xtal: clock {
62+
compatible = "fixed-clock";
63+
#clock-cells = <0>;
64+
clock-frequency = <12288000>;
65+
};
66+
...
67+

‎Documentation/devicetree/bindings/sound/adi,adau1977.txt‎

Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/adi,adau1977.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics
8+
9+
maintainers:
10+
- Lars-Peter Clausen <lars@metafoo.de>
11+
- Bogdan Togorean <bogdan.togorean@analog.com>
12+
13+
description: |
14+
Analog Devices ADAU1977 and similar quad ADC with Diagnostics
15+
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf
16+
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf
17+
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- adi,adau1977
23+
- adi,adau1978
24+
- adi,adau1979
25+
26+
reg:
27+
maxItems: 1
28+
29+
"#sound-dai-cells":
30+
const: 0
31+
32+
reset-gpios:
33+
maxItems: 1
34+
35+
spi-max-frequency: true
36+
37+
AVDD-supply:
38+
description: Analog power support for the device.
39+
40+
DVDD-supply:
41+
description: Supply voltage for digital core.
42+
43+
adi,micbias:
44+
description: |
45+
Configures the voltage setting for the MICBIAS pin.
46+
$ref: /schemas/types.yaml#/definitions/uint32
47+
enum: [0, 1, 2, 3, 4, 5, 6, 7, 8]
48+
default: 7
49+
50+
required:
51+
- reg
52+
- compatible
53+
- AVDD-supply
54+
55+
additionalProperties: false
56+
57+
examples:
58+
- |
59+
#include <dt-bindings/gpio/gpio.h>
60+
61+
spi {
62+
#address-cells = <1>;
63+
#size-cells = <0>;
64+
adau1977_spi: adau1977@0 {
65+
compatible = "adi,adau1977";
66+
reg = <0>;
67+
spi-max-frequency = <600000>;
68+
69+
AVDD-supply = <&regulator>;
70+
DVDD-supply = <&regulator_digital>;
71+
72+
reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
73+
74+
adi,micbias = <3>;
75+
};
76+
};
77+
- |
78+
#include <dt-bindings/gpio/gpio.h>
79+
80+
i2c {
81+
#address-cells = <1>;
82+
#size-cells = <0>;
83+
adau1977_i2c: adau1977@11 {
84+
compatible = "adi,adau1977";
85+
reg = <0x11>;
86+
87+
AVDD-supply = <&regulator>;
88+
DVDD-supply = <&regulator_digital>;
89+
90+
reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
91+
};
92+
};

‎Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ properties:
2424
- items:
2525
- const: allwinner,sun50i-a64-i2s
2626
- const: allwinner,sun8i-h3-i2s
27+
- const: allwinner,sun50i-h6-i2s
2728

2829
reg:
2930
maxItems: 1
@@ -59,6 +60,7 @@ allOf:
5960
- allwinner,sun8i-a83t-i2s
6061
- allwinner,sun8i-h3-i2s
6162
- allwinner,sun50i-a64-codec-i2s
63+
- allwinner,sun50i-h6-i2s
6264

6365
then:
6466
required:
@@ -68,7 +70,9 @@ allOf:
6870
properties:
6971
compatible:
7072
contains:
71-
const: allwinner,sun8i-a83t-i2s
73+
enum:
74+
- allwinner,sun8i-a83t-i2s
75+
- allwinner,sun8i-h3-i2s
7276

7377
then:
7478
properties:

0 commit comments

Comments
 (0)