Re: [PATCH 2/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: add hdmi bridge with enable pin

From: Jens Glathe
Date: Sat Jan 03 2026 - 04:20:17 EST


On 21.12.25 16:51, Jens Glathe wrote:

On 21.12.25 16:23, Dmitry Baryshkov wrote:
This can't work, the pin can only be used for a single function.

See, that's where I am, too :) Configure it that way and you get the HDMI to work, be prudent and remove edp_hpd_default, and boom the internal display is gone. Maybe someone with some schematics can shed light on this.

Well I dived into that again (no schematics, sadly) and found and tested something that works through exclusion. In pinctrl-x1e80100.c there is a definition for function block goups (?) describing gpio pins intended for functions. Well, gpio120 (very near 119) is only and exclusively in edp1_hot_groups[] and edp0_lcd_groups[]. edp1_hot_groups[] fits pretty well for a second display out, and its not used anywhere. Assigned it as enable pin and it works well.

Will do a V2 of this patch, thank you for all the suggestions.

with best regards

Jens