From: Maxime Ripard Date: Thu, 3 Nov 2016 12:41:41 +0000 (+0100) Subject: ARM: gr8: evb: Enable SPDIF X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e7c66334f676a63fd74c52863bbf983c795c788a;p=linux-beck.git ARM: gr8: evb: Enable SPDIF The GR8-EVB has a SPDIF out connector. Enable it. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- diff --git a/arch/arm/boot/dts/sun5i-gr8-evb.dts b/arch/arm/boot/dts/sun5i-gr8-evb.dts index 714381fd64d7..e58c8ea3c692 100644 --- a/arch/arm/boot/dts/sun5i-gr8-evb.dts +++ b/arch/arm/boot/dts/sun5i-gr8-evb.dts @@ -75,6 +75,24 @@ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; default-brightness-level = <8>; }; + + spdif { + compatible = "simple-audio-card"; + simple-audio-card,name = "On-board SPDIF"; + + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_out>; + }; + }; + + spdif_out: spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; }; &be0 {