]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: x1e80100-dell-xps13-9345: Add missing pinctrl for eDP HPD
authorStephan Gerhold <stephan.gerhold@linaro.org>
Fri, 22 Aug 2025 09:28:57 +0000 (11:28 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 1 Sep 2025 18:03:33 +0000 (13:03 -0500)
At the moment, we indirectly rely on the boot firmware to set up the
pinctrl for the eDP HPD line coming from the internal display. If the boot
firmware does not configure the display (e.g. because a different display
is selected for output in the UEFI settings), then the display fails to
come up and there are several errors in the kernel log:

 [drm:dpu_encoder_phys_vid_wait_for_commit_done:544] [dpu error]vblank timeout: 80020041
 [drm:dpu_kms_wait_for_commit_done:524] [dpu error]wait for commit done returned -110
 [drm:dpu_encoder_frame_done_timeout:2715] [dpu error]enc40 frame done timeout
 ...

Fix this by adding the missing pinctrl for gpio119 (func1/edp0_hot and
bias-disable according to the ACPI DSDT), which is defined as
&edp0_hpd_default template in x1e80100.dtsi.

Fixes: f5b788d0e8cd ("arm64: dts: qcom: Add support for X1-based Dell XPS 13 9345")
Tested-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com> # 3K OLED
Reviewed-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250822-x1e80100-add-edp-hpd-v2-6-6310176239a6@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts

index 6f646b23305e7497794d01b7744c753695d94a2b..19a2604038a88f37e6ab87129a6318db78345339 100644 (file)
 &mdss_dp3 {
        /delete-property/ #sound-dai-cells;
 
+       pinctrl-0 = <&edp0_hpd_default>;
+       pinctrl-names = "default";
+
        status = "okay";
 
        aux-bus {