]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 12 Feb 2014 17:21:01 +0000 (18:21 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 17 Feb 2014 02:42:39 +0000 (02:42 +0000)
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>
arch/arm/boot/dts/armada-370-db.dts

index 7df18660939b5b2fd8c151197a913619671706d5..82f238a9063ffe47d10dbe083f136e1876f8efd2 100644 (file)
        sound {
              compatible = "marvell,a370db-audio";
              marvell,audio-controller = <&audio_controller>;
-             marvell,audio-codec = <&audio_codec>;
+             marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>;
              status = "okay";
        };
+
+       spdif_out: spdif-out {
+             compatible = "linux,spdif-dit";
+       };
+
+       spdif_in: spdif-in {
+             compatible = "linux,spdif-dir";
+       };
 };