diff options
author | Marcus Cooper <codekipper@gmail.com> | 2016-12-20 05:40:38 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-01-10 12:52:54 -0500 |
commit | 0183c256f390958895d6dace4594024cb731a7f4 (patch) | |
tree | e6234314a31d77d7928714c7d258e883ede7080c | |
parent | d62d8fcace15f3786aa9f456fcb0633a6735a2b0 (diff) |
ARM: dts: sun6i: Add SPDIF to the Mele I7
Enable the S/PDIF transmitter that is present on the Mele I7.
Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-i7.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-i7.dts b/arch/arm/boot/dts/sun6i-a31-i7.dts index a2193309a199..2bc57d2dcd80 100644 --- a/arch/arm/boot/dts/sun6i-a31-i7.dts +++ b/arch/arm/boot/dts/sun6i-a31-i7.dts | |||
@@ -69,6 +69,23 @@ | |||
69 | gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; | 69 | gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; |
70 | }; | 70 | }; |
71 | }; | 71 | }; |
72 | |||
73 | sound { | ||
74 | compatible = "simple-audio-card"; | ||
75 | simple-audio-card,name = "On-board SPDIF"; | ||
76 | simple-audio-card,cpu { | ||
77 | sound-dai = <&spdif>; | ||
78 | }; | ||
79 | |||
80 | simple-audio-card,codec { | ||
81 | sound-dai = <&spdif_out>; | ||
82 | }; | ||
83 | }; | ||
84 | |||
85 | spdif_out: spdif-out { | ||
86 | #sound-dai-cells = <0>; | ||
87 | compatible = "linux,spdif-dit"; | ||
88 | }; | ||
72 | }; | 89 | }; |
73 | 90 | ||
74 | &codec { | 91 | &codec { |
@@ -138,6 +155,13 @@ | |||
138 | status = "okay"; | 155 | status = "okay"; |
139 | }; | 156 | }; |
140 | 157 | ||
158 | &spdif { | ||
159 | pinctrl-names = "default"; | ||
160 | pinctrl-0 = <&spdif_pins_a>; | ||
161 | spdif-out = "okay"; | ||
162 | status = "okay"; | ||
163 | }; | ||
164 | |||
141 | &uart0 { | 165 | &uart0 { |
142 | pinctrl-names = "default"; | 166 | pinctrl-names = "default"; |
143 | pinctrl-0 = <&uart0_pins_a>; | 167 | pinctrl-0 = <&uart0_pins_a>; |