forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/tiwai/sound Pull sound updates from Takashi Iwai: "Changes are seen in a wide range of codes, mainly due to ASoC DAPM requirements; HD-audio shows a high peak in diffstat, it's just a removal of bunch of old static quirks. Some highlights: - HDPM: Updates for AIO/RayDAT support, TCO/sync support - RME96: Add PCM sync support - HD-audio: * A few HDMI/DP audio updates (CA assignment fix, stream switching fix, Intel DP device list support) * Device specific fixes (ASUS/CXT HP mic support, Thinkpad mic improvements, Chromebook fixes, STAC9228 Dell fixes) * Replace the all static quirks for AD codecs with the generic parser * WAKEEN support for handling irqs in the power saving mode - USB-audio: Clean up implicit fb handling and related codes - DAPM is now mandatory for ASoC CODEC drivers; all existing drivers have had some level of DAPM support added. In addition, a lot of cleanups and improvements in DAPM. - Support for ASoC cross-platform compile test - New drivers and support for Analog Devices ADAU1702 and ADAU1401(a), Asahi Kasei Microdevices AK4554, Atmel AT91ASM9x5 and WM8904 based machines, Freescale S/PDIF and SSI AC'97, Renesas R-Car SoCs, Samsung Exynos5420 SoCs, Texas Instruments PCM1681 and PCM1792A and Wolfson Microelectronics WM8997 - DT bindings for kirkwood and i.MX S/PDIF - Clean up and bug fixes: ssm2602, rt5640 and sgtl5000. - Core helpers for bitbanged AC'97 reset" * tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (375 commits) ALSA: hda - Re-setup HDMI pin and audio infoframe on stream switches ALSA: hda - hdmi: Fallback to ALSA allocation when selecting CA ASoC: mxs-sgtl5000: Configure the dai_links as unidirectional ASoC: soc-pcm: Allow to specify unidirectional dai_link ASoC: fsl_spdif: Staticse non-exported symbols ASoC: ssm2602: Fix cache sync ASoC: Remove unused sysfs_registered field from snd_soc_codec struct ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} struct ASoC: Remove unused control_type field from snd_soc_codec struct ASoC: fsl: Add one blank space after ':=' in Makefile ASoC: fsl: Add wrapping for dev_dbg() in fsl_spdif.c ASoC: rt5640: change widget sequence for depop ASoC: dapm: Fix auto-disable for inverted controls ASoC: fsl: Drop SND_SOC_FSL_UTILS from SND_SOC_IMX_SPDIF ASoC: Samsung: Do not queue cyclic buffers multiple times ASoC: ep93xx-i2s: Remove unnecessary dev_set_drvdata() ASoC: designware_i2s: Remove unnecessary dev_set_drvdata() ASoC: fsl_spdif: remove redundant dev_err call in fsl_spdif_probe() ASoC: fsl: Add S/PDIF machine driver ASoc: kirkwood: Use the Kirkwood audio driver in Dove boards ...
- Loading branch information
Showing
236 changed files
with
12,525 additions
and
7,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
Device tree bindings for Marvell PXA SSP ports | ||
|
||
Required properties: | ||
|
||
- compatible: Must be one of | ||
mrvl,pxa25x-ssp | ||
mvrl,pxa25x-nssp | ||
mrvl,pxa27x-ssp | ||
mrvl,pxa3xx-ssp | ||
mvrl,pxa168-ssp | ||
mrvl,pxa910-ssp | ||
mrvl,ce4100-ssp | ||
mrvl,lpss-ssp | ||
|
||
- reg: The memory base | ||
- dmas: Two dma phandles, one for rx, one for tx | ||
- dma-names: Must be "rx", "tx" | ||
|
||
|
||
Example for PXA3xx: | ||
|
||
ssp0: ssp@41000000 { | ||
compatible = "mrvl,pxa3xx-ssp"; | ||
reg = <0x41000000 0x40>; | ||
ssp-id = <1>; | ||
interrupts = <24>; | ||
clock-names = "pxa27x-ssp.0"; | ||
dmas = <&dma 13 | ||
&dma 14>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
ssp1: ssp@41700000 { | ||
compatible = "mrvl,pxa3xx-ssp"; | ||
reg = <0x41700000 0x40>; | ||
ssp-id = <2>; | ||
interrupts = <16>; | ||
clock-names = "pxa27x-ssp.1"; | ||
dmas = <&dma 15 | ||
&dma 16>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
ssp2: ssp@41900000 { | ||
compatibl3 = "mrvl,pxa3xx-ssp"; | ||
reg = <0x41900000 0x40>; | ||
ssp-id = <3>; | ||
interrupts = <0>; | ||
clock-names = "pxa27x-ssp.2"; | ||
dmas = <&dma 66 | ||
&dma 67>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
ssp3: ssp@41a00000 { | ||
compatible = "mrvl,pxa3xx-ssp"; | ||
reg = <0x41a00000 0x40>; | ||
ssp-id = <4>; | ||
interrupts = <13>; | ||
clock-names = "pxa27x-ssp.3"; | ||
dmas = <&dma 2 | ||
&dma 3>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
AK4554 ADC/DAC | ||
|
||
Required properties: | ||
|
||
- compatible : "asahi-kasei,ak4554" | ||
|
||
Example: | ||
|
||
ak4554-adc-dac { | ||
compatible = "asahi-kasei,ak4554"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
* Atmel at91sam9x5ek wm8731 audio complex | ||
|
||
Required properties: | ||
- compatible: "atmel,sam9x5-wm8731-audio" | ||
- atmel,model: The user-visible name of this sound complex. | ||
- atmel,ssc-controller: The phandle of the SSC controller | ||
- atmel,audio-codec: The phandle of the WM8731 audio codec | ||
- atmel,audio-routing: A list of the connections between audio components. | ||
Each entry is a pair of strings, the first being the connection's sink, | ||
the second being the connection's source. | ||
|
||
Available audio endpoints for the audio-routing table: | ||
|
||
Board connectors: | ||
* Headphone Jack | ||
* Line In Jack | ||
|
||
wm8731 pins: | ||
cf Documentation/devicetree/bindings/sound/wm8731.txt | ||
|
||
Example: | ||
sound { | ||
compatible = "atmel,sam9x5-wm8731-audio"; | ||
|
||
atmel,model = "wm8731 @ AT91SAM9X5EK"; | ||
|
||
atmel,audio-routing = | ||
"Headphone Jack", "RHPOUT", | ||
"Headphone Jack", "LHPOUT", | ||
"LLINEIN", "Line In Jack", | ||
"RLINEIN", "Line In Jack"; | ||
|
||
atmel,ssc-controller = <&ssc0>; | ||
atmel,audio-codec = <&wm8731>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
Atmel ASoC driver with wm8904 audio codec complex | ||
|
||
Required properties: | ||
- compatible: "atmel,asoc-wm8904" | ||
- atmel,model: The user-visible name of this sound complex. | ||
- atmel,audio-routing: A list of the connections between audio components. | ||
Each entry is a pair of strings, the first being the connection's sink, | ||
the second being the connection's source. Valid names for sources and | ||
sinks are the WM8904's pins, and the jacks on the board: | ||
|
||
WM8904 pins: | ||
|
||
* IN1L | ||
* IN1R | ||
* IN2L | ||
* IN2R | ||
* IN3L | ||
* IN3R | ||
* HPOUTL | ||
* HPOUTR | ||
* LINEOUTL | ||
* LINEOUTR | ||
* MICBIAS | ||
|
||
Board connectors: | ||
|
||
* Headphone Jack | ||
* Line In Jack | ||
* Mic | ||
|
||
- atmel,ssc-controller: The phandle of the SSC controller | ||
- atmel,audio-codec: The phandle of the WM8904 audio codec | ||
|
||
Optional properties: | ||
- pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt | ||
|
||
Example: | ||
sound { | ||
compatible = "atmel,asoc-wm8904"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_pck0_as_mck>; | ||
|
||
atmel,model = "wm8904 @ AT91SAM9N12EK"; | ||
|
||
atmel,audio-routing = | ||
"Headphone Jack", "HPOUTL", | ||
"Headphone Jack", "HPOUTR", | ||
"IN2L", "Line In Jack", | ||
"IN2R", "Line In Jack", | ||
"Mic", "MICBIAS", | ||
"IN1L", "Mic"; | ||
|
||
atmel,ssc-controller = <&ssc0>; | ||
atmel,audio-codec = <&wm8904>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Freescale Sony/Philips Digital Interface Format (S/PDIF) Controller | ||
|
||
The Freescale S/PDIF audio block is a stereo transceiver that allows the | ||
processor to receive and transmit digital audio via an coaxial cable or | ||
a fibre cable. | ||
|
||
Required properties: | ||
|
||
- compatible : Compatible list, must contain "fsl,imx35-spdif". | ||
|
||
- reg : Offset and length of the register set for the device. | ||
|
||
- interrupts : Contains the spdif interrupt. | ||
|
||
- dmas : Generic dma devicetree binding as described in | ||
Documentation/devicetree/bindings/dma/dma.txt. | ||
|
||
- dma-names : Two dmas have to be defined, "tx" and "rx". | ||
|
||
- clocks : Contains an entry for each entry in clock-names. | ||
|
||
- clock-names : Includes the following entries: | ||
"core" The core clock of spdif controller | ||
"rxtx<0-7>" Clock source list for tx and rx clock. | ||
This clock list should be identical to | ||
the source list connecting to the spdif | ||
clock mux in "SPDIF Transceiver Clock | ||
Diagram" of SoC reference manual. It | ||
can also be referred to TxClk_Source | ||
bit of register SPDIF_STC. | ||
|
||
Example: | ||
|
||
spdif: spdif@02004000 { | ||
compatible = "fsl,imx35-spdif"; | ||
reg = <0x02004000 0x4000>; | ||
interrupts = <0 52 0x04>; | ||
dmas = <&sdma 14 18 0>, | ||
<&sdma 15 18 0>; | ||
dma-names = "rx", "tx"; | ||
|
||
clocks = <&clks 197>, <&clks 3>, | ||
<&clks 197>, <&clks 107>, | ||
<&clks 0>, <&clks 118>, | ||
<&clks 62>, <&clks 139>, | ||
<&clks 0>; | ||
clock-names = "core", "rxtx0", | ||
"rxtx1", "rxtx2", | ||
"rxtx3", "rxtx4", | ||
"rxtx5", "rxtx6", | ||
"rxtx7"; | ||
|
||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
Documentation/devicetree/bindings/sound/imx-audio-spdif.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Freescale i.MX audio complex with S/PDIF transceiver | ||
|
||
Required properties: | ||
|
||
- compatible : "fsl,imx-audio-spdif" | ||
|
||
- model : The user-visible name of this sound complex | ||
|
||
- spdif-controller : The phandle of the i.MX S/PDIF controller | ||
|
||
|
||
Optional properties: | ||
|
||
- spdif-out : This is a boolean property. If present, the transmitting | ||
function of S/PDIF will be enabled, indicating there's a physical | ||
S/PDIF out connector/jack on the board or it's connecting to some | ||
other IP block, such as an HDMI encoder/display-controller. | ||
|
||
- spdif-in : This is a boolean property. If present, the receiving | ||
function of S/PDIF will be enabled, indicating there's a physical | ||
S/PDIF in connector/jack on the board. | ||
|
||
* Note: At least one of these two properties should be set in the DT binding. | ||
|
||
|
||
Example: | ||
|
||
sound-spdif { | ||
compatible = "fsl,imx-audio-spdif"; | ||
model = "imx-spdif"; | ||
spdif-controller = <&spdif>; | ||
spdif-out; | ||
spdif-in; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Marvell PXA SSP CPU DAI bindings | ||
|
||
Required properties: | ||
|
||
compatible Must be "mrvl,pxa-ssp-dai" | ||
port A phandle reference to a PXA ssp upstream device | ||
|
||
Example: | ||
|
||
/* upstream device */ | ||
|
||
ssp0: ssp@41000000 { | ||
compatible = "mrvl,pxa3xx-ssp"; | ||
reg = <0x41000000 0x40>; | ||
interrupts = <24>; | ||
clock-names = "pxa27x-ssp.0"; | ||
dmas = <&dma 13 | ||
&dma 14>; | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
/* DAI as user */ | ||
|
||
ssp_dai0: ssp_dai@0 { | ||
compatible = "mrvl,pxa-ssp-dai"; | ||
port = <&ssp0>; | ||
}; | ||
|
Oops, something went wrong.