[PATCH v4 18/22] arm64: dts: allwinner: Enable HDMI audio on Orange Pi PC 2

Clément Péron peron.clem at gmail.com
Mon Sep 21 12:27:27 CEST 2020


From: Ondrej Jirman <megous at megous.com>

The board has HDMI output, enable audio on it.

Signed-off-by: Ondrej Jirman <megous at megous.com>
Signed-off-by: Clément Péron <peron.clem at gmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
index 7d7aad18f078..e6ed8774a17f 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
@@ -144,6 +144,14 @@ hdmi_out_con: endpoint {
 	};
 };
 
+&hdmi_sound {
+	status = "okay";
+};
+
+&i2s2 {
+	status = "okay";
+};
+
 &ir {
 	pinctrl-names = "default";
 	pinctrl-0 = <&r_ir_rx_pin>;
-- 
2.25.1



More information about the Alsa-devel mailing list