-
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 remote-tracking branch 'asoc/topic/tegra' into asoc-next
- Loading branch information
Showing
12 changed files
with
918 additions
and
4 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.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,51 @@ | ||
NVIDIA Tegra audio complex | ||
|
||
Required properties: | ||
- compatible : "nvidia,tegra-audio-wm9712" | ||
- nvidia,model : The user-visible name of this sound complex. | ||
- nvidia,audio-routing : A list of the connections between audio components. | ||
Each entry is a pair of strings, the first being the connection's sink, | ||
the second being the connection's source. Valid names for sources and | ||
sinks are the WM9712's pins, and the jacks on the board: | ||
|
||
WM9712 pins: | ||
|
||
* MONOOUT | ||
* HPOUTL | ||
* HPOUTR | ||
* LOUT2 | ||
* ROUT2 | ||
* OUT3 | ||
* LINEINL | ||
* LINEINR | ||
* PHONE | ||
* PCBEEP | ||
* MIC1 | ||
* MIC2 | ||
* Mic Bias | ||
|
||
Board connectors: | ||
|
||
* Headphone | ||
* LineIn | ||
* Mic | ||
|
||
- nvidia,ac97-controller : The phandle of the Tegra AC97 controller | ||
|
||
|
||
Example: | ||
|
||
sound { | ||
compatible = "nvidia,tegra-audio-wm9712-colibri_t20", | ||
"nvidia,tegra-audio-wm9712"; | ||
nvidia,model = "Toradex Colibri T20"; | ||
|
||
nvidia,audio-routing = | ||
"Headphone", "HPOUTL", | ||
"Headphone", "HPOUTR", | ||
"LineIn", "LINEINL", | ||
"LineIn", "LINEINR", | ||
"Mic", "MIC1"; | ||
|
||
nvidia,ac97-controller = <&ac97>; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.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,22 @@ | ||
NVIDIA Tegra 20 AC97 controller | ||
|
||
Required properties: | ||
- compatible : "nvidia,tegra20-ac97" | ||
- reg : Should contain AC97 controller registers location and length | ||
- interrupts : Should contain AC97 interrupt | ||
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and | ||
request selector for the AC97 controller | ||
- nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number | ||
of the GPIO used to reset the external AC97 codec | ||
- nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number | ||
of the GPIO corresponding with the AC97 DAP _FS line | ||
Example: | ||
|
||
ac97@70002000 { | ||
compatible = "nvidia,tegra20-ac97"; | ||
reg = <0x70002000 0x200>; | ||
interrupts = <0 81 0x04>; | ||
nvidia,dma-request-selector = <&apbdma 12>; | ||
nvidia,codec-reset-gpio = <&gpio 170 0>; | ||
nvidia,codec-sync-gpio = <&gpio 120 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
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.