diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-04-28 03:04:16 -0400 |
---|---|---|
committer | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-04-28 03:46:47 -0400 |
commit | c626c77caa8d381254b24556ac78a96ab2936937 (patch) | |
tree | 287f00120d388ab97a518a2a78ad70ee8908fbee /arch/arm/boot | |
parent | 24e51f13ab0e13da186219c351f02b17658d14a2 (diff) |
ENGR00310785 ARM: imx6sx: dts: Move sound nodes to sub-dts for arm2 boards
We disable spdif and sai in imx6sx-*-arm2.dts and only enable them
in their sub-dts like imx6sx-17x17-arm2-spdif.dts while we haven't
put the sound nodes into the sub-dts because the dependancy between
sound and spdif/sai. This would result people get the frequent -517
probe error everytime they insert a new device or module.
So this patch puts them to the sub-dts.
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-17x17-arm2.dts | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts | 13 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-19x19-arm2.dts | 11 |
4 files changed, 24 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts index c69db8bd8c0d..9f2843c8968b 100644 --- a/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts +++ b/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts | |||
@@ -8,6 +8,17 @@ | |||
8 | 8 | ||
9 | #include "imx6sx-17x17-arm2.dts" | 9 | #include "imx6sx-17x17-arm2.dts" |
10 | 10 | ||
11 | / { | ||
12 | sound-spdif { | ||
13 | compatible = "fsl,imx-audio-spdif", | ||
14 | "fsl,imx-sabreauto-spdif"; | ||
15 | model = "imx-spdif"; | ||
16 | spdif-controller = <&spdif>; | ||
17 | spdif-in; | ||
18 | spdif-out; | ||
19 | }; | ||
20 | }; | ||
21 | |||
11 | &audmux { | 22 | &audmux { |
12 | /* pin conflict with spdif */ | 23 | /* pin conflict with spdif */ |
13 | status = "disabled"; | 24 | status = "disabled"; |
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts index 77a8fa977c0f..a2511d8aa103 100644 --- a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts | |||
@@ -102,15 +102,6 @@ | |||
102 | mux-int-port = <1>; | 102 | mux-int-port = <1>; |
103 | mux-ext-port = <4>; | 103 | mux-ext-port = <4>; |
104 | }; | 104 | }; |
105 | |||
106 | sound-spdif { | ||
107 | compatible = "fsl,imx-audio-spdif", | ||
108 | "fsl,imx-sabreauto-spdif"; | ||
109 | model = "imx-spdif"; | ||
110 | spdif-controller = <&spdif>; | ||
111 | spdif-in; | ||
112 | spdif-out; | ||
113 | }; | ||
114 | }; | 105 | }; |
115 | 106 | ||
116 | &adc1 { | 107 | &adc1 { |
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts index f0f232696d1d..51754d3f6ca2 100644 --- a/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts +++ b/arch/arm/boot/dts/imx6sx-19x19-arm2-sai.dts | |||
@@ -8,6 +8,19 @@ | |||
8 | 8 | ||
9 | #include "imx6sx-19x19-arm2.dts" | 9 | #include "imx6sx-19x19-arm2.dts" |
10 | 10 | ||
11 | / { | ||
12 | sound-sgtl5000 { | ||
13 | compatible = "fsl,imx6sx-arm2-sgtl5000", | ||
14 | "fsl,imx-audio-sgtl5000"; | ||
15 | model = "imx6sx-arm2-sgtl5000"; | ||
16 | cpu-dai = <&sai1>; | ||
17 | audio-codec = <&sgtl5000>; | ||
18 | audio-routing = | ||
19 | "LINE_IN", "Line In Jack", | ||
20 | "Headphone Jack", "HP_OUT"; | ||
21 | }; | ||
22 | }; | ||
23 | |||
11 | &esai { | 24 | &esai { |
12 | /* pin conflict with sai */ | 25 | /* pin conflict with sai */ |
13 | status = "disabled"; | 26 | status = "disabled"; |
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts index 1125e943cd70..e7abb2a78ab7 100644 --- a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts | |||
@@ -87,17 +87,6 @@ | |||
87 | asrc-controller = <&asrc_p2p>; | 87 | asrc-controller = <&asrc_p2p>; |
88 | audio-codec = <&cs42888>; | 88 | audio-codec = <&cs42888>; |
89 | }; | 89 | }; |
90 | |||
91 | sound-sgtl5000 { | ||
92 | compatible = "fsl,imx6sx-arm2-sgtl5000", | ||
93 | "fsl,imx-audio-sgtl5000"; | ||
94 | model = "imx6sx-arm2-sgtl5000"; | ||
95 | cpu-dai = <&sai1>; | ||
96 | audio-codec = <&sgtl5000>; | ||
97 | audio-routing = | ||
98 | "LINE_IN", "Line In Jack", | ||
99 | "Headphone Jack", "HP_OUT"; | ||
100 | }; | ||
101 | }; | 90 | }; |
102 | 91 | ||
103 | &esai { | 92 | &esai { |