-
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.18' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/broonie/sound into for-next ASoC: Updates for v3.18 - More componentisation work from Lars-Peter, this time mainly cleaning up the suspend and bias level transition callbacks. - Real system support for the Intel drivers and a bunch of fixes and enhancements for the associated CODEC drivers, this is going to need a lot quirks over time due to the lack of any firmware description of the boards. - Jack detect support for simple card from Dylan Reid. - A bunch of small fixes and enhancements for the Freescale drivers. - New drivers for Analog Devices SSM4567, Cirrus Logic CS35L32, Everest Semiconductor ES8328 and Freescale cards using the ASRC in newer i.MX processors.
- Loading branch information
Showing
1,021 changed files
with
15,890 additions
and
6,453 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
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,47 @@ | ||
Device-Tree binding for regmap | ||
|
||
The endianness mode of CPU & Device scenarios: | ||
Index Device Endianness properties | ||
--------------------------------------------------- | ||
1 BE 'big-endian' | ||
2 LE 'little-endian' | ||
|
||
For one device driver, which will run in different scenarios above | ||
on different SoCs using the devicetree, we need one way to simplify | ||
this. | ||
|
||
Required properties: | ||
- {big,little}-endian: these are boolean properties, if absent | ||
meaning that the CPU and the Device are in the same endianness mode, | ||
these properties are for register values and all the buffers only. | ||
|
||
Examples: | ||
Scenario 1 : CPU in LE mode & device in LE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
}; | ||
|
||
Scenario 2 : CPU in LE mode & device in BE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
big-endian; | ||
}; | ||
|
||
Scenario 3 : CPU in BE mode & device in BE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
}; | ||
|
||
Scenario 4 : CPU in BE mode & device in LE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
little-endian; | ||
}; |
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,19 @@ | ||
Analog Devices SSM2602, SSM2603 and SSM2604 I2S audio CODEC devices | ||
|
||
SSM2602 support both I2C and SPI as the configuration interface, | ||
the selection is made by the MODE strap-in pin. | ||
SSM2603 and SSM2604 only support I2C as the configuration interface. | ||
|
||
Required properties: | ||
|
||
- compatible : One of "adi,ssm2602", "adi,ssm2603" or "adi,ssm2604" | ||
|
||
- reg : the I2C address of the device for I2C, the chip select | ||
number for SPI. | ||
|
||
Example: | ||
|
||
ssm2602: ssm2602@1a { | ||
compatible = "adi,ssm2602"; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
CS35L32 audio CODEC | ||
|
||
Required properties: | ||
|
||
- compatible : "cirrus,cs35l32" | ||
|
||
- reg : the I2C address of the device for I2C. Address is determined by the level | ||
of the AD0 pin. Level 0 is 0x40 while Level 1 is 0x41. | ||
|
||
- VA-supply, VP-supply : power supplies for the device, | ||
as covered in Documentation/devicetree/bindings/regulator/regulator.txt. | ||
|
||
Optional properties: | ||
|
||
- reset-gpios : a GPIO spec for the reset pin. If specified, it will be | ||
deasserted before communication to the codec starts. | ||
|
||
- cirrus,boost-manager : Boost voltage control. | ||
0 = Automatically managed. Boost-converter output voltage is the higher | ||
of the two: Class G or adaptive LED voltage. | ||
1 = Automatically managed irrespective of audio, adapting for low-power | ||
dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode | ||
if LEDs are OFF (VBST = VP). | ||
2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP). | ||
3 = Boost voltage fixed at 5 V. | ||
|
||
- cirrus,sdout-datacfg : Data configuration for dual CS35L32 applications only. | ||
Determines the data packed in a two-CS35L32 configuration. | ||
0 = Left/right channels VMON[11:0], IMON[11:0], VPMON[7:0]. | ||
1 = Left/right channels VMON[11:0], IMON[11:0], STATUS. | ||
2 = (Default) left/right channels VMON[15:0], IMON [15:0]. | ||
3 = Left/right channels VPMON[7:0], STATUS. | ||
|
||
- cirrus,sdout-share : SDOUT sharing. Determines whether one or two CS35L32 | ||
devices are on board sharing SDOUT. | ||
0 = (Default) One IC. | ||
1 = Two IC's. | ||
|
||
- cirrus,battery-recovery : Low battery nominal recovery threshold, rising VP. | ||
0 = 3.1V | ||
1 = 3.2V | ||
2 = 3.3V (Default) | ||
3 = 3.4V | ||
|
||
- cirrus,battery-threshold : Low battery nominal threshold, falling VP. | ||
0 = 3.1V | ||
1 = 3.2V | ||
2 = 3.3V | ||
3 = 3.4V (Default) | ||
4 = 3.5V | ||
5 = 3.6V | ||
|
||
Example: | ||
|
||
codec: codec@40 { | ||
compatible = "cirrus,cs35l32"; | ||
reg = <0x40>; | ||
reset-gpios = <&gpio 10 0>; | ||
cirrus,boost-manager = <0x03>; | ||
cirrus,sdout-datacfg = <0x02>; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Everest ES8328 audio CODEC | ||
|
||
This device supports both I2C and SPI. | ||
|
||
Required properties: | ||
|
||
- compatible : "everest,es8328" | ||
- DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V | ||
- AVDD-supply : Regulator providing analog supply voltage 3.3V | ||
- PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V | ||
- IPVDD-supply : Regulator providing analog output voltage 3.3V | ||
- clocks : A 22.5792 or 11.2896 MHz clock | ||
- reg : the I2C address of the device for I2C, the chip select number for SPI | ||
|
||
Pins on the device (for linking into audio routes): | ||
|
||
* LOUT1 | ||
* LOUT2 | ||
* ROUT1 | ||
* ROUT2 | ||
* LINPUT1 | ||
* RINPUT1 | ||
* LINPUT2 | ||
* RINPUT2 | ||
* Mic Bias | ||
|
||
|
||
Example: | ||
|
||
codec: es8328@11 { | ||
compatible = "everest,es8328"; | ||
DVDD-supply = <®_3p3v>; | ||
AVDD-supply = <®_3p3v>; | ||
PVDD-supply = <®_3p3v>; | ||
HPVDD-supply = <®_3p3v>; | ||
clocks = <&clks 169>; | ||
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
Oops, something went wrong.