From 44677d46da95163d400ce3a5fda250838e174aa5 Mon Sep 17 00:00:00 2001 From: houdz1 Date: Fri, 20 Nov 2020 11:33:48 +0800 Subject: [PATCH] dts/denver: update the right command for HBM on/off 1.The max value of 51h is 0x07FF. 2.Under HBM OFF, the current is 20mA = 25mA * 80%. So 51h must be 0x07FF*80% = 0x0666 Change-Id: I575f4ae52c58d96269551590cdcdb42c15021b84 Signed-off-by: houdz1 Reviewed-on: https://gerrit.mot.com/1807526 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Reviewed-by: Shanshan Dai Submit-Approved: Jira Key --- qcom/denver-display.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcom/denver-display.dtsi b/qcom/denver-display.dtsi index 4852df2a259a..a29d600b43a8 100644 --- a/qcom/denver-display.dtsi +++ b/qcom/denver-display.dtsi @@ -91,9 +91,9 @@ qcom,tp_state_check_enable; - qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 0F FF]; + qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF]; qcom,mdss-dsi-hbm-on-command-state = "dsi_lp_mode"; - qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 0C CC]; + qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 06 66]; qcom,mdss-dsi-hbm-off-command-state = "dsi_lp_mode"; qcom,mdss-dsi-hbm-type = "lcd-dcs-wled";