-
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.
ASoC: at91sam9g20ek-wm8731: convert to dt support
convert at91sam9g20ek with wm8731 to device tree support Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
- Loading branch information
Bo Shen
authored and
Mark Brown
committed
Nov 16, 2012
1 parent
3310b57
commit 531f67e
Showing
4 changed files
with
119 additions
and
5 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/sound/atmel-at91sam9g20ek-wm8731-audio.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,26 @@ | ||
* Atmel at91sam9g20ek wm8731 audio complex | ||
|
||
Required properties: | ||
- compatible: "atmel,at91sam9g20ek-wm8731-audio" | ||
- atmel,model: The user-visible name of this sound complex. | ||
- atmel,audio-routing: A list of the connections between audio components. | ||
- atmel,ssc-controller: The phandle of the SSC controller | ||
- atmel,audio-codec: The phandle of the WM8731 audio codec | ||
Optional properties: | ||
- pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt | ||
|
||
Example: | ||
sound { | ||
compatible = "atmel,at91sam9g20ek-wm8731-audio"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_pck0_as_mck>; | ||
|
||
atmel,model = "wm8731 @ AT91SAMG20EK"; | ||
|
||
atmel,audio-routing = | ||
"Ext Spk", "LHPOUT", | ||
"Int MIC", "MICIN"; | ||
|
||
atmel,ssc-controller = <&ssc0>; | ||
atmel,audio-codec = <&wm8731>; | ||
}; |
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