-
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 'asoc-v3.15' into asoc-next
ASoC: Updates for v3.15 Quite a busy release for ASoC this time, more on janitorial work than exciting new features but welcome nontheless: - Lots of cleanups from Takashi for enumerations; the original API for these was error prone so he's refactored lots of code to use more modern APIs which avoid issues. - Elimination of the ASoC level wrappers for I2C and SPI moving us closer to converting to regmap completely and avoiding some randconfig hassle. - Provide both manually and transparently locked DAPM APIs rather than a mix of the two fixing some concurrency issues. - Start converting CODEC drivers to use separate bus interface drivers rather than having them all in one file helping avoid dependency issues. - DPCM support for Intel Haswell and Bay Trail platforms. - Lots of work on improvements for simple-card, DaVinci and the Renesas rcar drivers. - New drivers for Analog Devices ADAU1977, TI PCM512x and parts of the CSR SiRF SoC. # gpg: Signature made Wed 12 Mar 2014 23:05:45 GMT using RSA key ID 7EA229BD # gpg: Good signature from "Mark Brown <broonie@sirena.org.uk>" # gpg: aka "Mark Brown <broonie@debian.org>" # gpg: aka "Mark Brown <broonie@kernel.org>" # gpg: aka "Mark Brown <broonie@tardis.ed.ac.uk>" # gpg: aka "Mark Brown <broonie@linaro.org>" # gpg: aka "Mark Brown <Mark.Brown@linaro.org>"
- Loading branch information
Showing
215 changed files
with
17,516 additions
and
4,560 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
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,22 @@ | ||
* Dialog DA9055 Audio CODEC | ||
|
||
DA9055 provides Audio CODEC support (I2C only). | ||
|
||
The Audio CODEC device in DA9055 has it's own I2C address which is configurable, | ||
so the device is instantiated separately from the PMIC (MFD) device. | ||
|
||
For details on accompanying PMIC I2C device, see the following: | ||
Documentation/devicetree/bindings/mfd/da9055.txt | ||
|
||
Required properties: | ||
|
||
- compatible: "dlg,da9055-codec" | ||
- reg: Specifies the I2C slave address | ||
|
||
|
||
Example: | ||
|
||
codec: da9055-codec@1a { | ||
compatible = "dlg,da9055-codec"; | ||
reg = <0x1a>; | ||
}; |
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,21 @@ | ||
Audio complex for Eukrea boards with tlv320aic23 codec. | ||
|
||
Required properties: | ||
- compatible : "eukrea,asoc-tlv320" | ||
- eukrea,model : The user-visible name of this sound complex. | ||
- ssi-controller : The phandle of the SSI controller. | ||
- fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX). | ||
- fsl,mux-ext-port : The external port of the i.MX audio muxer. | ||
|
||
Note: The AUDMUX port numbering should start at 1, which is consistent with | ||
hardware manual. | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "eukrea,asoc-tlv320"; | ||
eukrea,model = "imx51-eukrea-tlv320aic23"; | ||
ssi-controller = <&ssi2>; | ||
fsl,mux-int-port = <2>; | ||
fsl,mux-ext-port = <3>; | ||
}; |
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,30 @@ | ||
PCM512x audio CODECs | ||
|
||
These devices support both I2C and SPI (configured with pin strapping | ||
on the board). | ||
|
||
Required properties: | ||
|
||
- compatible : One of "ti,pcm5121" or "ti,pcm5122" | ||
|
||
- reg : the I2C address of the device for I2C, the chip select | ||
number for SPI. | ||
|
||
- AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the | ||
device, as covered in bindings/regulator/regulator.txt | ||
|
||
Optional properties: | ||
|
||
- clocks : A clock specifier for the clock connected as SCLK. If this | ||
is absent the device will be configured to clock from BCLK. | ||
|
||
Example: | ||
|
||
pcm5122: pcm5122@4c { | ||
compatible = "ti,pcm5122"; | ||
reg = <0x4c>; | ||
|
||
AVDD-supply = <®_3v3_analog>; | ||
DVDD-supply = <®_1v8>; | ||
CPVDD-supply = <®_3v3>; | ||
}; |
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
17 changes: 17 additions & 0 deletions
17
Documentation/devicetree/bindings/sound/sirf-audio-codec.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,17 @@ | ||
SiRF internal audio CODEC | ||
|
||
Required properties: | ||
|
||
- compatible : "sirf,atlas6-audio-codec" or "sirf,prima2-audio-codec" | ||
|
||
- reg : the register address of the device. | ||
|
||
- clocks: the clock of SiRF internal audio codec | ||
|
||
Example: | ||
|
||
audiocodec: audiocodec@b0040000 { | ||
compatible = "sirf,atlas6-audio-codec"; | ||
reg = <0xb0040000 0x10000>; | ||
clocks = <&clks 27>; | ||
}; |
20 changes: 20 additions & 0 deletions
20
Documentation/devicetree/bindings/sound/sirf-audio-port.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,20 @@ | ||
* SiRF SoC audio port | ||
|
||
Required properties: | ||
- compatible: "sirf,audio-port" | ||
- 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"). | ||
|
||
Example: | ||
|
||
audioport: audioport@b0040000 { | ||
compatible = "sirf,audio-port"; | ||
reg = <0xb0040000 0x10000>; | ||
dmas = <&dmac1 3>, <&dmac1 8>; | ||
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,41 @@ | ||
* SiRF atlas6 and prima2 internal audio codec and port based audio setups | ||
|
||
Required properties: | ||
- compatible: "sirf,sirf-audio-card" | ||
- sirf,audio-platform: phandle for the platform node | ||
- sirf,audio-codec: phandle for the SiRF internal codec node | ||
|
||
Optional properties: | ||
- hp-pa-gpios: Need to be present if the board need control external | ||
headphone amplifier. | ||
- spk-pa-gpios: Need to be present if the board need control external | ||
speaker amplifier. | ||
- hp-switch-gpios: Need to be present if the board capable to detect jack | ||
insertion, removal. | ||
|
||
Available audio endpoints for the audio-routing table: | ||
|
||
Board connectors: | ||
* Headset Stereophone | ||
* Ext Spk | ||
* Line In | ||
* Mic | ||
|
||
SiRF internal audio codec pins: | ||
* HPOUTL | ||
* HPOUTR | ||
* SPKOUT | ||
* Ext Mic | ||
* Mic Bias | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "sirf,sirf-audio-card"; | ||
sirf,audio-codec = <&audiocodec>; | ||
sirf,audio-platform = <&audioport>; | ||
hp-pa-gpios = <&gpio 44 0>; | ||
spk-pa-gpios = <&gpio 46 0>; | ||
hp-switch-gpios = <&gpio 45 0>; | ||
}; | ||
|
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,20 @@ | ||
TDM slot: | ||
|
||
This specifies audio DAI's TDM slot. | ||
|
||
TDM slot properties: | ||
dai-tdm-slot-num : Number of slots in use. | ||
dai-tdm-slot-width : Width in bits for each slot. | ||
|
||
For instance: | ||
dai-tdm-slot-num = <2>; | ||
dai-tdm-slot-width = <8>; | ||
|
||
And for each spcified driver, there could be one .of_xlate_tdm_slot_mask() | ||
to specify a explicit mapping of the channels and the slots. If it's absent | ||
the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the | ||
tx and rx masks. | ||
|
||
For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit | ||
for an active slot as default, and the default active bits are at the LSB of | ||
the masks. |
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,30 @@ | ||
Texas Instruments - tlv320aic32x4 Codec module | ||
|
||
The tlv320aic32x4 serial control bus communicates through I2C protocols | ||
|
||
Required properties: | ||
- compatible: Should be "ti,tlv320aic32x4" | ||
- reg: I2C slave address | ||
- supply-*: Required supply regulators are: | ||
"iov" - digital IO power supply | ||
"ldoin" - LDO power supply | ||
"dv" - Digital core power supply | ||
"av" - Analog core power supply | ||
If you supply ldoin, dv and av are optional. Otherwise they are required | ||
See regulator/regulator.txt for more information about the detailed binding | ||
format. | ||
|
||
Optional properties: | ||
- reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt | ||
- clocks/clock-names: Clock named 'mclk' for the master clock of the codec. | ||
See clock/clock-bindings.txt for information about the detailed format. | ||
|
||
|
||
Example: | ||
|
||
codec: tlv320aic32x4@18 { | ||
compatible = "ti,tlv320aic32x4"; | ||
reg = <0x18>; | ||
clocks = <&clks 201>; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Widgets: | ||
|
||
This mainly specifies audio off-codec DAPM widgets. | ||
|
||
Each entry is a pair of strings in DT: | ||
|
||
"template-wname", "user-supplied-wname" | ||
|
||
The "template-wname" being the template widget name and currently includes: | ||
"Microphone", "Line", "Headphone" and "Speaker". | ||
|
||
The "user-supplied-wname" being the user specified widget name. | ||
|
||
For instance: | ||
simple-audio-widgets = | ||
"Microphone", "Microphone Jack", | ||
"Line", "Line In Jack", | ||
"Line", "Line Out Jack", | ||
"Headphone", "Headphone Jack", | ||
"Speaker", "Speaker External"; |
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.