-
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-v5.0' of https://git.kernel.org/pub/scm/linux/kernel/…
…git/broonie/sound into for-linus ASoC: Updates for v5.0/v4.20 As ever there's a lot of small and driver specific changes going on here, but we do also have some relatively large changes in the core thanks to the hard work of Charles and Morimoto-san: - More component transitions from Morimoto-san, I think we're about finished with this. Thanks for all the hard work! - Morimoto-san also added a bunch of for_each_foo macros - A bunch of cleanups and fixes for DAPM from Charles. - MCLK support for several different devices, including CS42L51, STM32 SAI, and MAX98373. - Support for Allwinner A64 CODEC analog, Intel boards with DA7219 and MAX98927, Meson AXG PDM inputs, Nuvoton NAU8822, Renesas R8A7744 and TI PCM3060.
- Loading branch information
Showing
1,680 changed files
with
24,348 additions
and
11,200 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
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,54 @@ | ||
Analog Devices ADAU1977/ADAU1978/ADAU1979 | ||
|
||
Datasheets: | ||
http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf | ||
http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf | ||
http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf | ||
|
||
This driver supports both the I2C and SPI bus. | ||
|
||
Required properties: | ||
- compatible: Should contain one of the following: | ||
"adi,adau1977" | ||
"adi,adau1978" | ||
"adi,adau1979" | ||
|
||
- AVDD-supply: analog power supply for the device, please consult | ||
Documentation/devicetree/bindings/regulator/regulator.txt | ||
|
||
Optional properties: | ||
- reset-gpio: the reset pin for the chip, for more details consult | ||
Documentation/devicetree/bindings/gpio/gpio.txt | ||
|
||
- DVDD-supply: supply voltage for the digital core, please consult | ||
Documentation/devicetree/bindings/regulator/regulator.txt | ||
|
||
For required properties on SPI, please consult | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Required properties on I2C: | ||
|
||
- reg: The i2c address. Value depends on the state of ADDR0 | ||
and ADDR1, as wired in hardware. | ||
|
||
Examples: | ||
|
||
adau1977_spi: adau1977@0 { | ||
compatible = "adi,adau1977"; | ||
spi-max-frequency = <600000>; | ||
|
||
AVDD-supply = <®ulator>; | ||
DVDD-supply = <®ulator_digital>; | ||
|
||
reset_gpio = <&gpio 10 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
adau1977_i2c: adau1977@11 { | ||
compatible = "adi,adau1977"; | ||
reg = <0x11>; | ||
|
||
AVDD-supply = <®ulator>; | ||
DVDD-supply = <®ulator_digital>; | ||
|
||
reset_gpio = <&gpio 10 GPIO_ACTIVE_LOW>; | ||
}; |
24 changes: 24 additions & 0 deletions
24
Documentation/devicetree/bindings/sound/amlogic,axg-pdm.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,24 @@ | ||
* Amlogic Audio PDM input | ||
|
||
Required properties: | ||
- compatible: 'amlogic,axg-pdm' | ||
- reg: physical base address of the controller and length of memory | ||
mapped region. | ||
- clocks: list of clock phandle, one for each entry clock-names. | ||
- clock-names: should contain the following: | ||
* "pclk" : peripheral clock. | ||
* "dclk" : pdm digital clock | ||
* "sysclk" : dsp system clock | ||
- #sound-dai-cells: must be 0. | ||
|
||
Example of PDM on the A113 SoC: | ||
|
||
pdm: audio-controller@ff632000 { | ||
compatible = "amlogic,axg-pdm"; | ||
reg = <0x0 0xff632000 0x0 0x34>; | ||
#sound-dai-cells = <0>; | ||
clocks = <&clkc_audio AUD_CLKID_PDM>, | ||
<&clkc_audio AUD_CLKID_PDM_DCLK>, | ||
<&clkc_audio AUD_CLKID_PDM_SYSCLK>; | ||
clock-names = "pclk", "dclk", "sysclk"; | ||
}; |
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 @@ | ||
CS42L51 audio CODEC | ||
|
||
Optional properties: | ||
|
||
- clocks : a list of phandles + clock-specifiers, one for each entry in | ||
clock-names | ||
|
||
- clock-names : must contain "MCLK" | ||
|
||
Example: | ||
|
||
cs42l51: cs42l51@4a { | ||
compatible = "cirrus,cs42l51"; | ||
reg = <0x4a>; | ||
clocks = <&mclk_prov>; | ||
clock-names = "MCLK"; | ||
}; |
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/sound/maxim,max98088.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,23 @@ | ||
MAX98088 audio CODEC | ||
|
||
This device supports I2C only. | ||
|
||
Required properties: | ||
|
||
- compatible: "maxim,max98088" or "maxim,max98089". | ||
- reg: The I2C address of the device. | ||
|
||
Optional properties: | ||
|
||
- clocks: the clock provider of MCLK, see ../clock/clock-bindings.txt section | ||
"consumer" for more information. | ||
- clock-names: must be set to "mclk" | ||
|
||
Example: | ||
|
||
max98089: codec@10 { | ||
compatible = "maxim,max98089"; | ||
reg = <0x10>; | ||
clocks = <&clks IMX6QDL_CLK_CKO2>; | ||
clock-names = "mclk"; | ||
}; |
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.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,23 @@ | ||
Mikroe-PROTO audio board | ||
|
||
Required properties: | ||
- compatible: "mikroe,mikroe-proto" | ||
- dai-format: Must be "i2s". | ||
- i2s-controller: The phandle of the I2S controller. | ||
- audio-codec: The phandle of the WM8731 audio codec. | ||
Optional properties: | ||
- model: The user-visible name of this sound complex. | ||
- bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). | ||
- frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). | ||
|
||
(1) : There must be the same master for both bit and frame clocks. | ||
|
||
Example: | ||
sound { | ||
compatible = "mikroe,mikroe-proto"; | ||
model = "wm8731 @ sama5d2_xplained"; | ||
i2s-controller = <&i2s0>; | ||
audio-codec = <&wm8731>; | ||
dai-format = "i2s"; | ||
}; | ||
}; |
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 @@ | ||
NAU8822 audio CODEC | ||
|
||
This device supports I2C only. | ||
|
||
Required properties: | ||
|
||
- compatible : "nuvoton,nau8822" | ||
|
||
- reg : the I2C address of the device. | ||
|
||
Example: | ||
|
||
codec: nau8822@1a { | ||
compatible = "nuvoton,nau8822"; | ||
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,17 @@ | ||
PCM3060 audio CODEC | ||
|
||
This driver supports both I2C and SPI. | ||
|
||
Required properties: | ||
|
||
- compatible: "ti,pcm3060" | ||
|
||
- reg : the I2C address of the device for I2C, the chip select | ||
number for SPI. | ||
|
||
Examples: | ||
|
||
pcm3060: pcm3060@46 { | ||
compatible = "ti,pcm3060"; | ||
reg = <0x46>; | ||
}; |
Oops, something went wrong.