forked from torvalds/linux
-
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 branch 'asoc-4.20' into asoc-next
- Loading branch information
Showing
192 changed files
with
8,333 additions
and
1,523 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
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>; | ||
}; |
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
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/sound/sun50i-codec-analog.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,12 @@ | ||
* Allwinner A64 Codec Analog Controls | ||
|
||
Required properties: | ||
- compatible: must be one of the following compatibles: | ||
- "allwinner,sun50i-a64-codec-analog" | ||
- reg: must contain the registers location and length | ||
|
||
Example: | ||
codec_analog: codec-analog@1f015c0 { | ||
compatible = "allwinner,sun50i-a64-codec-analog"; | ||
reg = <0x01f015c0 0x4>; | ||
}; |
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,17 @@ | ||
WM8782 stereo ADC | ||
|
||
This device does not have any control interface or reset pins. | ||
|
||
Required properties: | ||
|
||
- compatible : "wlf,wm8782" | ||
- Vdda-supply : phandle to a regulator for the analog power supply (2.7V - 5.5V) | ||
- Vdd-supply : phandle to a regulator for the digital power supply (2.7V - 3.6V) | ||
|
||
Example: | ||
|
||
wm8782: stereo-adc { | ||
compatible = "wlf,wm8782"; | ||
Vdda-supply = <&vdda_supply>; | ||
Vdd-supply = <&vdd_supply>; | ||
}; |
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.