[PATCH] arm64: dts: qcom: qcs6490-rb3gen2: use DP controller native HPD

Vishnu Saini posted 1 patch 1 month, 2 weeks ago
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 3 ---
1 file changed, 3 deletions(-)
[PATCH] arm64: dts: qcom: qcs6490-rb3gen2: use DP controller native HPD
Posted by Vishnu Saini 1 month, 2 weeks ago
The base device tree configures the edp_hot_plug_det pin using the
"edp_hot" function on GPIO 60. However, on qcs6490-rb3gen2 this external
HPD GPIO does not generate a connect event when a display is already
connected at boot, causing the DP/eDP display to remain disabled.

The DP controller’s native HPD correctly detects the connected sink
in this scenario, so continue using the DP controller native HPD
on the qcs6490-rb3gen2 platform instead of the external HPD GPIO.

Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index e3d2f01881ae..df678d7dba10 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -49,8 +49,6 @@ dp-connector {
 		label = "DP";
 		type = "mini";
 
-		hpd-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
-
 		port {
 			dp_connector_in: endpoint {
 				remote-endpoint = <&mdss_edp_out>;
@@ -1373,7 +1371,6 @@ &wifi {
 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
 
 &edp_hot_plug_det {
-	function = "gpio";
 	bias-disable;
 };
 

---
base-commit: 8a63a422ab10f387989bcdbb0cc01e24b7dddd53
change-id: 20260225-edp_hpd_rb3_gen2_for_next-50f488b42972

Best regards,
-- 
Vishnu Saini <vishnu.saini@oss.qualcomm.com>

Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: use DP controller native HPD
Posted by Dmitry Baryshkov 1 month, 2 weeks ago
On Sat, Feb 28, 2026 at 12:29:05PM +0530, Vishnu Saini wrote:
> The base device tree configures the edp_hot_plug_det pin using the
> "edp_hot" function on GPIO 60. However, on qcs6490-rb3gen2 this external
> HPD GPIO does not generate a connect event when a display is already
> connected at boot, causing the DP/eDP display to remain disabled.

It is an issue in the driver itself rather than the question of hardware
description.

> 
> The DP controller’s native HPD correctly detects the connected sink
> in this scenario, so continue using the DP controller native HPD
> on the qcs6490-rb3gen2 platform instead of the external HPD GPIO.
> 
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 3 ---
>  1 file changed, 3 deletions(-)
> 
-- 
With best wishes
Dmitry