Skip to content

Commit 631d691

Browse files
committed
Merge tag 'sound-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai: "It was another busy development cycle, and the majority of changes are found in ASoC side. Below are Some highlights. ASoC core: - Lots of core cleanups and refactorings, still on-going work by Morimoto-san ASoC drivers: - Continued work on cleaning up and improving the Intel SOF stuff, along with new platform support including SoundWire - Fixes to make the Marvell SSPA driver work upstream - Support for AMD Renoir ACP, Dialog DA7212, Freescale EASRC and i.MX8M, Intel Elkhard Lake, Maxim MAX98390, Nuvoton NAU8812 and NAU8814 and Realtek RT1016. USB-audio: - Improvement for sync and implicit feedback streams with the more accurate frame size calculation and full-duplex support - Support for RME Babyface Pro and Prioneer DJ DJM HD-audio: - Fixes for Mic mute LED on HP machines - Re-enable support of Intel SST driver for SKL/KBL platforms FireWire: - Lots of refactoring, add support for RME FireFace and MOTU UltraLite-mk3" * tag 'sound-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (428 commits) ALSA: es1688: Add the missed snd_card_free() ALSA: hda: add sienna_cichlid audio asic id for sienna_cichlid up ALSA: usb-audio: Add Pioneer DJ DJM-900NXS2 support ASoC: qcom: q6asm-dai: kCFI fix ASoC: soc-card: add snd_soc_card_remove_dai_link() ASoC: soc-card: add snd_soc_card_add_dai_link() ASoC: soc-card: add snd_soc_card_set_bias_level_post() ASoC: soc-card: add snd_soc_card_set_bias_level() ASoC: soc-card: add snd_soc_card_remove() ASoC: soc-card: add snd_soc_card_late_probe() ASoC: soc-card: add snd_soc_card_probe() ASoC: soc-card: add probed bit field to snd_soc_card ASoC: soc-card: add snd_soc_card_resume_post() ASoC: soc-card: add snd_soc_card_resume_pre() ASoC: soc-card: add snd_soc_card_suspend_post() ASoC: soc-card: add snd_soc_card_suspend_pre() ASoC: soc-card: move snd_soc_card_subclass to soc-card ASoC: soc-card: move snd_soc_card_get_codec_dai() to soc-card ASoC: soc-card: move snd_soc_card_set/get_drvdata() to soc-card ASoC: soc-card: move snd_soc_card_jack_new() to soc-card ...
2 parents a0a4d17 + d9b8fbf commit 631d691

File tree

388 files changed

+17128
-4984
lines changed

Some content is hidden

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

388 files changed

+17128
-4984
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ properties:
1717
compatible:
1818
enum:
1919
- fsl,imx8qxp-dsp
20+
- fsl,imx8qm-dsp
21+
- fsl,imx8mp-dsp
2022

2123
reg:
2224
description: Should contain register location and length

Documentation/devicetree/bindings/sound/da7213.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Dialog Semiconductor DA7213 Audio Codec bindings
1+
Dialog Semiconductor DA7212/DA7213 Audio Codec bindings
22

33
======
44

55
Required properties:
6-
- compatible : Should be "dlg,da7213"
6+
- compatible : Should be "dlg,da7212" or "dlg,da7213"
77
- reg: Specifies the I2C slave address
88

99
Optional properties:
@@ -21,6 +21,10 @@ Optional properties:
2121
- dlg,dmic-clkrate : DMIC clock frequency (Hz).
2222
[<1500000>, <3000000>]
2323

24+
- VDDA-supply : Regulator phandle for Analogue power supply
25+
- VDDMIC-supply : Regulator phandle for Mic Bias
26+
- VDDIO-supply : Regulator phandle for I/O power supply
27+
2428
======
2529

2630
Example:

Documentation/devicetree/bindings/sound/fsl,asrc.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ Optional properties:
5151
will be in use as default. Otherwise, the big endian
5252
mode will be in use for all the device registers.
5353

54+
- fsl,asrc-format : Defines a mutual sample format used by DPCM Back
55+
Ends, which can replace the fsl,asrc-width.
56+
The value is 2 (S16_LE), or 6 (S24_LE).
57+
5458
Example:
5559

