pmaports/device/community/linux-postmarketos-exynos4/0011-ARM-dts-exynos-disable-HDMI-on-Midas.patch

64 lines
1.4 KiB
Diff
Raw Normal View History

From 6531c5f16815c169316c30d4b4f46690cf38bb79 Mon Sep 17 00:00:00 2001
From: Oliver Smith <ollieparanoid@postmarketos.org>
Date: Thu, 1 Sep 2022 21:56:03 +0200
Subject: [PATCH 11/13] ARM: dts: exynos: disable HDMI on Midas
Disable it as workaround because when unplugged, HDMI appears as
DRM_MNODE_CONNECTED with a surface are of 0x0.
Related: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/828
---
arch/arm/boot/dts/exynos4412-midas.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi
index 5d24b08d99d4..f0b4680b1366 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -308,11 +308,13 @@ sii9234: hdmi-bridge@39 {
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x39>;
+/*
port {
mhl_to_hdmi: endpoint {
remote-endpoint = <&hdmi_to_mhl>;
};
};
+*/
};
};
@@ -545,6 +547,7 @@ &gpu {
status = "okay";
};
+/*
&hdmi {
hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
@@ -567,6 +570,7 @@ hdmi_to_mhl: endpoint {
};
};
};
+*/
&hsotg {
vusb_d-supply = <&ldo15_reg>;
@@ -1201,10 +1205,12 @@ sdhci2_cd: sdhci2-cd-irq-pins {
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
+/*
hdmi_hpd: hdmi-hpd-pins {
samsung,pins = "gpx3-7";
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
};
+*/
sleep1: sleep-state {
PIN_SLP(gpk0-0, PREV, NONE);
--
2.38.0