aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-02-12 12:21:01 -0500
committerJason Cooper <jason@lakedaemon.net>2014-02-16 21:42:39 -0500
commit5b26bd88b20a257cd18d52d1eebf8e6026aa6be9 (patch)
treeec563d2094655d78cba918091ade3cacdaae6e99
parent249f3822509b74f8c8d0731aeb7ccea065376c9b (diff)
ARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree
In addition to the analog audio input and output, the Armada 370 DB also has S/PDIF input and output optical connectors. This commit improves the Device Tree description of the Armada 370 DB platform to enable the S/PDIF support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/armada-370-db.dts10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index 7df18660939b..82f238a9063f 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -163,7 +163,15 @@
163 sound { 163 sound {
164 compatible = "marvell,a370db-audio"; 164 compatible = "marvell,a370db-audio";
165 marvell,audio-controller = <&audio_controller>; 165 marvell,audio-controller = <&audio_controller>;
166 marvell,audio-codec = <&audio_codec>; 166 marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>;
167 status = "okay"; 167 status = "okay";
168 }; 168 };
169
170 spdif_out: spdif-out {
171 compatible = "linux,spdif-dit";
172 };
173
174 spdif_in: spdif-in {
175 compatible = "linux,spdif-dir";
176 };
169}; 177};