diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-11-03 15:41:41 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-11-22 17:34:02 +0300 |
commit | e7c66334f676a63fd74c52863bbf983c795c788a (patch) | |
tree | 74967627503fcdc2ca1123a24ff2d1bffc8b8ebb /arch/arm/boot/dts/sun5i-gr8-evb.dts | |
parent | 8e1ce6c63e0f479ec61333383fae4eeca230ece6 (diff) | |
download | linux-e7c66334f676a63fd74c52863bbf983c795c788a.tar.xz |
ARM: gr8: evb: Enable SPDIF
The GR8-EVB has a SPDIF out connector. Enable it.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-gr8-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/sun5i-gr8-evb.dts | 18 |
1 files changed, 18 insertions, 0 deletions
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 { |