kernel/dts:devon display support backlight exponential mode
devon: 1st tm, 2nd txd panels, aw99703 & lm3697 bl IC support backlight exponential mode Change-Id: Icae24227c7e93863ab1f32ec5253bf5ba1f09f89 Signed-off-by: hujing3 <hujing3@lenovo.com> Reviewed-on: https://gerrit.mot.com/2239483 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hua Tan <tanhua1@motorola.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
882ef935ff
commit
f26e3b7bbc
3 files changed
+11
-13
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user