Skip to content

Commit c5e90e8

Browse files
committed
ASoC: Updates for v7.2 There's been quite a lot of framework improvements this time around, though mainly cleanups and robustness rather than user visible features. The same pattern is seen with a lot of the driver work that's going on, there are new features but a huge proportion of this is bug fixing and cleanup work. We also have a good selectio of new device support. - Improvements to SDCA jack handling from Charles Keepax. - Use of device links to make suspend handling more robust from Richard Fitzgerald. - Use of a new helper to factor out a common pattern in SoundWire enmeration from Charles Keepax. - Slimming down of the component from Kuninori Morimoto. - Simplification of format auto selection from Kuninori Morimoto. - Lots of conversions to guard() from Bui Duc Phuc. - Addition of a simple-amplifier driver supporting more featureful GPIO controller amplifiers than the previous basic driver from Herve Codina. - Support for AMD ACP 7.x, Cirrus Logic CS42448/CS42888, Everest Semi ES9356, Mediatek MT2701 and MT8196, Renesas RZ/G3E, Spacemit K3, Texas Instruments TAC5xx2 and TAS67524.
2 parents 15c0f79 + 4346d91 commit c5e90e8

800 files changed

Lines changed: 44537 additions & 6010 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/crypto/qcom,inline-crypto-engine.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ properties:
3030
maxItems: 1
3131

3232
clocks:
33+
minItems: 1
34+
maxItems: 2
35+
36+
clock-names:
37+
minItems: 1
38+
items:
39+
- const: core
40+
- const: iface
41+
42+
power-domains:
3343
maxItems: 1
3444

3545
operating-points-v2: true
@@ -44,6 +54,25 @@ required:
4454

4555
additionalProperties: false
4656

57+
allOf:
58+
- if:
59+
properties:
60+
compatible:
61+
contains:
62+
enum:
63+
- qcom,eliza-inline-crypto-engine
64+
- qcom,milos-inline-crypto-engine
65+
66+
then:
67+
required:
68+
- power-domains
69+
- clock-names
70+
properties:
71+
clocks:
72+
minItems: 2
73+
clock-names:
74+
minItems: 2
75+
4776
examples:
4877
- |
4978
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
@@ -52,7 +81,11 @@ examples:
5281
compatible = "qcom,sm8550-inline-crypto-engine",
5382
"qcom,inline-crypto-engine";
5483
reg = <0x01d88000 0x8000>;
55-
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
84+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
85+
<&gcc GCC_UFS_PHY_AHB_CLK>;
86+
clock-names = "core",
87+
"iface";
88+
power-domains = <&gcc UFS_PHY_GDSC>;
5689
5790
operating-points-v2 = <&ice_opp_table>;
5891

Documentation/devicetree/bindings/net/eswin,eic7700-eth.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ properties:
8484
This reference is provided for background information only.
8585
$ref: /schemas/types.yaml#/definitions/phandle-array
8686
items:
87-
- items:
87+
- minItems: 4
88+
items:
8889
- description: Phandle to HSP(High-Speed Peripheral) device
8990
- description: Offset of phy control register for internal
9091
or external clock selection

Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/cdns,xtfpga-i2s.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: I2S controller built into xtfpga Xtensa bitstreams
8+
9+
maintainers:
10+
- Max Filippov <jcmvbkbc@gmail.com>
11+
12+
allOf:
13+
- $ref: dai-common.yaml#
14+
15+
properties:
16+
compatible:
17+
const: cdns,xtfpga-i2s
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
maxItems: 1
27+
description: phandle to the clk used as master clock. I2S bus clock is derived from it.
28+
29+
"#sound-dai-cells":
30+
const: 0
31+
32+
required:
33+
- compatible
34+
- reg
35+
- interrupts
36+
- clocks
37+
38+
unevaluatedProperties: false
39+
40+
examples:
41+
- |
42+
i2s@d080000 {
43+
compatible = "cdns,xtfpga-i2s";
44+
reg = <0x0d080000 0x40>;
45+
interrupts = <2 1>;
46+
clocks = <&cdce706 4>;
47+
#sound-dai-cells = <0>;
48+
};

Documentation/devicetree/bindings/sound/cirrus,cs42xx8.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ maintainers:
1111

1212
allOf:
1313
- $ref: dai-common.yaml#
14+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
1415

1516
properties:
1617
compatible:
@@ -21,6 +22,9 @@ properties:
2122
reg:
2223
maxItems: 1
2324

25+
spi-max-frequency:
26+
maximum: 6000000
27+
2428
clocks:
2529
minItems: 1
2630
maxItems: 2
@@ -86,3 +90,22 @@ examples:
8690
reset-gpios = <&gpio 1>;
8791
};
8892
};
93+
94+
spi {
95+
#address-cells = <1>;
96+
#size-cells = <0>;
97+
cs-gpios = <&gpio 8 0>;
98+
99+
codec@0 {
100+
compatible = "cirrus,cs42888";
101+
reg = <0>;
102+
spi-max-frequency = <6000000>;
103+
clocks = <&codec_mclk 0>;
104+
clock-names = "mclk";
105+
VA-supply = <&reg_audio>;
106+
VD-supply = <&reg_audio>;
107+
VLS-supply = <&reg_audio>;
108+
VLC-supply = <&reg_audio>;
109+
reset-gpios = <&gpio 1>;
110+
};
111+
};

Documentation/devicetree/bindings/sound/everest,es8389.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ properties:
2727
items:
2828
- const: mclk
2929

30+
port:
31+
$ref: audio-graph-port.yaml#
32+
unevaluatedProperties: false
33+
3034
"#sound-dai-cells":
3135
const: 0
3236

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ properties:
9898
- rpmsg-audio-channel
9999
- rpmsg-micfil-channel
100100

101+
hp-det-gpios:
102+
maxItems: 1
103+
description: The GPIO that detect headphones are plugged in
104+
101105
required:
102106
- compatible
103107

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ properties:
162162
of transmitter.
163163
type: boolean
164164

165+
fsl,sai-bit-clock-swap:
166+
description:
167+
Enable Bit Clock Swap, which swaps the bit clock used by the transmitter
168+
or receiver in asynchronous mode, i.e. makes transmitter use RX_BCLK and
169+
TX_SYNC, and vice versa, makes receiver use TX_BCLK and RX_SYNC.
170+
type: boolean
171+
165172
fsl,shared-interrupt:
166173
description: Interrupt is shared with other modules.
167174
type: boolean

0 commit comments

Comments
 (0)