-
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.17-rc1' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/tiwai/sound Pull sound updates from Takashi Iwai: "There've been many updates in ASoC side at this time, especially the framework enhancement for multiple CODECs on a single DAI and more componentization works. The only major change in ALSA core is the addition of timestamp type in sw_params field. This should behave in backward compatible way. Other than that, there are lots of small changes and new drivers in wide range, including a large code cut in HD-audio driver for deprecated static quirks. Some highlights are below: ALSA Core: - Add the new timestamp type field to sw_params to choose MONOTONIC_RAW type HD-audio: - Continued conversion to standard printk macros, generic code cleanups - Removal of obsoleted static quirk codes for Conexant and C-Media codecs - Fixups for HP Envy TS, Dell XPS 15, HP and Dell mute/mic LED, Gigabyte BXBT-2807 mobo - Intel Braswell support ASoC: - Support for multiple CODECs attached to a single DAI, enabling systems with for example multiple DAC/speaker drivers on a single link, contributed by Benoit Cousson based on work from Misael Lopez Cruz - Support for byte controls larger than 256 bytes based on the use of TLVs contributed by Omair Mohammed Abdullah - More componentisation work from Lars-Peter Clausen - The remainder of the conversions of CODEC drivers to params_width() by Mark Brown - Drivers for Cirrus Logic CS4265, Freescale i.MX ASRC blocks, Realtek RT286 and RT5670, Rockchip RK3xxx I2S controllers and Texas Instruments TAS2552 - Lots of updates and fixes, especially to the DaVinci, Intel, Freescale, Realtek, and rcar drivers" * tag 'sound-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (402 commits) ALSA: usb-audio: Whitespace cleanups for sound/usb/midi.* ALSA: usb-audio: Respond to suspend and resume callbacks for MIDI input sound/oss/pss: Remove typedefs pss_mixerdata and pss_confdata sound/oss/opl3: Remove typedef opl_devinfo ALSA: fireworks: fix specifiers in format strings for propper output ASoC: imx-audmux: Use uintptr_t for port numbers ASoC: davinci: Enable menuconfig entry for McASP ASoC: fsl_asrc: Don't access members of config before checking it ASoC: fsl_sarc_dma: Check pair before using it ASoC: adau1977: Fix truncation warning on 64 bit architectures ALSA: virtuoso: add Xonar Essence STX II support ALSA: riptide: fix %d confusingly prefixed with 0x in format strings ALSA: fireworks: fix %d confusingly prefixed with 0x in format strings ALSA: hda - add codec ID for Braswell display audio codec ALSA: hda - add PCI IDs for Intel Braswell ALSA: usb-audio: Adjust Gamecom 780 volume level ALSA: usb-audio: improve dmesg source grepability ASoC: rt5670: Fix duplicate const warnings ASoC: rt5670: Staticise non-exported symbols ASoC: Intel: update stream only on stream IPC msgs ...
- Loading branch information
Showing
294 changed files
with
17,306 additions
and
7,504 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,29 @@ | ||
CS4265 audio CODEC | ||
|
||
This device supports I2C only. | ||
|
||
Required properties: | ||
|
||
- compatible : "cirrus,cs4265" | ||
|
||
- reg : the I2C address of the device for I2C. The I2C address depends on | ||
the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. | ||
If it is low, the i2c address is 0x4e. | ||
|
||
Optional properties: | ||
|
||
- reset-gpios : a GPIO spec for the reset pin. If specified, it will be | ||
deasserted before communication to the codec starts. | ||
|
||
Examples: | ||
|
||
codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ | ||
compatible = "cirrus,cs4265"; | ||
reg = <0x4f>; | ||
}; | ||
|
||
|
||
codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ | ||
compatible = "cirrus,cs4265"; | ||
reg = <0x4e>; | ||
}; |
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,60 @@ | ||
Freescale Asynchronous Sample Rate Converter (ASRC) Controller | ||
|
||
The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a | ||
signal associated with an input clock into a signal associated with a different | ||
output clock. The driver currently works as a Front End of DPCM with other Back | ||
Ends Audio controller such as ESAI, SSI and SAI. It has three pairs to support | ||
three substreams within totally 10 channels. | ||
|
||
Required properties: | ||
|
||
- compatible : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc". | ||
|
||
- 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 : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc". | ||
|
||
- clocks : Contains an entry for each entry in clock-names. | ||
|
||
- clock-names : Contains the following entries | ||
"mem" Peripheral access clock to access registers. | ||
"ipg" Peripheral clock to driver module. | ||
"asrck_<0-f>" Clock sources for input and output clock. | ||
|
||
- big-endian : If this property is absent, the little endian mode | ||
will be in use as default. Otherwise, the big endian | ||
mode will be in use for all the device registers. | ||
|
||
- fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends. | ||
|
||
- fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends. | ||
|
||
Example: | ||
|
||
asrc: asrc@02034000 { | ||
compatible = "fsl,imx53-asrc"; | ||
reg = <0x02034000 0x4000>; | ||
interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&clks 107>, <&clks 107>, <&clks 0>, | ||
<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | ||
<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | ||
<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, | ||
<&clks 107>, <&clks 0>, <&clks 0>; | ||
clock-names = "mem", "ipg", "asrck0", | ||
"asrck_1", "asrck_2", "asrck_3", "asrck_4", | ||
"asrck_5", "asrck_6", "asrck_7", "asrck_8", | ||
"asrck_9", "asrck_a", "asrck_b", "asrck_c", | ||
"asrck_d", "asrck_e", "asrck_f"; | ||
dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>, | ||
<&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>; | ||
dma-names = "rxa", "rxb", "rxc", | ||
"txa", "txb", "txc"; | ||
fsl,asrc-rate = <48000>; | ||
fsl,asrc-width = <16>; | ||
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
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,37 @@ | ||
* Rockchip I2S controller | ||
|
||
The I2S bus (Inter-IC sound bus) is a serial link for digital | ||
audio data transfer between devices in the system. | ||
|
||
Required properties: | ||
|
||
- compatible: should be one of the followings | ||
- "rockchip,rk3066-i2s": for rk3066 | ||
- "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188 | ||
- "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288 | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: should contain the I2S interrupt. | ||
- #address-cells: should be 1. | ||
- #size-cells: should be 0. | ||
- dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | ||
Documentation/devicetree/bindings/dma/dma.txt | ||
- dma-names: should include "tx" and "rx". | ||
- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. | ||
- clock-names: should contain followings: | ||
- "i2s_hclk": clock for I2S BUS | ||
- "i2s_clk" : clock for I2S controller | ||
|
||
Example for rk3288 I2S controller: | ||
|
||
i2s@ff890000 { | ||
compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s"; | ||
reg = <0xff890000 0x10000>; | ||
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
dmas = <&pdma1 0>, <&pdma1 1>; | ||
dma-names = "rx", "tx"; | ||
clock-names = "i2s_hclk", "i2s_clk"; | ||
clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>; | ||
}; |
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.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 @@ | ||
Samsung Exynos Odroid X2/U3 audio complex with MAX98090 codec | ||
|
||
Required properties: | ||
- compatible : "samsung,odroidx2-audio" - for Odroid X2 board, | ||
"samsung,odroidu3-audio" - for Odroid U3 board | ||
- samsung,model : the user-visible name of this sound complex | ||
- samsung,i2s-controller : the phandle of the I2S controller | ||
- samsung,audio-codec : the phandle of the MAX98090 audio codec | ||
- samsung,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 MAX98090's pins (as | ||
documented in its binding), and the jacks on the board | ||
For Odroid X2: | ||
* Headphone Jack | ||
* Mic Jack | ||
* DMIC | ||
|
||
For Odroid U3: | ||
* Headphone Jack | ||
* Speakers | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "samsung,odroidu3-audio"; | ||
samsung,i2s-controller = <&i2s0>; | ||
samsung,audio-codec = <&max98090>; | ||
samsung,model = "Odroid-X2"; | ||
samsung,audio-routing = | ||
"Headphone Jack", "HPL", | ||
"Headphone Jack", "HPR", | ||
"IN1", "Mic Jack", | ||
"Mic Jack", "MICBIAS"; | ||
}; |
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,27 @@ | ||
* SiRF SoC USP module | ||
|
||
Required properties: | ||
- compatible: "sirf,prima2-usp-pcm" | ||
- reg: Base address and size entries: | ||
- dmas: List of DMA controller phandle and DMA request line ordered pairs. | ||
- dma-names: Identifier string for each DMA request line in the dmas property. | ||
These strings correspond 1:1 with the ordered pairs in dmas. | ||
|
||
One of the DMA channels will be responsible for transmission (should be | ||
named "tx") and one for reception (should be named "rx"). | ||
|
||
- clocks: USP controller clock source | ||
- pinctrl-names: Must contain a "default" entry. | ||
- pinctrl-NNN: One property must exist for each entry in pinctrl-names. | ||
|
||
Example: | ||
usp0: usp@b0080000 { | ||
compatible = "sirf,prima2-usp-pcm"; | ||
reg = <0xb0080000 0x10000>; | ||
clocks = <&clks 28>; | ||
dmas = <&dmac1 1>, <&dmac1 2>; | ||
dma-names = "rx", "tx"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&usp0_only_utfs_pins_a>; | ||
}; | ||
|
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,26 @@ | ||
Texas Instruments - tas2552 Codec module | ||
|
||
The tas2552 serial control bus communicates through I2C protocols | ||
|
||
Required properties: | ||
- compatible - One of: | ||
"ti,tas2552" - TAS2552 | ||
- reg - I2C slave address | ||
- supply-*: Required supply regulators are: | ||
"vbat" battery voltage | ||
"iovdd" I/O Voltage | ||
"avdd" Analog DAC Voltage | ||
|
||
Optional properties: | ||
- enable-gpio - gpio pin to enable/disable the device | ||
|
||
Example: | ||
|
||
tas2552: tas2552@41 { | ||
compatible = "ti,tas2552"; | ||
reg = <0x41>; | ||
enable-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
For more product information please see the link below: | ||
http://www.ti.com/product/TAS2552 |
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,33 @@ | ||
WM8904 audio CODEC | ||
|
||
This device supports I2C only. | ||
|
||
Required properties: | ||
- compatible: "wlf,wm8904" | ||
- reg: the I2C address of the device. | ||
- clock-names: "mclk" | ||
- clocks: reference to | ||
<Documentation/devicetree/bindings/clock/clock-bindings.txt> | ||
|
||
Pins on the device (for linking into audio routes): | ||
|
||
* IN1L | ||
* IN1R | ||
* IN2L | ||
* IN2R | ||
* IN3L | ||
* IN3R | ||
* HPOUTL | ||
* HPOUTR | ||
* LINEOUTL | ||
* LINEOUTR | ||
* MICBIAS | ||
|
||
Examples: | ||
|
||
codec: wm8904@1a { | ||
compatible = "wlf,wm8904"; | ||
reg = <0x1a>; | ||
clocks = <&pck0>; | ||
clock-names = "mclk"; | ||
}; |
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
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
Oops, something went wrong.