Skip to contentSkip to conversation

ARM: gr8: evb: Enable SPDIF

PATCH New Maxime Ripard 2 participants 3 messages Nov 3, 2016 – Nov 4, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: gr8: evb: Enable SPDIF

The GR8-EVB has a SPDIF out connector. Enable it.

---
 arch/arm/boot/dts/ntc-gr8-evb.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/ntc-gr8-evb.dts +18 -0
index 4b622f3b5220..e3b7a6273c61 100644
@@ -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 {
Signature · 1 line
2.10.1
author Applied
#2 lore raw

PATCH 1/1 ARM: gr8: evb: Enable SPDIF

Quoted 7 lines · Chen-Yu Tsai
Quoted 3 lines · Maxime Ripard

The GR8-EVB has a SPDIF out connector. Enable it.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161104/5ee4c3a3/attachment.sig>