From d17ef1f73203687abc27d8b15ddfe3c955da27c7 Mon Sep 17 00:00:00 2001 From: Wenjun Zhang Date: Wed, 11 Nov 2020 11:18:54 +0800 Subject: [PATCH] ARM: dts: msm: enable LP mode DCS brightness setting for r66451 video panel Used LP mode for DCS brightness and power off commands. Change-Id: Id704c2adf0939717368a7de8108a9cecc530af7a --- display/dsi-panel-r66451-dsc-fhd-plus-video.dtsi | 2 +- display/lahaina-sde-display-qrd.dtsi | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/display/dsi-panel-r66451-dsc-fhd-plus-video.dtsi b/display/dsi-panel-r66451-dsc-fhd-plus-video.dtsi index 995e4df38122..68925fcc9311 100644 --- a/display/dsi-panel-r66451-dsc-fhd-plus-video.dtsi +++ b/display/dsi-panel-r66451-dsc-fhd-plus-video.dtsi @@ -90,7 +90,7 @@ 05 01 00 00 14 00 02 28 00 05 01 00 00 78 00 02 10 00]; qcom,mdss-dsi-on-command-state = "dsi_lp_mode"; - qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; + qcom,mdss-dsi-off-command-state = "dsi_lp_mode"; qcom,mdss-dsi-h-sync-pulse = <0>; qcom,compression-mode = "dsc"; qcom,mdss-dsc-slice-height = <20>; diff --git a/display/lahaina-sde-display-qrd.dtsi b/display/lahaina-sde-display-qrd.dtsi index 6792ded59c5e..6613c46cd877 100644 --- a/display/lahaina-sde-display-qrd.dtsi +++ b/display/lahaina-sde-display-qrd.dtsi @@ -13,6 +13,7 @@ &dsi_r66451_amoled_video { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; + qcom,bl-dsc-cmd-state = "dsi_lp_mode"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <4095>; qcom,mdss-brightness-max-level = <255>;