Skip to content

Commit 4deaf4e

Browse files
committed
Merge remote-tracking branch 'asoc/for-6.17' into asoc-next
2 parents b081d85 + d9f38d9 commit 4deaf4e

86 files changed

Lines changed: 1508 additions & 891 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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,mxs-audio-sgtl5000.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale MXS audio complex with SGTL5000 codec
8+
9+
maintainers:
10+
- Frank Li <Frank.Li@nxp.com>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- bluegiga,apx4devkit-sgtl5000
17+
- denx,m28evk-sgtl5000
18+
- fsl,imx28-evk-sgtl5000
19+
- fsl,imx28-mbmx28lc-sgtl5000
20+
- fsl,imx28-tx28-sgtl5000
21+
- const: fsl,mxs-audio-sgtl5000
22+
23+
model:
24+
$ref: /schemas/types.yaml#/definitions/string
25+
description: The user-visible name of this sound complex
26+
27+
saif-controllers:
28+
$ref: /schemas/types.yaml#/definitions/phandle-array
29+
description: The phandle list of the MXS SAIF controller
30+
31+
audio-codec:
32+
$ref: /schemas/types.yaml#/definitions/phandle
33+
description: The phandle of the SGTL5000 audio codec
34+
35+
audio-routing:
36+
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
37+
description: |
38+
A list of the connections between audio components.
39+
Each entry is a pair of strings, the first being the
40+
connection's sink, the second being the connection's
41+
source. Valid names could be power supplies, SGTL5000
42+
pins, and the jacks on the board:
43+
44+
Power supplies:
45+
* Mic Bias
46+
47+
SGTL5000 pins:
48+
* MIC_IN
49+
* LINE_IN
50+
* HP_OUT
51+
* LINE_OUT
52+
53+
Board connectors:
54+
* Mic Jack
55+
* Line In Jack
56+
* Headphone Jack
57+
* Line Out Jack
58+
* Ext Spk
59+
60+
required:
61+
- compatible
62+
- saif-controllers
63+
- audio-codec
64+
65+
allOf:
66+
- $ref: dai-common.yaml#
67+
68+
unevaluatedProperties: false
69+
70+
examples:
71+
- |
72+
sound {
73+
compatible = "fsl,imx28-evk-sgtl5000", "fsl,mxs-audio-sgtl5000";
74+
model = "imx28-evk-sgtl5000";
75+
saif-controllers = <&saif0 &saif1>;
76+
audio-codec = <&sgtl5000>;
77+
audio-routing =
78+
"MIC_IN", "Mic Jack",
79+
"Mic Jack", "Mic Bias",
80+
"Headphone Jack", "HP_OUT";
81+
};
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/mediatek,mt8173-afe-pcm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mediatek AFE PCM controller for MT8173
8+
9+
maintainers:
10+
- Trevor Wu <trevor.wu@mediatek.com>
11+
12+
properties:
13+
compatible:
14+
const: mediatek,mt8173-afe-pcm
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
clocks:
23+
items:
24+
- description: audio infra sys clock
25+
- description: audio top mux
26+
- description: audio intbus mux
27+
- description: apll1 clock
28+
- description: apll2 clock
29+
- description: i2s0 mclk mux
30+
- description: i2s1 mclk mux
31+
- description: i2s2 mclk mux
32+
- description: i2s3 mclk mux
33+
- description: i2s3 bclk mux
34+
35+
clock-names:
36+
items:
37+
- const: infra_sys_audio_clk
38+
- const: top_pdn_audio
39+
- const: top_pdn_aud_intbus
40+
- const: bck0
41+
- const: bck1
42+
- const: i2s0_m
43+
- const: i2s1_m
44+
- const: i2s2_m
45+
- const: i2s3_m
46+
- const: i2s3_b
47+
48+
power-domains:
49+
maxItems: 1
50+
51+
memory-region:
52+
description: memory region for audio DMA buffers
53+
maxItems: 1
54+
55+
required:
56+
- compatible
57+
- reg
58+
- interrupts
59+
- clocks
60+
- clock-names
61+
- power-domains
62+
63+
additionalProperties: false
64+
65+
examples:
66+
- |
67+
#include <dt-bindings/clock/mt8173-clk.h>
68+
#include <dt-bindings/interrupt-controller/arm-gic.h>
69+
#include <dt-bindings/interrupt-controller/irq.h>
70+
#include <dt-bindings/power/mt8173-power.h>
71+
72+
mt8173-afe-pcm@11220000 {
73+
compatible = "mediatek,mt8173-afe-pcm";
74+
reg = <0x11220000 0x1000>;
75+
interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_FALLING>;
76+
power-domains = <&spm MT8173_POWER_DOMAIN_AUDIO>;
77+
clocks = <&infracfg CLK_INFRA_AUDIO>,
78+
<&topckgen CLK_TOP_AUDIO_SEL>,
79+
<&topckgen CLK_TOP_AUD_INTBUS_SEL>,
80+
<&topckgen CLK_TOP_APLL1_DIV0>,
81+
<&topckgen CLK_TOP_APLL2_DIV0>,
82+
<&topckgen CLK_TOP_I2S0_M_SEL>,
83+
<&topckgen CLK_TOP_I2S1_M_SEL>,
84+
<&topckgen CLK_TOP_I2S2_M_SEL>,
85+
<&topckgen CLK_TOP_I2S3_M_SEL>,
86+
<&topckgen CLK_TOP_I2S3_B_SEL>;
87+
clock-names = "infra_sys_audio_clk",
88+
"top_pdn_audio",
89+
"top_pdn_aud_intbus",
90+
"bck0",
91+
"bck1",
92+
"i2s0_m",
93+
"i2s1_m",
94+
"i2s2_m",
95+
"i2s3_m",
96+
"i2s3_b";
97+
memory-region = <&afe_dma_mem>;
98+
};

