]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: x1e80100-dell-xps13-9345: route edp-panel enable gpio
authorAleksandrs Vinarskis <alex.vinarskis@gmail.com>
Wed, 16 Oct 2024 20:15:48 +0000 (22:15 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 24 Oct 2024 14:45:27 +0000 (09:45 -0500)
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 <alex.vinarskis@gmail.com>
Link: https://lore.kernel.org/r/20241016202253.9677-2-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts

index 6f78b61f8da39cbe6ef69e773ad57783d2eaee1f..93d90209060ced4f35d28803bae4eeba26622549 100644 (file)
 
        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>;
                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";