From daa8f6d4fb438857a7b0fb20baa69cc24578e9b2 Mon Sep 17 00:00:00 2001 From: wingte48 Date: Fri, 25 Feb 2022 15:18:53 +0800 Subject: [PATCH] dts/panel: Panel: add esd check for ili7807s panel Modify: add esd check for ili7807s read 0a no 0x9c page17 Change-Id: I3a914c16e47059732cf33830070461667dad994e Reviewed-on: https://gerrit.mot.com/2201384 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yeqing Wang Reviewed-by: Dezhen Hou Submit-Approved: Jira Key --- qcom/dsi-panel-mot-txd-ili7807s-645-1080x2400-video.dtsi | 3 +++ qcom/rhodec-display.dtsi | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/qcom/dsi-panel-mot-txd-ili7807s-645-1080x2400-video.dtsi b/qcom/dsi-panel-mot-txd-ili7807s-645-1080x2400-video.dtsi index 0f9c0c0c835b..2b22729d1b28 100644 --- a/qcom/dsi-panel-mot-txd-ili7807s-645-1080x2400-video.dtsi +++ b/qcom/dsi-panel-mot-txd-ili7807s-645-1080x2400-video.dtsi @@ -57,6 +57,9 @@ qcom,mdss-dsi-on-command = [ + 39 01 00 00 00 00 04 FF 78 07 06 + 39 01 00 00 00 00 02 3E E2 + 39 01 00 00 00 00 02 80 00 39 01 00 00 00 00 04 FF 78 07 00 39 01 00 00 00 00 03 51 03 FF 39 01 00 00 00 00 02 53 2C diff --git a/qcom/rhodec-display.dtsi b/qcom/rhodec-display.dtsi index f3c929b275d6..292b5b2ecf13 100644 --- a/qcom/rhodec-display.dtsi +++ b/qcom/rhodec-display.dtsi @@ -228,7 +228,7 @@ qcom,mdss-dsi-bl-default-level = <1024>; qcom,mdss-brightness-max-level = <2047>; - //qcom,esd-check-enabled; + qcom,esd-check-enabled; qcom,mdss-dsi-panel-status-check-mode = "reg_read"; qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a]; qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";