ARM: dts: sun7i: Enable S/PDIF on the Cubietruck
Subsystems (2)
PATCH 1/1 ARM: dts: sun7i: Enable S/PDIF on the Cubietruck
From: Christopher Spinrath <[email protected]>
Enable the S/PDIF transmitter present on the Cubietruck.
Signed-off-by Christopher Spinrath <[email protected]>
--- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
arch/arm/boot/dts/sun7i-a20-cubietruck.dts +24 -0
@@ -94,6 +94,24 @@ pinctrl-0 = <&mmc3_pwrseq_pin_cubietruck>; reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */ }; + + sound { + 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"; + }; }; &ahci {
@@ -301,6 +319,12 @@ status = "okay"; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx_pins_a>; + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;
Signature · 1 line
2.8.0
Maxime Ripard
AppliedPATCH 1/1 ARM: dts: sun7i: Enable S/PDIF on the Cubietruck
Quoted 5 lines · christopher.spinrath at rwth-aachen.de
From: Christopher Spinrath <[email protected]>
Enable the S/PDIF transmitter present on the Cubietruck.
Signed-off-by Christopher Spinrath <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160425/770a6bec/attachment-0001.sig>