From c72e444803402f5ab3bbe4157af26ed2c7503a5c Mon Sep 17 00:00:00 2001 From: daiss1 Date: Mon, 14 Sep 2020 15:39:59 +0800 Subject: [PATCH] dts: Add boe panel backlight and gamma workaround Add panel->boe_nt37800_dcmode_workaround. The boe panel turns on the DC mode, and the backlight value needs to be remapped. Readback Nor4 gamma code and write Nor1 gamma code when power on or panel resume. Change-Id: Ie99d2d37c6baebaa62dca0c818bfb3025a010add Signed-off-by: daiss1 Reviewed-on: https://gerrit.mot.com/1748392 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- qcom/dsi-panel-mot-boe-667-1080p-racer-cmd-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/dsi-panel-mot-boe-667-1080p-racer-cmd-common.dtsi b/qcom/dsi-panel-mot-boe-667-1080p-racer-cmd-common.dtsi index e0a165969f..b43cf6a4cf 100644 --- a/qcom/dsi-panel-mot-boe-667-1080p-racer-cmd-common.dtsi +++ b/qcom/dsi-panel-mot-boe-667-1080p-racer-cmd-common.dtsi @@ -82,6 +82,7 @@ qcom,mdss-dsi-acl-off-command = [ 15 01 00 00 00 00 02 55 00]; qcom,mdss-dsi-hbm-fod; +qcom,boe_nt37800_dcmode_workaround; qcom,mdss-dsi-panel-hbm-is-51cmd;