balena-allwinner/layers/meta-resin-allwinner/recipes-kernel/linux/linux-4.13.12/18-2-enable-hdmi-sound-on-several-boards.patch
2017-11-23 16:00:00 +01:00

52 lines
1.1 KiB
Diff

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 2503d333..9d41a9d5 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,10 @@
status = "okay";
};
+&i2s2 {
+ status = "okay";
+};
+
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;
@@ -179,6 +183,10 @@
status = "okay";
};
+&sound_hdmi {
+ status = "okay";
+};
+
&tcon0 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
index 16c004b4..623014f2 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
@@ -151,6 +151,10 @@
status = "okay";
};
+&i2s2 {
+ status = "okay";
+};
+
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;
@@ -196,6 +200,10 @@
status = "okay";
};
+&sound_hdmi {
+ status = "okay";
+};
+
&tcon0 {
status = "okay";
};