Skip to content

Commit 2cde51f

Browse files
committed
Merge remote-tracking branches 'asoc/topic/ad1836', 'asoc/topic/ad193x', 'asoc/topic/adav80x', 'asoc/topic/adsp', 'asoc/topic/ak4641', 'asoc/topic/ak4642', 'asoc/topic/arizona', 'asoc/topic/atmel', 'asoc/topic/au1x', 'asoc/topic/axi', 'asoc/topic/bcm2835', 'asoc/topic/blackfin', 'asoc/topic/cs4271', 'asoc/topic/cs42l52', 'asoc/topic/da7210', 'asoc/topic/davinci', 'asoc/topic/ep93xx', 'asoc/topic/fsl', 'asoc/topic/fsl-mxs', 'asoc/topic/generic', 'asoc/topic/hdmi', 'asoc/topic/jack', 'asoc/topic/jz4740', 'asoc/topic/max98090', 'asoc/topic/mxs', 'asoc/topic/omap', 'asoc/topic/pxa', 'asoc/topic/rcar', 'asoc/topic/s6000', 'asoc/topic/sai', 'asoc/topic/samsung', 'asoc/topic/sgtl5000', 'asoc/topic/spear', 'asoc/topic/ssm2518', 'asoc/topic/ssm2602', 'asoc/topic/tegra', 'asoc/topic/tlv320aic3x', 'asoc/topic/twl6040', 'asoc/topic/txx9', 'asoc/topic/uda1380', 'asoc/topic/width', 'asoc/topic/wm8510', 'asoc/topic/wm8523', 'asoc/topic/wm8580', 'asoc/topic/wm8711', 'asoc/topic/wm8728', 'asoc/topic/wm8731', 'asoc/topic/wm8741', 'asoc/topic/wm8750', 'asoc/topic/wm8753', 'asoc/topic/wm8776', 'asoc/topic/wm8804', 'asoc/topic/wm8900', 'asoc/topic/wm8901', 'asoc/topic/wm8940', 'asoc/topic/wm8962', 'asoc/topic/wm8974', 'asoc/topic/wm8985', 'asoc/topic/wm8988', 'asoc/topic/wm8990', 'asoc/topic/wm8991', 'asoc/topic/wm8994', 'asoc/topic/wm8995', 'asoc/topic/wm9081' and 'asoc/topic/x86' into asoc-next

167 files changed

