From c708bc749fd3c2666ead16f7942bf5dcdd8bb5bd Mon Sep 17 00:00:00 2001 From: Misael Lopez Cruz Date: Mon, 17 Jun 2013 11:37:05 -0500 Subject: 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 --- arch/arm/boot/dts/dra7-evm.dts | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) 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 @@ }; }; + vaudio_1v8: fixedregulator-vaudio-dig { + compatible = "regulator-fixed"; + regulator-name = "vdac_fixed"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + }; + + vaudio_3v3: fixedregulator-vaudio-anlg { + compatible = "regulator-fixed"; + regulator-name = "vdac_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + }; + + sound { + compatible = "ti,dra7-evm-sound"; + ti,model = "dra7evm"; + + /* Audio routing */ + ti,audio-routing = + "LINE1L", "Line In", + "LINE1R", "Line In", + "MIC3L", "Mic Bias 2V", + "MIC3R", "Mic Bias 2V", + "Mic Bias 2V", "Main Mic", + "Headphone", "HPLOUT", + "Headphone", "HPROUT", + "Line Out", "LLOUT", + "Line Out", "RLOUT"; + + /* Media DAI link */ + ti,media-cpu = <&mcasp3>; + ti,media-codec = <&tlv320aic3106>; + ti,media-mclk-freq = <5644800>; + ti,media-slots = <2>; + }; }; &dra7_pmx_core { @@ -143,6 +181,15 @@ reg = <0x40>; gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */ }; + + tlv320aic3106: tlv320aic3106@18 { + compatible = "ti,tlv320aic3x"; + reg = <0x18>; + IOVDD-supply = <&vaudio_3v3>; + DVDD-supply = <&vaudio_1v8>; + AVDD-supply = <&vaudio_3v3>; + DRVDD-supply = <&vaudio_3v3>; + }; }; /include/ "tps659038.dtsi" -- cgit v1.2.3-54-g00ecf