diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-25 23:18:18 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:10 -0400 |
commit | 7d0953f9b38247f544ca0b69aac0ffa52e84efde (patch) | |
tree | e407647b0f472e008969cbaddf062cee086df492 /arch/arm/boot | |
parent | d27f37e52d922958ffaf98a348fa11bde7bc6664 (diff) |
ENGR00305648-4 ARM: imx6sx: Add SPDIF support to 19x19 arm2 board
Add SPDIF support to 19x19 arm2 board and create a new dts for it due to
pin conflict.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-17x17-arm2.dts | 15 |
3 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ce7306833c26..058af19f340e 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -137,6 +137,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ | |||
137 | imx6sl-evk-ldo.dtb \ | 137 | imx6sl-evk-ldo.dtb \ |
138 | imx6sl-evk-pf200.dtb \ | 138 | imx6sl-evk-pf200.dtb \ |
139 | imx6sx-17x17-arm2.dtb \ | 139 | imx6sx-17x17-arm2.dtb \ |
140 | imx6sx-17x17-arm2-spdif.dtb \ | ||
140 | imx6sx-19x19-arm2.dtb \ | 141 | imx6sx-19x19-arm2.dtb \ |
141 | imx6sx-19x19-arm2-lcdif1.dtb \ | 142 | imx6sx-19x19-arm2-lcdif1.dtb \ |
142 | imx6sx-sdb.dtb \ | 143 | imx6sx-sdb.dtb \ |
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts new file mode 100644 index 000000000000..c69db8bd8c0d --- /dev/null +++ b/arch/arm/boot/dts/imx6sx-17x17-arm2-spdif.dts | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Freescale Semiconductor, Inc. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #include "imx6sx-17x17-arm2.dts" | ||
10 | |||
11 | &audmux { | ||
12 | /* pin conflict with spdif */ | ||
13 | status = "disabled"; | ||
14 | }; | ||
15 | |||
16 | &spdif { | ||
17 | status = "okay"; | ||
18 | }; | ||
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts index 23a6b3c87ccd..b7454023f2ec 100644 --- a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts | |||
@@ -102,6 +102,15 @@ | |||
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 | }; | ||
105 | }; | 114 | }; |
106 | 115 | ||
107 | &adc1 { | 116 | &adc1 { |
@@ -438,6 +447,12 @@ | |||
438 | }; | 447 | }; |
439 | }; | 448 | }; |
440 | 449 | ||
450 | &spdif { | ||
451 | pinctrl-names = "default"; | ||
452 | pinctrl-0 = <&pinctrl_spdif_1>; | ||
453 | status = "disabled"; | ||
454 | }; | ||
455 | |||
441 | &ssi1 { | 456 | &ssi1 { |
442 | fsl,mode = "i2s-slave"; | 457 | fsl,mode = "i2s-slave"; |
443 | status = "okay"; | 458 | status = "okay"; |