Skip to content

Commit 9a6a362

Browse files
committed
Merge remote-tracking branches 'asoc/topic/samsung', 'asoc/topic/sgtl5000', 'asoc/topic/sti' and 'asoc/topic/sunxi' into asoc-next
5 parents cc3266b + 42a74e7 + 0593d46 + 7d267dd + 62ee4ec commit 9a6a362

23 files changed

+943
-621
lines changed

Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt

-35
This file was deleted.

Documentation/devicetree/bindings/sound/sgtl5000.txt

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Required properties:
77

88
- clocks : the clock provider of SYS_MCLK
99

10+
- VDDA-supply : the regulator provider of VDDA
11+
12+
- VDDIO-supply: the regulator provider of VDDIO
13+
14+
Optional properties:
15+
16+
- VDDD-supply : the regulator provider of VDDD
17+
1018
- micbias-resistor-k-ohms : the bias resistor to be used in kOmhs
1119
The resistor can take values of 2k, 4k or 8k.
1220
If set to 0 it will be off.
@@ -15,17 +23,9 @@ Required properties:
1523

1624
- micbias-voltage-m-volts : the bias voltage to be used in mVolts
1725
The voltage can take values from 1.25V to 3V by 250mV steps
18-
If this node is not mentionned or the value is unknown, then
26+
If this node is not mentioned or the value is unknown, then
1927
the value is set to 1.25V.
2028

21-
- VDDA-supply : the regulator provider of VDDA
22-
23-
- VDDIO-supply: the regulator provider of VDDIO
24-
25-
Optional properties:
26-
27-
- VDDD-supply : the regulator provider of VDDD
28-
2929
Example:
3030

3131
codec: sgtl5000@0a {

Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Required properties:
3333
"tx" for "st,sti-uni-player" compatibility
3434
"rx" for "st,sti-uni-reader" compatibility
3535

36-
- version: IP version integrated in SOC.
36+
- st,version: IP version integrated in SOC.
3737

3838
- dai-name: DAI name that describes the IP.
3939

40-
- IP mode: IP working mode depending on associated codec.
40+
- st,mode: IP working mode depending on associated codec.
4141
"HDMI" connected to HDMI codec and support IEC HDMI formats (player only).
4242
"SPDIF" connected to SPDIF codec and support SPDIF formats (player only).
4343
"PCM" PCM standard mode for I2S or TDM bus.
@@ -47,7 +47,7 @@ Required properties ("st,sti-uni-player" compatibility only):
4747
- clocks: CPU_DAI IP clock source, listed in the same order than the
4848
CPU_DAI properties.
4949

50-
- uniperiph-id: internal SOC IP instance ID.
50+
- st,uniperiph-id: internal SOC IP instance ID.
5151

5252
Optional properties:
5353
- pinctrl-0: defined for CPU_DAI@1 and CPU_DAI@4 to describe I2S PIOs for
@@ -84,9 +84,9 @@ Example:
8484
dmas = <&fdma0 4 0 1>;
8585
dai-name = "Uni Player #2 (DAC)";
8686
dma-names = "tx";
87-
uniperiph-id = <2>;
88-
version = <5>;
89-
mode = "PCM";
87+
st,uniperiph-id = <2>;
88+
st,version = <5>;
89+
st,mode = "PCM";
9090
};
9191

9292
sti_uni_player3: sti-uni-player@3 {
@@ -100,9 +100,9 @@ Example:
100100
dmas = <&fdma0 7 0 1>;
101101
dma-names = "tx";
102102
dai-name = "Uni Player #3 (SPDIF)";
103-
uniperiph-id = <3>;
104-
version = <5>;
105-
mode = "SPDIF";
103+
st,uniperiph-id = <3>;
104+
st,version = <5>;
105+
st,mode = "SPDIF";
106106
};
107107

108108
sti_uni_reader1: sti-uni-reader@1 {
@@ -115,7 +115,7 @@ Example:
115115
dmas = <&fdma0 6 0 1>;
116116
dma-names = "rx";
117117
dai-name = "Uni Reader #1 (HDMI RX)";
118-
version = <3>;
118+
st,version = <3>;
119119
st,mode = "PCM";
120120
};
121121

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
* Allwinner A10 I2S controller
2+
3+
The I2S bus (Inter-IC sound bus) is a serial link for digital
4+
audio data transfer between devices in the system.
5+
6+
Required properties:
7+
8+
- compatible: should be one of the followings
9+
- "allwinner,sun4i-a10-i2s"
10+
- reg: physical base address of the controller and length of memory mapped
11+
region.
12+
- interrupts: should contain the I2S interrupt.
13+
- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
14+
Documentation/devicetree/bindings/dma/dma.txt
15+
- dma-names: should include "tx" and "rx".
16+
- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
17+
- clock-names: should contain followings:
18+
- "apb" : clock for the I2S bus interface
19+
- "mod" : module clock for the I2S controller
20+
- #sound-dai-cells : Must be equal to 0
21+
22+
Example:
23+
24+
i2s0: i2s@01c22400 {
25+
#sound-dai-cells = <0>;
26+
compatible = "allwinner,sun4i-a10-i2s";
27+
reg = <0x01c22400 0x400>;
28+
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
29+
clocks = <&apb0_gates 3>, <&i2s0_clk>;
30+
clock-names = "apb", "mod";
31+
dmas = <&dma SUN4I_DMA_NORMAL 3>,
32+
<&dma SUN4I_DMA_NORMAL 3>;
33+
dma-names = "rx", "tx";
34+
};

MAINTAINERS

+2-1
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,6 @@ F: drivers/*/*/*s3c2410*
16081608
F: drivers/memory/samsung/*
16091609
F: drivers/soc/samsung/*
16101610
F: drivers/spi/spi-s3c*
1611-
F: sound/soc/samsung/*
16121611
F: Documentation/arm/Samsung/
16131612
F: Documentation/devicetree/bindings/arm/samsung/
16141613
F: Documentation/devicetree/bindings/sram/samsung-sram.txt
@@ -9903,7 +9902,9 @@ S: Maintained
99039902
F: drivers/platform/x86/samsung-laptop.c
99049903

99059904
SAMSUNG AUDIO (ASoC) DRIVERS
9905+
M: Krzysztof Kozlowski <[email protected]>
99069906
M: Sangbeom Kim <[email protected]>
9907+
M: Sylwester Nawrocki <[email protected]>
99079908
L: [email protected] (moderated for non-subscribers)
99089909
S: Supported
99099910
F: sound/soc/samsung/

0 commit comments

Comments
 (0)