Documentation/devicetree/bindings/sound/mt8186-afe-pcm.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ properties:
2525
reset-names:
2626
const: audiosys
2727

28+
memory-region:
29+
description: memory region for audio DMA buffers
30+
maxItems: 1
31+
2832
mediatek,apmixedsys:
2933
$ref: /schemas/types.yaml#/definitions/phandle
3034
description: The phandle of the mediatek apmixedsys controller
@@ -170,6 +174,7 @@ examples:
170174
"top_apll12_div_tdm",
171175
"top_mux_audio_h",
172176
"top_clk26m_clk";
177+
memory-region = <&afe_dma_mem>;
173178
};
174179
175180
...

Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ properties:
2323
reset-names:
2424
const: audiosys
2525

26+
memory-region:
27+
description: memory region for audio DMA buffers
28+
maxItems: 1
29+
2630
mediatek,apmixedsys:
2731
$ref: /schemas/types.yaml#/definitions/phandle
2832
description: The phandle of the mediatek apmixedsys controller
@@ -95,6 +99,7 @@ examples:
9599
"aud_dac_predis_clk",
96100
"aud_infra_clk",
97101
"aud_infra_26m_clk";
102+
memory-region = <&afe_dma_mem>;
98103
};
99104
100105
...

Documentation/devicetree/bindings/sound/mtk-afe-pcm.txt

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

Documentation/devicetree/bindings/sound/mxs-audio-sgtl5000.txt

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

Documentation/devicetree/bindings/sound/qcom,wcd939x.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ properties:
4545
purpose of handling altmode muxing and orientation switching to detect and
4646
enable Audio Accessory Mode.
4747

48+
vdd-px-supply:
49+
description: A reference to the 1.2V PX supply
50+
4851
required:
4952
- compatible
5053

Documentation/devicetree/bindings/sound/richtek,rt9123.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id: http://devicetree.org/schemas/sound/richtek,rt9123.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Richtek RT9123 Audio Amplifier
7+
title: Richtek RT9123/RTQ9124 Audio Amplifier
88

99
maintainers:
1010
- ChiYuan Huang <cy_huang@richtek.com>
@@ -15,13 +15,20 @@ description:
1515
support various formats, including I2S, left-justified, right-justified, and
1616
TDM formats.
1717

18+
RTQ9124 is an ultra-low output noise, digital input, mono-channel Class-D
19+
power amplifier that supports a 2.1MHz switching frequency. It integrates
20+
both DC and AC load diagnostics, as well as real-time load monitoring to
21+
assess speaker condition. The device operates from 4.5V to 18V and delivers
22+
up to 30W output power.
23+
1824
allOf:
1925
- $ref: dai-common.yaml#
2026

2127
properties:
2228
compatible:
2329
enum:
2430
- richtek,rt9123
31+
- richtek,rtq9124
2532

2633
reg:
2734
maxItems: 1

Documentation/devicetree/bindings/sound/ti,tas57xx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
- ti,tas5719
1919
- ti,tas5721
2020
- ti,tas5733
21+
- ti,tas5753
2122

2223
reg:
2324
maxItems: 1
@@ -98,6 +99,7 @@ allOf:
9899
contains:
99100
enum:
100101
- ti,tas5721
102+
- ti,tas5753
101103
then:
102104
properties:
103105
HPVDD-supply: false

0 commit comments

Comments
 (0)