5660
asrc: asrc@2034000 {
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/fsl,easrc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP Asynchronous Sample Rate Converter (ASRC) Controller
8+
9+
maintainers:
10+
- Shengjiu Wang <[email protected]>
11+
12+
properties:
13+
$nodename:
14+
pattern: "^easrc@.*"
15+
16+
compatible:
17+
const: fsl,imx8mn-easrc
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
items:
27+
- description: Peripheral clock
28+
29+
clock-names:
30+
items:
31+
- const: mem
32+
33+
dmas:
34+
maxItems: 8
35+
36+
dma-names:
37+
items:
38+
- const: ctx0_rx
39+
- const: ctx0_tx
40+
- const: ctx1_rx
41+
- const: ctx1_tx
42+
- const: ctx2_rx
43+
- const: ctx2_tx
44+
- const: ctx3_rx
45+
- const: ctx3_tx
46+
47+
firmware-name:
48+
allOf:
49+
- $ref: /schemas/types.yaml#/definitions/string
50+
- const: imx/easrc/easrc-imx8mn.bin
51+
description: The coefficient table for the filters
52+
53+
fsl,asrc-rate:
54+
allOf:
55+
- $ref: /schemas/types.yaml#/definitions/uint32
56+
- minimum: 8000
57+
- maximum: 192000
58+
description: Defines a mutual sample rate used by DPCM Back Ends
59+
60+
fsl,asrc-format:
61+
allOf:
62+
- $ref: /schemas/types.yaml#/definitions/uint32
63+
- enum: [2, 6, 10, 32, 36]
64+
default: 2
65+
description:
66+
Defines a mutual sample format used by DPCM Back Ends
67+
68+
required:
69+
- compatible
70+
- reg
71+
- interrupts
72+
- clocks
73+
- clock-names
74+
- dmas
75+
- dma-names
76+
- firmware-name
77+
- fsl,asrc-rate
78+
- fsl,asrc-format
79+
80+
examples:
81+
- |
82+
#include <dt-bindings/clock/imx8mn-clock.h>
83+
84+
easrc: easrc@300c0000 {
85+
compatible = "fsl,imx8mn-easrc";
86+
reg = <0x0 0x300c0000 0x0 0x10000>;
87+
interrupts = <0x0 122 0x4>;
88+
clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
89+
clock-names = "mem";
90+
dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>,
91+
<&sdma2 18 23 0> , <&sdma2 19 23 0>,
92+
<&sdma2 20 23 0> , <&sdma2 21 23 0>,
93+
<&sdma2 22 23 0> , <&sdma2 23 23 0>;
94+
dma-names = "ctx0_rx", "ctx0_tx",
95+
"ctx1_rx", "ctx1_tx",
96+
"ctx2_rx", "ctx2_tx",
97+
"ctx3_rx", "ctx3_tx";
98+
firmware-name = "imx/easrc/easrc-imx8mn.bin";
99+
fsl,asrc-rate = <8000>;
100+
fsl,asrc-format = <2>;
101+
};

Documentation/devicetree/bindings/sound/fsl,esai.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Required properties:
1212
"fsl,imx35-esai",
1313
"fsl,vf610-esai",
1414
"fsl,imx6ull-esai",
15+
"fsl,imx8qm-esai",
1516

1617
- reg : Offset and length of the register set for the device.
1718

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvel SSPA Digital Audio Interface Bindings
8+
9+
maintainers:
10+
- Lubomir Rintel <[email protected]>
11+
12+
properties:
13+
$nodename:
14+
pattern: "^audio-controller(@.*)?$"
15+
16+
compatible:
17+
const: marvell,mmp-sspa
18+
19+
reg:
20+
items:
21+
- description: RX block
22+
- description: TX block
23+
24+
interrupts:
25+
maxItems: 1
26+
27+
clocks:
28+
items:
29+
- description: Clock for the Audio block
30+
- description: I2S bit clock
31+
32+
clock-names:
33+
items:
34+
- const: audio
35+
- const: bitclk
36+
37+
power-domains:
38+
maxItems: 1
39+
40+
'#sound-dai-cells':
41+
const: 0
42+
43+
dmas:
44+
items:
45+
- description: TX DMA Channel
46+
- description: RX DMA Channel
47+
48+
dma-names:
49+
items:
50+
- const: tx
51+
- const: rx
52+
53+
port:
54+
type: object
55+
56+
properties:
57+
endpoint:
58+
type: object
59+
60+
properties:
61+
remote-endpoint: true
62+
63+
frame-master:
64+
type: boolean
65+
description: SoC generates the frame clock
66+
67+
bitclock-master:
68+
type: boolean
69+
description: SoC generates the bit clock
70+
71+
dai-format:
72+
$ref: /schemas/types.yaml#/definitions/string
73+
description: The digital audio format
74+
const: i2s
75+
76+
required:
77+
- remote-endpoint
78+
79+
required:
80+
- endpoint
81+
82+
additionalProperties: false
83+
84+
required:
85+
- "#sound-dai-cells"
86+
- compatible
87+
- reg
88+
- interrupts
89+
- clocks
90+
- clock-names
91+
- dmas
92+
- dma-names
93+
- port
94+
95+
additionalProperties: false
96+
97+
examples:
98+
- |
99+
#include <dt-bindings/clock/marvell,mmp2.h>
100+
101+
audio-controller@d42a0c00 {
102+
compatible = "marvell,mmp-sspa";
103+
reg = <0xd42a0c00 0x30>,
104+
<0xd42a0c80 0x30>;
105+
interrupts = <2>;
106+
clock-names = "audio", "bitclk";
107+
clocks = <&soc_clocks 127>,
108+
<&audio_clk 1>;
109+
#sound-dai-cells = <0>;
110+
dmas = <&adma0 0>, <&adma0 1>;
111+
dma-names = "tx", "rx";
112+
port {
113+
endpoint {
114+
remote-endpoint = <&rt5631_0>;
115+
frame-master;
116+
bitclock-master;
117+
dai-format = "i2s";
118+
};
119+
};
120+
};
121+
122+
...

Documentation/devicetree/bindings/sound/nau8810.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
NAU8810 audio CODEC
1+
NAU8810/NAU8812/NAU8814 audio CODEC
22

33
This device supports I2C only.
44

55
Required properties:
66

7-
- compatible : "nuvoton,nau8810"
7+
- compatible : One of "nuvoton,nau8810" or "nuvoton,nau8812" or
8+
"nuvoton,nau8814"
89

910
- reg : the I2C address of the device.
1011

Documentation/devicetree/bindings/sound/nau8825.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ Example:
101101
nuvoton,crosstalk-enable;
102102

103103
clock-names = "mclk";
104-
clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_2>;
104+
clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_2>;
105105
};

Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Optional properties:
2929
- nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
3030
- nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
3131
- nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
32+
- nvidia,headset : The Mic Jack represents state of the headset microphone pin
3233

