From f40a4fb4cd134af2ef68770b5ae435863c2477bd Mon Sep 17 00:00:00 2001 From: houdz1 Date: Tue, 13 Jul 2021 16:51:27 +0800 Subject: [PATCH] dts/panel: cypfq: Correct the backlight configuration First panel( tianma) : 10bits. Second panel(csot): 11bits. Change-Id: I88be7c0676d246a9f9fbe723b354a342e0576716 Signed-off-by: houdz1 Reviewed-on: https://gerrit.mot.com/2010954 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/cypfq-display.dtsi | 8 ++++---- qcom/dsi-panel-mot-csot-gc7372-678-1080x2460-video.dtsi | 1 - ...dsi-panel-mot-tianma-ili7807s-678-1080x2460-video.dtsi | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/qcom/cypfq-display.dtsi b/qcom/cypfq-display.dtsi index 51f471a1442a..4cb2d68f4113 100644 --- a/qcom/cypfq-display.dtsi +++ b/qcom/cypfq-display.dtsi @@ -131,10 +131,10 @@ qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,bklt-dcs-2bytes-enabled; - qcom,mdss-dsi-bl-min-level = <16>; - qcom,mdss-dsi-bl-max-level = <2047>; - qcom,mdss-dsi-bl-default-level = <1023>; - qcom,mdss-brightness-max-level = <2047>; + qcom,mdss-dsi-bl-min-level = <8>; + qcom,mdss-dsi-bl-max-level = <1023>; + qcom,mdss-dsi-bl-default-level = <512>; + qcom,mdss-brightness-max-level = <1023>; qcom,esd-check-enabled; qcom,mdss-dsi-panel-status-check-mode = "reg_read"; diff --git a/qcom/dsi-panel-mot-csot-gc7372-678-1080x2460-video.dtsi b/qcom/dsi-panel-mot-csot-gc7372-678-1080x2460-video.dtsi index 11dda30440a8..375d1ed0e2c2 100644 --- a/qcom/dsi-panel-mot-csot-gc7372-678-1080x2460-video.dtsi +++ b/qcom/dsi-panel-mot-csot-gc7372-678-1080x2460-video.dtsi @@ -63,7 +63,6 @@ 15 01 00 00 00 00 02 69 00 15 01 00 00 00 00 02 35 00 15 01 00 00 00 00 02 53 2C - 39 01 00 00 00 00 03 51 06 66 15 01 00 00 00 00 02 55 01 05 01 00 00 96 00 01 11 05 01 00 00 32 00 01 29 diff --git a/qcom/dsi-panel-mot-tianma-ili7807s-678-1080x2460-video.dtsi b/qcom/dsi-panel-mot-tianma-ili7807s-678-1080x2460-video.dtsi index 65ca2b999ea6..00cbccd734ba 100644 --- a/qcom/dsi-panel-mot-tianma-ili7807s-678-1080x2460-video.dtsi +++ b/qcom/dsi-panel-mot-tianma-ili7807s-678-1080x2460-video.dtsi @@ -66,7 +66,6 @@ 15 01 00 00 00 00 02 E1 D9 39 01 00 00 00 00 03 FD 00 00 39 01 00 00 00 00 04 FF 78 07 00 - 39 01 00 00 00 00 03 51 03 32 15 01 00 00 00 00 02 53 2C 15 01 00 00 00 00 02 55 01 ];