aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisael Lopez Cruz2013-06-17 11:37:05 -0500
committerMisael Lopez Cruz2013-07-22 15:04:24 -0500
commitc708bc749fd3c2666ead16f7942bf5dcdd8bb5bd (patch)
treeab42d98dada506f77c5219e6c24de8f22b280f2f
parent94ea3f3c9de338192df87fff39a15fd86dab5b9d (diff)
downloadkernel-video-c708bc749fd3c2666ead16f7942bf5dcdd8bb5bd.tar.gz
kernel-video-c708bc749fd3c2666ead16f7942bf5dcdd8bb5bd.tar.xz
kernel-video-c708bc749fd3c2666ead16f7942bf5dcdd8bb5bd.zip
ARM: dts: dra7-evm: Add sound card node
Add node for McASP-based sound card which consists of the media DAI link that connects McASP3 and tlv320aic3106. This DAI link in I2S mode with a bit clock of 5.6448 MHz that allows 44.1kHz, 16-bits/sample. Change-Id: I46aaa94a68c6b3c89069b9030edf96d57d2476ef Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
-rw-r--r--arch/arm/boot/dts/dra7-evm.dts47
1 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 2703cd323af..36d52ee9d6d 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -37,6 +37,44 @@
37 }; 37 };
38 }; 38 };
39 39
40 vaudio_1v8: fixedregulator-vaudio-dig {
41 compatible = "regulator-fixed";
42 regulator-name = "vdac_fixed";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <1800000>;
45 regulator-boot-on;
46 };
47
48 vaudio_3v3: fixedregulator-vaudio-anlg {
49 compatible = "regulator-fixed";
50 regulator-name = "vdac_fixed";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 regulator-boot-on;
54 };
55
56 sound {
57 compatible = "ti,dra7-evm-sound";
58 ti,model = "dra7evm";
59
60 /* Audio routing */
61 ti,audio-routing =
62 "LINE1L", "Line In",
63 "LINE1R", "Line In",
64 "MIC3L", "Mic Bias 2V",
65 "MIC3R", "Mic Bias 2V",
66 "Mic Bias 2V", "Main Mic",
67 "Headphone", "HPLOUT",
68 "Headphone", "HPROUT",
69 "Line Out", "LLOUT",
70 "Line Out", "RLOUT";
71
72 /* Media DAI link */
73 ti,media-cpu = <&mcasp3>;
74 ti,media-codec = <&tlv320aic3106>;
75 ti,media-mclk-freq = <5644800>;
76 ti,media-slots = <2>;
77 };
40}; 78};
41 79
42&dra7_pmx_core { 80&dra7_pmx_core {
@@ -143,6 +181,15 @@
143 reg = <0x40>; 181 reg = <0x40>;
144 gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */ 182 gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */
145 }; 183 };
184
185 tlv320aic3106: tlv320aic3106@18 {
186 compatible = "ti,tlv320aic3x";
187 reg = <0x18>;
188 IOVDD-supply = <&vaudio_3v3>;
189 DVDD-supply = <&vaudio_1v8>;
190 AVDD-supply = <&vaudio_3v3>;
191 DRVDD-supply = <&vaudio_3v3>;
192 };
146}; 193};
147 194
148/include/ "tps659038.dtsi" 195/include/ "tps659038.dtsi"