Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Use 'edp_hot' function for hpd gpio

From: Amit Singh

Date: Thu Nov 06 2025 - 03:29:12 EST




On 11/1/2025 2:48 PM, Dmitry Baryshkov wrote:
> On Fri, Oct 31, 2025 at 02:27:39PM +0530, Amit Singh wrote:
>> Currently, hpd gpio is configured as a general-purpose gpio, which does
>
> HPD, GPIO

Sure, will update in next version.

>
>> not support interrupt generation.
>
> This is not true. GPIOs support interrupt generation.

Will update the commit message.

>
>> This change removes the generic
>
> Documentation/process/submitting-patches.rst, see the paragraph around
> "This patch" words.

Sure, will follow the guidelines.

>
>> hpd-gpios property and assigns the edp_hot function to the pin,
>> enabling proper irq support.
>
> What for?

I'll update more details in the commit message.

>
>>
>> Fixes: 756efb7cb7293 ("arm64: dts: qcom: qcs6490-rb3gen2: Add DP output")
>> Signed-off-by: Amit Singh <quic_amitsi@xxxxxxxxxxx>
>> ---
>> 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 c146161e4bb4..caa0b6784df3 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>;
>> @@ -1420,7 +1418,6 @@ &wifi {
>> /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
>>
>> &edp_hot_plug_det {
>> - function = "gpio";
>> bias-disable;
>> };
>>
>> --
>> 2.34.1
>>
>