Lines changed: 6682 additions & 3718 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.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
ADI AXI-I2S controller
2+
3+
Required properties:
4+
- compatible : Must be "adi,axi-i2s-1.00.a"
5+
- reg : Must contain I2S core's registers location and length
6+
- clocks : Pairs of phandle and specifier referencing the controller's clocks.
7+
The controller expects two clocks, the clock used for the AXI interface and
8+
the clock used as the sampling rate reference clock sample.
9+
- clock-names : "axi" for the clock to the AXI interface, "ref" for the sample
10+
rate reference clock.
11+
- dmas: Pairs of phandle and specifier for the DMA channels that are used by
12+
the core. The core expects two dma channels, one for transmit and one for
13+
receive.
14+
- dma-names : "tx" for the transmit channel, "rx" for the receive channel.
15+
16+
For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
17+
please check:
18+
* resource-names.txt
19+
* clock/clock-bindings.txt
20+
* dma/dma.txt
21+
22+
Example:
23+
24+
i2s: i2s@0x77600000 {
25+
compatible = "adi,axi-i2s-1.00.a";
26+
reg = <0x77600000 0x1000>;
27+
clocks = <&clk 15>, <&audio_clock>;
28+
clock-names = "axi", "ref";
29+
dmas = <&ps7_dma 0>, <&ps7_dma 1>;
30+
dma-names = "tx", "rx";
31+
};
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
ADI AXI-SPDIF controller
2+
3+
Required properties:
4+
- compatible : Must be "adi,axi-spdif-1.00.a"
5+
- reg : Must contain SPDIF core's registers location and length
6+
- clocks : Pairs of phandle and specifier referencing the controller's clocks.
7+
The controller expects two clocks, the clock used for the AXI interface and
8+
the clock used as the sampling rate reference clock sample.
9+
- clock-names: "axi" for the clock to the AXI interface, "ref" for the sample
10+
rate reference clock.
11+
- dmas: Pairs of phandle and specifier for the DMA channel that is used by
12+
the core. The core expects one dma channel for transmit.
13+
- dma-names : Must be "tx"
14+
15+
For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
16+
please check:
17+
* resource-names.txt
18+
* clock/clock-bindings.txt
19+
* dma/dma.txt
20+
21+
Example:
22+
23+
spdif: spdif@0x77400000 {
24+
compatible = "adi,axi-spdif-tx-1.00.a";
25+
reg = <0x77600000 0x1000>;
26+
clocks = <&clk 15>, <&audio_clock>;
27+
clock-names = "axi", "ref";
28+
dmas = <&ps7_dma 0>;
29+
dma-names = "tx";
30+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
* Broadcom BCM2835 SoC I2S/PCM module
2+
3+
Required properties:
4+
- compatible: "brcm,bcm2835-i2s"
5+
- reg: A list of base address and size entries:
6+
* The first entry should cover the PCM registers
7+
* The second entry should cover the PCM clock registers
8+
- dmas: List of DMA controller phandle and DMA request line ordered pairs.
9+
- dma-names: Identifier string for each DMA request line in the dmas property.
10+
These strings correspond 1:1 with the ordered pairs in dmas.
11+
12+
One of the DMA channels will be responsible for transmission (should be
13+
named "tx") and one for reception (should be named "rx").
14+
15+
Example:
16+
17+
bcm2835_i2s: i2s@7e203000 {
18+
compatible = "brcm,bcm2835-i2s";
19+
reg = <0x7e203000 0x20>,
20+
<0x7e101098 0x02>;
21+
22+
dmas = <&dma 2>,
23+
<&dma 3>;
24+
dma-names = "tx", "rx";
25+
};
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
CS42L52 audio CODEC
2+
3+
Required properties:
4+
5+
- compatible : "cirrus,cs42l52"
6+
7+
- reg : the I2C address of the device for I2C
8+
9+
Optional properties:
10+
11+
- cirrus,reset-gpio : GPIO controller's phandle and the number
12+
of the GPIO used to reset the codec.
13+
14+
- cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency.
15+
Allowable values of 0x00 through 0x0F. These are raw values written to the
16+
register, not the actual frequency. The frequency is determined by the following.
17+
Frequency = (64xFs)/(N+2)
18+
N = chgfreq_val
19+
Fs = Sample Rate (variable)
20+
21+
- cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured
22+
as a differential input. If not present then the MICA input is configured as
23+
Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input.
24+
25+
- cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured
26+
as a differential input. If not present then the MICB input is configured as
27+
Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input.
28+
29+
- cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin
30+
0 = 0.5 x VA
31+
1 = 0.6 x VA
32+
2 = 0.7 x VA
33+
3 = 0.8 x VA
34+
4 = 0.83 x VA
35+
5 = 0.91 x VA
36+
37+
Example:
38+
39+
codec: codec@4a {
40+
compatible = "cirrus,cs42l52";
41+
reg = <0x4a>;
42+
reset-gpio = <&gpio 10 0>;
43+
cirrus,chgfreq-divisor = <0x05>;
44+
cirrus.mica-differential-cfg;
45+
cirrus,micbias-lvl = <5>;
46+
};

‎Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Required properties:
44
- compatible :
55
"ti,dm646x-mcasp-audio" : for DM646x platforms
66
"ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
7-
"ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, TI81xx)
7+
"ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx)
8+
"ti,dra7-mcasp-audio" : for DRA7xx platforms
89

910
- reg : Should contain reg specifiers for the entries in the reg-names property.
1011
- reg-names : Should contain:
@@ -36,7 +37,8 @@ Optional properties:
3637
- pinctrl-0: Should specify pin control group used for this controller.
3738
- pinctrl-names: Should contain only one value - "default", for more details
3839
please refer to pinctrl-bindings.txt
39-
40+
- fck_parent : Should contain a valid clock name which will be used as parent
41+
for the McASP fck
4042

4143
Example:
4244

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Freescale Synchronous Audio Interface (SAI).
2+
3+
The SAI is based on I2S module that used communicating with audio codecs,
4+
which provides a synchronous audio interface that supports fullduplex
5+
serial interfaces with frame synchronization such as I2S, AC97, TDM, and
6+
codec/DSP interfaces.
7+
8+
9+
Required properties:
10+
- compatible: Compatible list, contains "fsl,vf610-sai".
11+
- reg: Offset and length of the register set for the device.
12+
- clocks: Must contain an entry for each entry in clock-names.
13+
- clock-names : Must include the "sai" entry.
14+
- dmas : Generic dma devicetree binding as described in
15+
Documentation/devicetree/bindings/dma/dma.txt.
16+
- dma-names : Two dmas have to be defined, "tx" and "rx".
17+
- pinctrl-names: Must contain a "default" entry.
18+
- pinctrl-NNN: One property must exist for each entry in pinctrl-names.
19+
See ../pinctrl/pinctrl-bindings.txt for details of the property values.
20+
- big-endian-regs: If this property is absent, the little endian mode will
21+
be in use as default, or the big endian mode will be in use for all the
22+
device registers.
23+
- big-endian-data: If this property is absent, the little endian mode will
24+
be in use as default, or the big endian mode will be in use for all the
25+
fifo data.
26+
27+
Example:
28+
sai2: sai@40031000 {
29+
compatible = "fsl,vf610-sai";
30+
reg = <0x40031000 0x1000>;
31+
pinctrl-names = "default";
32+
pinctrl-0 = <&pinctrl_sai2_1>;
33+
clocks = <&clks VF610_CLK_SAI2>;
34+
clock-names = "sai";
35+
dma-names = "tx", "rx";
36+
dmas = <&edma0 0 VF610_EDMA_MUXID0_SAI2_TX>,
37+
<&edma0 0 VF610_EDMA_MUXID0_SAI2_RX>;
38+
big-endian-regs;
39+
big-endian-data;
40+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Device-Tree bindings for dummy HDMI codec
2+
3+
Required properties:
4+
- compatible: should be "linux,hdmi-audio".
5+
6+
CODEC output pins:
7+
* TX
8+
9+
CODEC input pins:
10+
* RX
11+
12+
Example node:
13+
14+
hdmi_audio: hdmi_audio@0 {
15+
compatible = "linux,hdmi-audio";
16+
status = "okay";
17+
};
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
MAX98090 audio CODEC
2+
3+
This device supports I2C only.
4+
5+
Required properties:
6+
7+
- compatible : "maxim,max98090".
8+
9+
- reg : The I2C address of the device.
10+
11+
- interrupts : The CODEC's interrupt output.
12+
13+
Pins on the device (for linking into audio routes):
14+
15+
* MIC1
16+
* MIC2
17+
* DMICL
18+
* DMICR
19+
* IN1
20+
* IN2
21+
* IN3
22+
* IN4
23+
* IN5
24+
* IN6
25+
* IN12
26+
* IN34
27+
* IN56
28+
* HPL
29+
* HPR
30+
* SPKL
31+
* SPKR
32+
* RCVL
33+
* RCVR
34+
* MICBIAS
35+
36+
Example:
37+
38+
audio-codec@10 {
39+
compatible = "maxim,max98090";
40+
reg = <0x10>;
41+
interrupt-parent = <&gpio>;
42+
interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
43+
};
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
NVIDIA Tegra audio complex, with MAX98090 CODEC
2+
3+
Required properties:
4+
- compatible : "nvidia,tegra-audio-max98090"
5+
- clocks : Must contain an entry for each entry in clock-names.
6+
See ../clocks/clock-bindings.txt for details.
7+
- clock-names : Must include the following entries:
8+
- pll_a
9+
- pll_a_out0
10+
- mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11+
- nvidia,model : The user-visible name of this sound complex.
12+
- nvidia,audio-routing : A list of the connections between audio components.
13+
Each entry is a pair of strings, the first being the connection's sink,
14+
the second being the connection's source. Valid names for sources and
15+
sinks are the MAX98090's pins (as documented in its binding), and the jacks
16+
on the board:
17+
18+
* Headphones
19+
* Speakers
20+
* Mic Jack
21+
22+
- nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
23+
connected to the CODEC.
24+
- nvidia,audio-codec : The phandle of the MAX98090 audio codec.
25+
26+
Optional properties:
27+
- nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
28+
29+
Example:
30+
31+
sound {
32+
compatible = "nvidia,tegra-audio-max98090-venice2",
33+
"nvidia,tegra-audio-max98090";
34+
nvidia,model = "NVIDIA Tegra Venice2";
35+
36+
nvidia,audio-routing =
37+
"Headphones", "HPR",
38+
"Headphones", "HPL",
39+
"Speakers", "SPKR",
40+
"Speakers", "SPKL",
41+
"Mic Jack", "MICBIAS",
42+
"IN34", "Mic Jack";
43+
44+
nvidia,i2s-controller = <&tegra_i2s1>;
45+
nvidia,audio-codec = <&acodec>;
46+
47+
clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
48+
<&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
49+
<&tegra_car TEGRA124_CLK_EXTERN1>;
50+
clock-names = "pll_a", "pll_a_out0", "mclk";
51+
};

‎Documentation/devicetree/bindings/sound/simple-card.txt‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ Required properties:
99
Optional properties:
1010

1111
- simple-audio-card,format : CPU/CODEC common audio format.
12-
"i2s", "right_j", "left_j" , "dsp_a"
13-
"dsp_b", "ac97", "pdm", "msb", "lsb"
12+
"i2s", "right_j", "left_j" , "dsp_a"
13+
"dsp_b", "ac97", "pdm", "msb", "lsb"
14+
- simple-audio-routing : A list of the connections between audio components.
15+
Each entry is a pair of strings, the first being the
16+
connection's sink, the second being the connection's
17+
source.
18+
1419
Required subnodes:
1520

1621
- simple-audio-card,cpu : CPU sub-node
@@ -38,6 +43,10 @@ Example:
3843
sound {
3944
compatible = "simple-audio-card";
4045
simple-audio-card,format = "left_j";
46+
simple-audio-routing =
47+
"MIC_IN", "Mic Jack",
48+
"Headphone Jack", "HP_OUT",
49+
"Ext Spk", "LINE_OUT";
4150

4251
simple-audio-card,cpu {
4352
sound-dai = <&sh_fsi2 0>;

0 commit comments

Comments
 (0)