Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: allwinner: h6: tanix-tx6: Add SPDIF

Tanix TX6 board has SPDIF connector in form of 3.5 mm jack.

Add support for it.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211115201112.452696-1-jernej.skrabec@gmail.com

authored by

Jernej Skrabec and committed by
Maxime Ripard
e927f53f d900a1cd

+22
+22
arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts
··· 52 52 regulator-min-microvolt = <1135000>; 53 53 regulator-max-microvolt = <1135000>; 54 54 }; 55 + 56 + sound-spdif { 57 + compatible = "simple-audio-card"; 58 + simple-audio-card,name = "sun50i-h6-spdif"; 59 + 60 + simple-audio-card,cpu { 61 + sound-dai = <&spdif>; 62 + }; 63 + 64 + simple-audio-card,codec { 65 + sound-dai = <&spdif_out>; 66 + }; 67 + }; 68 + 69 + spdif_out: spdif-out { 70 + #sound-dai-cells = <0>; 71 + compatible = "linux,spdif-dit"; 72 + }; 55 73 }; 56 74 57 75 &cpu0 { ··· 142 124 143 125 &r_ir { 144 126 linux,rc-map-name = "rc-tanix-tx5max"; 127 + status = "okay"; 128 + }; 129 + 130 + &spdif { 145 131 status = "okay"; 146 132 }; 147 133