diff --git a/qcom/dsi-panel-mot-tianma-nt36672c-649-1080x2400-vid.dtsi b/qcom/dsi-panel-mot-tianma-nt36672c-649-1080x2400-vid.dtsi index 2e6ae6b68332..2b5bd43755a5 100644 --- a/qcom/dsi-panel-mot-tianma-nt36672c-649-1080x2400-vid.dtsi +++ b/qcom/dsi-panel-mot-tianma-nt36672c-649-1080x2400-vid.dtsi @@ -96,7 +96,7 @@ 15 01 00 00 00 00 02 18 21 //Table A:20 B:21 C:22 15 01 00 00 00 00 02 FF 10 15 01 00 00 00 00 02 FB 01 - 39 00 00 00 00 00 03 51 0C CC + 39 00 00 00 00 00 03 51 06 66 15 00 00 00 00 00 02 53 2C 15 00 00 00 00 00 02 55 01 15 01 00 00 00 00 02 C0 03 //DSC:03 NO DSC:0 diff --git a/qcom/dsi-panel-mot-txd-ili7807s-649-1080x2400-vid.dtsi b/qcom/dsi-panel-mot-txd-ili7807s-649-1080x2400-vid.dtsi index 037f3e99f59c..e14b0421b530 100644 --- a/qcom/dsi-panel-mot-txd-ili7807s-649-1080x2400-vid.dtsi +++ b/qcom/dsi-panel-mot-txd-ili7807s-649-1080x2400-vid.dtsi @@ -70,7 +70,7 @@ 39 01 00 00 00 00 04 FF 78 07 06 15 01 00 00 00 00 02 80 00 39 01 00 00 00 00 04 FF 78 07 00 - 39 00 00 00 00 00 03 51 0C CC + 39 00 00 00 00 00 03 51 05 8B 15 00 00 00 00 00 02 53 2C 15 00 00 00 00 00 02 55 01 15 01 00 00 78 00 02 11 00 diff --git a/qcom/khaje-devon-display.dtsi b/qcom/khaje-devon-display.dtsi index 40d722fb4382..32efd50cddef 100644 --- a/qcom/khaje-devon-display.dtsi +++ b/qcom/khaje-devon-display.dtsi @@ -1,7 +1,5 @@ #include "dsi-panel-mot-tianma-nt36672c-649-1080x2400-vid.dtsi" #include "dsi-panel-mot-txd-ili7807s-649-1080x2400-vid.dtsi" -//#include "bengal-leds-aw99703.dtsi" -//#include "bengal-leds-lm3697.dtsi" #include "dsi-panel-mot-dummy-qhd-video.dtsi" &soc { @@ -36,9 +34,9 @@ qcom,mdss-dsi-pan-enable-dynamic-fps; qcom,mdss-dsi-pan-fps-update = "dfps_immediate_porch_mode_vfp"; - qcom,mdss-dsi-hbm-on-command = [15 01 00 00 00 00 02 51 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 = [15 01 00 00 00 00 02 51 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"; @@ -76,9 +74,9 @@ qcom,mdss-dsi-panel-on-check-value = <0x9c>; qcom,mdss-dsi-panel-status-read-length = <1>; - qcom,mdss-dsi-hbm-on-command = [15 01 00 00 00 00 02 51 FF]; + qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 06 EF]; qcom,mdss-dsi-hbm-on-command-state = "dsi_lp_mode"; - qcom,mdss-dsi-hbm-off-command = [15 01 00 00 00 00 02 51 CC]; + qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 05 8B]; qcom,mdss-dsi-hbm-off-command-state = "dsi_lp_mode"; qcom,mdss-dsi-hbm-type = "lcd-dcs-wled"; @@ -125,16 +123,16 @@ aw99703,hwen-gpio = <&tlmm 36 0>; aw99703,bl-map = <3>; /* brightness map level 1:256,2:1024,3:2048 */ aw99703,using-lsb; - aw99703,bl-fscal-led = <0x19>; /* 24.8mA */ + aw99703,bl-fscal-led = <0x18>; /* 24mA */ aw99703,bl-channel = <3>; aw99703,turn-on-ramp = <0x00>; /* 512us */ aw99703,turn-off-ramp = <0x04>; /* 8ms */ aw99703,pwm-trans-dim = <0>; /* 2ms */ aw99703,i2c-trans-dim = <0x00>; aw99703,pwm-mode = <1>; /* 0 pwm disble,1 PWM enable */ - aw99703,map-type = <4>; /* 0 exponential, 4 linear */ + aw99703,map-type = <0>; /* 0 exponential, 4 linear */ aw99703,work-mode = <1>; /* backlight */ - aw99703,default-brightness = <1023>; + aw99703,default-brightness = <1810>; }; lm3697@37 { @@ -151,10 +149,10 @@ ramp-up-msec = <200>; ramp-down-msec = <200>; pwm-period = <0>; - current-mode = <2>; /*2: 25mA*/ + current-mode = <4>; /*4: 23.4mA*/ boost-ovp = <2>; /*0:16v 1:24v 2:32v 3:40v*/ boost-freq = <1>; /*0:500Khz 1:1Mhz*/ - map-type = <1>; /* 0 exponential, 1 linear */ + map-type = <0>; /* 0 exponential, 1 linear */ current-align-type = <1>;/* 0 none, 1 aw99703, for exp mode current align*/ default-brightness-level = <1023>; };