diff --git a/arch/arm64/boot/dts/seco/include/display-e81-edp.dtsi b/arch/arm64/boot/dts/seco/include/display-e81-edp.dtsi index 69b6927d10fb64b897bff9663836c9b4ecb5b0ad..5be98ca29cd02c6c92769a44c3f653f90e01eb69 100644 --- a/arch/arm64/boot/dts/seco/include/display-e81-edp.dtsi +++ b/arch/arm64/boot/dts/seco/include/display-e81-edp.dtsi @@ -17,6 +17,7 @@ //#include "dsi-panel-ext-bridge-1080p.dtsi" //#include "qcm6490-sde-display.dtsi" #include "qcm6490-sde.dtsi" +#include "e81-pinfunc.h" /* &redriver { @@ -135,9 +136,8 @@ &mdss_edp0 { pinctrl-2 = <&edp_hpd_default>; qcom,dp-hpd-gpio = <&tlmm 60 0>; qcom,dp-gpio-aux-switch; - //qcom,edp-vcc-en-gpio = <&tlmm 80 0>; - //qcom,edp-vcc-en-gpio = <&stm32 24 0>; - //qcom,no-backlight-support; + qcom,edp-pwm-en-gpio = <&pm8350c_gpios 8 GPIO_ACTIVE_HIGH>; + qcom,edp-backlight-en-gpio = <LCD0_BKLT_EN GPIO_ACTIVE_HIGH>; qcom,dp-ext-hpd; }; @@ -147,21 +147,12 @@ &mdss_mdp0 { connectors = <&smmu_sde_unsec &mdss_edp0 &mdss_dp0>; }; -// backlight -&backlight0 { - status = "okay"; -}; - -&pm8350c_pwm { - status = "okay"; -}; - // enable display &stm32 { /**/ gpio_lcd0_vdd_en { gpio-hog; - gpios = <24 (GPIO_PUSH_PULL | GPIO_ACTIVE_HIGH)>; + gpios = <LCD0_VDD_EN_PIN (GPIO_PUSH_PULL | GPIO_ACTIVE_HIGH)>; output-high; }; /**/