On Wed, Apr 02, 2025 at 10:58:32AM +0100, Christopher Obbard wrote: > The eDP controller has an HPD GPIO. Describe it in the device tree > for the generic T14s model, as the HPD GPIO is used in both the > OLED and LCD models which inherit this device tree. > > Signed-off-by: Christopher Obbard <christopher.obb...@linaro.org> > --- > arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi > b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi > index > 962fb050c55c4fd33f480a21a8c47a484d0c82b8..b0dbe4eaa77e5a6f862fd0db2a3c91db2aab5030 > 100644 > --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi > @@ -975,6 +975,9 @@ &mdss_dp3 { > compatible = "qcom,x1e80100-dp"; > /delete-property/ #sound-dai-cells; > > + pinctrl-names = "default"; > + pinctrl-0 = <&edp_hpd_active>; > + > status = "okay"; > > aux-bus { > @@ -1215,6 +1218,11 @@ &tlmm { > <72 2>, /* Secure EC I2C connection (?) */ > <238 1>; /* UFS Reset */ > > + edp_hpd_active: edp-hpd-active-state { > + pins = "gpio119"; > + function = "edp_hot"; > + };
This looks generic enough and can go into the SoC dtsi. > + > eusb3_reset_n: eusb3-reset-n-state { > pins = "gpio6"; > function = "gpio"; > > -- > 2.49.0 > -- With best wishes Dmitry