From 0291ad132a52c8396ce0e43563e9f2576e263fa3 Mon Sep 17 00:00:00 2001 From: hujing3 Date: Mon, 22 Aug 2022 13:48:17 +0800 Subject: [PATCH] dts/panel:pnangn:2nd csot panel backlight support 12 bit pnangn:2nd csot panel backlight support 12 bit pick from sandbox (CR): 2367814 Change-Id: I0b71de93310cc3c861a924fbab4707c3823cb039 Reviewed-on: https://gerrit.mot.com/2379998 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- ...i-panel-mot-csot-ft8057-653-hdplus-720x1600-video.dtsi | 8 +++++++- qcom/pnangn-display.dtsi | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/qcom/dsi-panel-mot-csot-ft8057-653-hdplus-720x1600-video.dtsi b/qcom/dsi-panel-mot-csot-ft8057-653-hdplus-720x1600-video.dtsi index 52a89f14a49f..800cf7036895 100644 --- a/qcom/dsi-panel-mot-csot-ft8057-653-hdplus-720x1600-video.dtsi +++ b/qcom/dsi-panel-mot-csot-ft8057-653-hdplus-720x1600-video.dtsi @@ -55,7 +55,13 @@ qcom,mdss-dsi-v-bottom-border = <0>; qcom,mdss-dsi-on-command = [ - 39 00 00 00 00 00 03 51 00 00 + 15 01 00 00 00 00 02 00 00 + 39 00 00 00 00 00 04 FF 80 57 01 + 15 01 00 00 00 00 02 00 80 + 39 00 00 00 00 00 03 FF 80 57 + 15 01 00 00 00 00 02 00 B2 + 15 01 00 00 00 00 02 CA 0C + 39 00 00 00 00 00 03 51 07 07 15 00 00 00 00 00 02 53 2C 15 00 00 00 00 00 02 55 01 05 01 00 00 78 00 01 11 diff --git a/qcom/pnangn-display.dtsi b/qcom/pnangn-display.dtsi index 548a66b60203..500b446bdefb 100644 --- a/qcom/pnangn-display.dtsi +++ b/qcom/pnangn-display.dtsi @@ -190,10 +190,10 @@ qcom,bklt-dcs-2bytes-enabled; qcom,mdss-dsi-bl-min-level = <1>; - qcom,mdss-dsi-bl-max-level = <255>; - qcom,mdss-dsi-bl-default-level = <128>; - qcom,mdss-brightness-max-level = <255>; - qcom,mdss-dsi-bl-inverted-dbv; + qcom,mdss-dsi-bl-max-level = <3500>; + qcom,mdss-dsi-bl-default-level = <2047>; + qcom,mdss-brightness-max-level = <3500>; + qcom,mdss-dsi-bl-level-align = <2>; //qcom,esd-check-enabled; qcom,mdss-dsi-panel-status-check-mode = "reg_read";