3334
Example:
3435

Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,29 @@ Required properties:
3030
- reg : Must contain an address for each entry in reg-names.
3131
- reg-names : A list which must include the following entries:
3232
* "lpass-lpaif"
33+
- #address-cells : Must be 1
34+
- #size-cells : Must be 0
3335

3436

3537

3638
Optional properties:
3739

3840
- qcom,adsp : Phandle for the audio DSP node
3941

42+
By default, the driver uses up to 4 MI2S SD lines, for a total of 8 channels.
43+
The SD lines to use can be configured by adding subnodes for each of the DAIs.
44+
45+
Required properties for each DAI (represented by a subnode):
46+
- reg : Must be one of the DAI IDs
47+
(usually part of dt-bindings header)
48+
- qcom,playback-sd-lines: List of serial data lines to use for playback
49+
Each SD line should be represented by a number from 0-3.
50+
- qcom,capture-sd-lines : List of serial data lines to use for capture
51+
Each SD line should be represented by a number from 0-3.
52+
53+
Note that adding a subnode changes the default to "no lines configured",
54+
so both playback and capture lines should be configured when a subnode is added.
55+
4056
Example:
4157

4258
lpass@28100000 {
@@ -51,4 +67,13 @@ lpass@28100000 {
5167
reg = <0x28100000 0x10000>;
5268
reg-names = "lpass-lpaif";
5369
qcom,adsp = <&adsp>;
70+
71+
#address-cells = <1>;
72+
#size-cells = <0>;
73+
74+
/* Optional to set different MI2S SD lines */
75+
dai@3 {
76+
reg = <MI2S_QUATERNARY>;
77+
qcom,playback-sd-lines = <0 1>;
78+
};
5479
};

0 commit comments

Comments
 (0)