diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-07-02 10:06:35 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-07-14 07:28:25 -0400 |
commit | 80edaaead3687b47ba3760588306937439ebd7bd (patch) | |
tree | 02ec9ed1b77298481d172da4582ee0a981189e79 /arch/arm/boot/dts/am335x-evm.dts | |
parent | e4e0b70224fb840a264ad521493cfea94f7d2ef5 (diff) |
ARM: dts: am335x-evm: Switch using simple-audio-card for audio support
The sound support consist only Headset output on the board and can be
handled by "simple-audio-card"
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index d4783e0a96f2..1942a5c8132d 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -136,16 +136,29 @@ | |||
136 | }; | 136 | }; |
137 | 137 | ||
138 | sound { | 138 | sound { |
139 | compatible = "ti,da830-evm-audio"; | 139 | compatible = "simple-audio-card"; |
140 | ti,model = "AM335x-EVM"; | 140 | simple-audio-card,name = "AM335x-EVM"; |
141 | ti,audio-codec = <&tlv320aic3106>; | 141 | simple-audio-card,widgets = |
142 | ti,mcasp-controller = <&mcasp1>; | 142 | "Headphone", "Headphone Jack", |
143 | ti,codec-clock-rate = <12000000>; | 143 | "Line", "Line In"; |
144 | ti,audio-routing = | 144 | simple-audio-card,routing = |
145 | "Headphone Jack", "HPLOUT", | 145 | "Headphone Jack", "HPLOUT", |
146 | "Headphone Jack", "HPROUT", | 146 | "Headphone Jack", "HPROUT", |
147 | "LINE1L", "Line In", | 147 | "LINE1L", "Line In", |
148 | "LINE1R", "Line In"; | 148 | "LINE1R", "Line In"; |
149 | simple-audio-card,format = "dsp_b"; | ||
150 | simple-audio-card,bitclock-master = <&sound_master>; | ||
151 | simple-audio-card,frame-master = <&sound_master>; | ||
152 | simple-audio-card,bitclock-inversion; | ||
153 | |||
154 | simple-audio-card,cpu { | ||
155 | sound-dai = <&mcasp1>; | ||
156 | }; | ||
157 | |||
158 | sound_master: simple-audio-card,codec { | ||
159 | sound-dai = <&tlv320aic3106>; | ||
160 | system-clock-frequency = <12000000>; | ||
161 | }; | ||
149 | }; | 162 | }; |
150 | }; | 163 | }; |
151 | 164 | ||
@@ -469,6 +482,7 @@ | |||
469 | }; | 482 | }; |
470 | 483 | ||
471 | tlv320aic3106: tlv320aic3106@1b { | 484 | tlv320aic3106: tlv320aic3106@1b { |
485 | #sound-dai-cells = <0>; | ||
472 | compatible = "ti,tlv320aic3106"; | 486 | compatible = "ti,tlv320aic3106"; |
473 | reg = <0x1b>; | 487 | reg = <0x1b>; |
474 | status = "okay"; | 488 | status = "okay"; |
@@ -584,6 +598,7 @@ | |||
584 | #include "tps65910.dtsi" | 598 | #include "tps65910.dtsi" |
585 | 599 | ||
586 | &mcasp1 { | 600 | &mcasp1 { |
601 | #sound-dai-cells = <0>; | ||
587 | pinctrl-names = "default", "sleep"; | 602 | pinctrl-names = "default", "sleep"; |
588 | pinctrl-0 = <&mcasp1_pins>; | 603 | pinctrl-0 = <&mcasp1_pins>; |
589 | pinctrl-1 = <&mcasp1_pins_sleep>; | 604 | pinctrl-1 = <&mcasp1_pins_sleep>; |