mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
ARM: DTS: da850-evm: Enable audio via simple-card
The audio on the board is using McASP <-> tlv320aic3106 codec and we have LineIn and LineOut jacks. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
parent
204a87ed4b
commit
3f526696e7
1 changed files with 29 additions and 0 deletions
|
@ -52,6 +52,7 @@ tps: tps@48 {
|
||||||
reg = <0x48>;
|
reg = <0x48>;
|
||||||
};
|
};
|
||||||
tlv320aic3106: tlv320aic3106@18 {
|
tlv320aic3106: tlv320aic3106@18 {
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
compatible = "ti,tlv320aic3106";
|
compatible = "ti,tlv320aic3106";
|
||||||
reg = <0x18>;
|
reg = <0x18>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -142,6 +143,33 @@ vbat: fixedregulator@0 {
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sound {
|
||||||
|
compatible = "simple-audio-card";
|
||||||
|
simple-audio-card,name = "DA850/OMAP-L138 EVM";
|
||||||
|
simple-audio-card,widgets =
|
||||||
|
"Line", "Line In",
|
||||||
|
"Line", "Line Out";
|
||||||
|
simple-audio-card,routing =
|
||||||
|
"LINE1L", "Line In",
|
||||||
|
"LINE1R", "Line In",
|
||||||
|
"Line Out", "LLOUT",
|
||||||
|
"Line Out", "RLOUT";
|
||||||
|
simple-audio-card,format = "dsp_b";
|
||||||
|
simple-audio-card,bitclock-master = <&link0_codec>;
|
||||||
|
simple-audio-card,frame-master = <&link0_codec>;
|
||||||
|
simple-audio-card,bitclock-inversion;
|
||||||
|
|
||||||
|
simple-audio-card,cpu {
|
||||||
|
sound-dai = <&mcasp0>;
|
||||||
|
system-clock-frequency = <24576000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
link0_codec: simple-audio-card,codec {
|
||||||
|
sound-dai = <&tlv320aic3106>;
|
||||||
|
system-clock-frequency = <24576000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/include/ "tps6507x.dtsi"
|
/include/ "tps6507x.dtsi"
|
||||||
|
@ -197,6 +225,7 @@ ldo2_reg: regulator@4 {
|
||||||
};
|
};
|
||||||
|
|
||||||
&mcasp0 {
|
&mcasp0 {
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mcasp0_pins>;
|
pinctrl-0 = <&mcasp0_pins>;
|
||||||
|
|
Loading…
Reference in a new issue