diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-02-19 15:42:31 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-20 09:35:39 +0800 |
commit | 8128c4f366b1d488f0693e9da422f76fba74254b (patch) | |
tree | d93ad87b664526d0d3af13e94a65ddb1e82627f4 /arch/arm/boot/dts/vf610-twr.dts | |
parent | c5d571e7ccb3e603acd7a02d5db2c68e72c7af44 (diff) | |
download | linux-8128c4f366b1d488f0693e9da422f76fba74254b.tar.gz linux-8128c4f366b1d488f0693e9da422f76fba74254b.tar.bz2 linux-8128c4f366b1d488f0693e9da422f76fba74254b.zip |
ARM: dts: vf610-twr: Add simple-card support.
This patch adds and enables simple-card support in DT node.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-twr.dts')
-rw-r--r-- | arch/arm/boot/dts/vf610-twr.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 0105501ac55e..da52ed7eefa2 100644 --- a/arch/arm/boot/dts/vf610-twr.dts +++ b/arch/arm/boot/dts/vf610-twr.dts @@ -48,6 +48,35 @@ regulator-always-on; }; }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,widgets = + "Microphone", "Microphone Jack", + "Headphone", "Headphone Jack", + "Speaker", "Speaker Ext", + "Line", "Line In Jack"; + simple-audio-card,routing = + "MIC_IN", "Microphone Jack", + "Microphone Jack", "Mic Bias", + "LINE_IN", "Line In Jack", + "Headphone Jack", "HP_OUT", + "Speaker Ext", "LINE_OUT"; + + simple-audio-card,cpu { + sound-dai = <&sai2>; + master-clkdir-out; + frame-master; + bitclock-master; + }; + + simple-audio-card,codec { + sound-dai = <&codec>; + frame-master; + bitclock-master; + }; + }; }; &dspi0 { @@ -88,6 +117,7 @@ status = "okay"; codec: sgtl5000@0a { + #sound-dai-cells = <0>; compatible = "fsl,sgtl5000"; reg = <0x0a>; VDDA-supply = <®_3p3v>; @@ -165,6 +195,7 @@ }; &sai2 { + #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai2>; status = "okay"; |