diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-02-19 02:42:31 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-19 20:35:39 -0500 |
commit | 8128c4f366b1d488f0693e9da422f76fba74254b (patch) | |
tree | d93ad87b664526d0d3af13e94a65ddb1e82627f4 /arch/arm/boot/dts/vf610-twr.dts | |
parent | c5d571e7ccb3e603acd7a02d5db2c68e72c7af44 (diff) |
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 @@ | |||
48 | regulator-always-on; | 48 | regulator-always-on; |
49 | }; | 49 | }; |
50 | }; | 50 | }; |
51 | |||
52 | sound { | ||
53 | compatible = "simple-audio-card"; | ||
54 | simple-audio-card,format = "i2s"; | ||
55 | simple-audio-card,widgets = | ||
56 | "Microphone", "Microphone Jack", | ||
57 | "Headphone", "Headphone Jack", | ||
58 | "Speaker", "Speaker Ext", | ||
59 | "Line", "Line In Jack"; | ||
60 | simple-audio-card,routing = | ||
61 | "MIC_IN", "Microphone Jack", | ||
62 | "Microphone Jack", "Mic Bias", | ||
63 | "LINE_IN", "Line In Jack", | ||
64 | "Headphone Jack", "HP_OUT", | ||
65 | "Speaker Ext", "LINE_OUT"; | ||
66 | |||
67 | simple-audio-card,cpu { | ||
68 | sound-dai = <&sai2>; | ||
69 | master-clkdir-out; | ||
70 | frame-master; | ||
71 | bitclock-master; | ||
72 | }; | ||
73 | |||
74 | simple-audio-card,codec { | ||
75 | sound-dai = <&codec>; | ||
76 | frame-master; | ||
77 | bitclock-master; | ||
78 | }; | ||
79 | }; | ||
51 | }; | 80 | }; |
52 | 81 | ||
53 | &dspi0 { | 82 | &dspi0 { |
@@ -88,6 +117,7 @@ | |||
88 | status = "okay"; | 117 | status = "okay"; |
89 | 118 | ||
90 | codec: sgtl5000@0a { | 119 | codec: sgtl5000@0a { |
120 | #sound-dai-cells = <0>; | ||
91 | compatible = "fsl,sgtl5000"; | 121 | compatible = "fsl,sgtl5000"; |
92 | reg = <0x0a>; | 122 | reg = <0x0a>; |
93 | VDDA-supply = <®_3p3v>; | 123 | VDDA-supply = <®_3p3v>; |
@@ -165,6 +195,7 @@ | |||
165 | }; | 195 | }; |
166 | 196 | ||
167 | &sai2 { | 197 | &sai2 { |
198 | #sound-dai-cells = <0>; | ||
168 | pinctrl-names = "default"; | 199 | pinctrl-names = "default"; |
169 | pinctrl-0 = <&pinctrl_sai2>; | 200 | pinctrl-0 = <&pinctrl_sai2>; |
170 | status = "okay"; | 201 | status = "okay"; |