-
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.16' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/broonie/sound into for-next ASoC: Updates for v3.16 Lots of cleanup work going on in the core this release but very little visible to external users except for the new drivers that have been added. - Support for specifying aux CODECs in DT. - Removal of the deprecated mux and enum macros. - More moves towards full componentisation. - Removal of some unused I/O code. - Lots of cleanups, fixes and enhancements to the davinci, Freescale, Haswell and Realtek drivers. - Several drivers exposed directly in Kconfig for use with simple-card. - New drivers for Cirrus CS42L56, Realtek RT5639, RT5642 and RT5651 and ST STA350.
- Loading branch information
Showing
938 changed files
with
25,080 additions
and
8,974 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
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
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,25 @@ | ||
ALC5621/ALC5622/ALC5623 audio Codec | ||
|
||
Required properties: | ||
|
||
- compatible: "realtek,alc5623" | ||
- reg: the I2C address of the device. | ||
|
||
Optional properties: | ||
|
||
- add-ctrl: Default register value for Reg-40h, Additional Control | ||
Register. If absent or has the value of 0, the | ||
register is untouched. | ||
|
||
- jack-det-ctrl: Default register value for Reg-5Ah, Jack Detect | ||
Control Register. If absent or has value 0, the | ||
register is untouched. | ||
|
||
Example: | ||
|
||
alc5621: alc5621@1a { | ||
compatible = "alc5621"; | ||
reg = <0x1a>; | ||
add-ctrl = <0x3700>; | ||
jack-det-ctrl = <0x4810>; | ||
}; |
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,63 @@ | ||
CS42L52 audio CODEC | ||
|
||
Required properties: | ||
|
||
- compatible : "cirrus,cs42l56" | ||
|
||
- reg : the I2C address of the device for I2C | ||
|
||
- VA-supply, VCP-supply, VLDO-supply : power supplies for the device, | ||
as covered in Documentation/devicetree/bindings/regulator/regulator.txt. | ||
|
||
Optional properties: | ||
|
||
- cirrus,gpio-nreset : GPIO controller's phandle and the number | ||
of the GPIO used to reset the codec. | ||
|
||
- cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. | ||
Allowable values of 0x00 through 0x0F. These are raw values written to the | ||
register, not the actual frequency. The frequency is determined by the following. | ||
Frequency = MCLK / 4 * (N+2) | ||
N = chgfreq_val | ||
MCLK = Where MCLK is the frequency of the mclk signal after the MCLKDIV2 circuit. | ||
|
||
- cirrus,ain1a-ref-cfg, ain1b-ref-cfg : boolean, If present, AIN1A or AIN1B are configured | ||
as a pseudo-differential input referenced to AIN1REF/AIN3A. | ||
|
||
- cirrus,ain2a-ref-cfg, ain2b-ref-cfg : boolean, If present, AIN2A or AIN2B are configured | ||
as a pseudo-differential input referenced to AIN2REF/AIN3B. | ||
|
||
- cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin. | ||
0 = 0.5 x VA | ||
1 = 0.6 x VA | ||
2 = 0.7 x VA | ||
3 = 0.8 x VA | ||
4 = 0.83 x VA | ||
5 = 0.91 x VA | ||
|
||
- cirrus,adaptive-pwr-cfg : Configures how the power to the Headphone and Lineout | ||
Amplifiers adapt to the output signal levels. | ||
0 = Adapt to Volume Mode. Voltage level determined by the sum of the relevant volume settings. | ||
1 = Fixed - Headphone and Line Amp supply = + or - VCP/2. | ||
2 = Fixed - Headphone and Line Amp supply = + or - VCP. | ||
3 = Adapted to Signal; Voltage level is dynamically determined by the output signal. | ||
|
||
- cirrus,hpf-left-freq, hpf-right-freq : Sets the corner frequency (-3dB point) for the internal High-Pass | ||
Filter. | ||
0 = 1.8Hz | ||
1 = 119Hz | ||
2 = 236Hz | ||
3 = 464Hz | ||
|
||
|
||
Example: | ||
|
||
codec: codec@4b { | ||
compatible = "cirrus,cs42l56"; | ||
reg = <0x4b>; | ||
gpio-reset = <&gpio 10 0>; | ||
cirrus,chgfreq-divisor = <0x05>; | ||
cirrus.ain1_ref_cfg; | ||
cirrus,micbias-lvl = <5>; | ||
VA-supply = <®_audio>; | ||
}; |
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,16 @@ | ||
MAX98095 audio CODEC | ||
|
||
This device supports I2C only. | ||
|
||
Required properties: | ||
|
||
- compatible : "maxim,max98095". | ||
|
||
- reg : The I2C address of the device. | ||
|
||
Example: | ||
|
||
max98095: codec@11 { | ||
compatible = "maxim,max98095"; | ||
reg = <0x11>; | ||
}; |
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 @@ | ||
* Nokia N900 audio setup | ||
|
||
Required properties: | ||
- compatible: Should contain "nokia,n900-audio" | ||
- nokia,cpu-dai: phandle for the McBSP node | ||
- nokia,audio-codec: phandles for the main TLV320AIC3X node and the | ||
auxiliary TLV320AIC3X node (in this order) | ||
- nokia,headphone-amplifier: phandle for the TPA6130A2 node | ||
- tvout-selection-gpios: GPIO for tvout selection | ||
- jack-detection-gpios: GPIO for jack detection | ||
- eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch | ||
- speaker-amplifier-gpios: GPIO for speaker amplifier | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "nokia,n900-audio"; | ||
|
||
nokia,cpu-dai = <&mcbsp2>; | ||
nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>; | ||
nokia,headphone-amplifier = <&tpa6130a2>; | ||
|
||
tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */ | ||
jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */ | ||
eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */ | ||
speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; | ||
}; |
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.