From 4e9b7787f80ae366f8a62a5a28955e134e522cc8 Mon Sep 17 00:00:00 2001 From: Aleksandrs Vinarskis Date: Wed, 16 Oct 2024 22:15:48 +0200 Subject: [PATCH] arm64: dts: qcom: x1e80100-dell-xps13-9345: route edp-panel enable gpio tlmm 74 was experimentally found to be panel enable pin, which shall be high for panel (both low-res IPS, OLED) to work. Define it as such. Signed-off-by: Aleksandrs Vinarskis Link: https://lore.kernel.org/r/20241016202253.9677-2-alex.vinarskis@gmail.com Signed-off-by: Bjorn Andersson --- .../arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts index 6f78b61f8da3..93d90209060c 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts @@ -560,10 +560,13 @@ aux-bus { panel { - /* 1920x1200 IPS panel is SHP1593, PNP09FF compatible */ compatible = "edp-panel"; + enable-gpios = <&tlmm 74 GPIO_ACTIVE_HIGH>; power-supply = <&vreg_edp_3p3>; + pinctrl-0 = <&edp_bl_en>; + pinctrl-names = "default"; + port { edp_panel_in: endpoint { remote-endpoint = <&mdss_dp3_out>; @@ -677,6 +680,13 @@ bias-disable; }; + edp_bl_en: edp-bl-en-state { + pins = "gpio74"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + edp_reg_en: edp-reg-en-state { pins = "gpio70"; function = "gpio"; -- 2.50.1