summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-10-08 15:31:15 +0200
committerHeiko Stuebner <heiko@sntech.de>2015-10-13 10:58:31 +0200
commitd97e862ef6ae3f46465f00f9bf043c0df125b899 (patch)
tree7dad6169cd964b1df2a860c11699553dc08530c2
parent39b37ce2e308846550339adf101bf85c04f25eec (diff)
downloadop-kernel-dev-d97e862ef6ae3f46465f00f9bf043c0df125b899.zip
op-kernel-dev-d97e862ef6ae3f46465f00f9bf043c0df125b899.tar.gz
ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock
This enables the SPDIF optical audio output on the Radxa Rock Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm/boot/dts/rk3188-radxarock.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 9b31abe..66fa87d 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -90,6 +90,21 @@
};
};
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "SPDIF";
+
+ simple-audio-card,dai-link@1 { /* S/PDIF - S/PDIF */
+ cpu { sound-dai = <&spdif>; };
+ codec { sound-dai = <&spdif_out>; };
+ };
+ };
+
+ spdif_out: spdif-out {
+ compatible = "linux,spdif-dit";
+ #sound-dai-cells = <0>;
+ };
+
ir_recv: gpio-ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio0 10 1>;
@@ -345,6 +360,10 @@
};
};
+&spdif {
+ status = "okay";
+};
+
&uart0 {
status = "okay";
};
OpenPOWER on IntegriCloud