Commit 80edaaea authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren

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: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e4e0b702
...@@ -136,16 +136,29 @@ display-timings { ...@@ -136,16 +136,29 @@ display-timings {
}; };
sound { sound {
compatible = "ti,da830-evm-audio"; compatible = "simple-audio-card";
ti,model = "AM335x-EVM"; simple-audio-card,name = "AM335x-EVM";
ti,audio-codec = <&tlv320aic3106>; simple-audio-card,widgets =
ti,mcasp-controller = <&mcasp1>; "Headphone", "Headphone Jack",
ti,codec-clock-rate = <12000000>; "Line", "Line In";
ti,audio-routing = simple-audio-card,routing =
"Headphone Jack", "HPLOUT", "Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT", "Headphone Jack", "HPROUT",
"LINE1L", "Line In", "LINE1L", "Line In",
"LINE1R", "Line In"; "LINE1R", "Line In";
simple-audio-card,format = "dsp_b";
simple-audio-card,bitclock-master = <&sound_master>;
simple-audio-card,frame-master = <&sound_master>;
simple-audio-card,bitclock-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp1>;
};
sound_master: simple-audio-card,codec {
sound-dai = <&tlv320aic3106>;
system-clock-frequency = <12000000>;
};
}; };
}; };
...@@ -469,6 +482,7 @@ tmp275: tmp275@48 { ...@@ -469,6 +482,7 @@ tmp275: tmp275@48 {
}; };
tlv320aic3106: tlv320aic3106@1b { tlv320aic3106: tlv320aic3106@1b {
#sound-dai-cells = <0>;
compatible = "ti,tlv320aic3106"; compatible = "ti,tlv320aic3106";
reg = <0x1b>; reg = <0x1b>;
status = "okay"; status = "okay";
...@@ -584,6 +598,7 @@ partition@9 { ...@@ -584,6 +598,7 @@ partition@9 {
#include "tps65910.dtsi" #include "tps65910.dtsi"
&mcasp1 { &mcasp1 {
#sound-dai-cells = <0>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&mcasp1_pins>; pinctrl-0 = <&mcasp1_pins>;
pinctrl-1 = <&mcasp1_pins_sleep>; pinctrl-1 = <&mcasp1_pins_sleep>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment