usb host eye diagram test fail.
update qusb_phy parameter bias_control_2 value
from value 0x22 to 0x1c to increase the DC lever.
usb eye diagram test can pass.
Change-Id: Ibb3e8c971f80cbfcd6e99ab05190c55b7659b209
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1916240
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Support for the third supplier - boe djn(bod) for denver, and we have
supported auo, boe, bod on denver.
Change-Id: If3df86b79e0f5909d123b93f350fb578ac3d1962
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1902525
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
the third panel is similar with the second panel. panel vendor
and panel IC are the same. Only CG is different.
So copy code from the second panel.
Change-Id: I4868d080ecd7722f5179e6e51e48f66cc83f68e0
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1902233
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
the third panel is similar with the second panel. panel vendor
and panel IC are the same. Only CG is different.
So copy code from the second panel.
Change-Id: Idd9c5e85dce37c2a5f567dc4477100d975c03305
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1902232
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Disable cabc only when adjust to low brightnss. Don't disable cabc when
screen off/on. From suspend to resume, cabc enable and dimming for PWM
from panel will cause backlight flicker.
Change-Id: I7f7ff27688fd26018f458d18708b8b20f351a4e7
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1900849
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
under the normal mode,The current output from the PMIC not multiplied by
the duty cycle of PWM from panel. For denver the the duty cycle of PWM is
69%. so the max backlight is 25mA*69%.
But When enable "low-bl-disable-cabc" function, we will disable CABC under
when under the low bl. The current output from the PMIC is not multiplied by
the duty cycle of PWM from panel. So we must set the brightness to brightness*69%.
Change-Id: Ib5325e32cc9220a89d95641ce5946fe5885fe5d0
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1900727
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
With "https://gerrit.mot.com/#/c/1894995/" ,we reduce the delay time of display on.
From waveform FAE ask us to increase the delay time after power on AVEE.
Change-Id: Ia7873a92fbad30856430633b9ea85292d08cac6a
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1900743
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Follow sm4250, set the IRQ for mcd with ID 248 to request interrupt.
- Use RPM_SMD_CE1_CLK as system clock.
Change-Id: I577f91aaab2510bd98b5db6dbba340d5680fe8cf
Signed-off-by: linyx10 <linyx10@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1853305
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Binsheng Que <quebs2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1. remove the delay time after vsn on
2. reduce the delay time of reset
3. remove the delay time of 29 command.
the above changes are confirm by FAE and hardware team
Change-Id: Ibba8ed45247ec8ac2d0020c21d17d0865131d87f
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1894995
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhihong Kang <kangzh@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
1. remove the delay time after vsn on
2. reduce the delay time of reset
3. remove the delay time of 29 command.
the above changes are confirm by FAE and hardware team
Change-Id: I9803a2f4f323f04480229cd403f1171fa30e0e14
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1892841
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
arm/dt:
Set backlight type to wled for dummy panel, instead of dummy
backlight type, to enable wled module.
Use this change to fix current of board is too high when power off.
Change-Id: I1912b9cd8bb6f68cad8cb56b99e7295a0d851068
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1888893
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Submit-Approved: Jira Key
This reverts commit 3df8a7acf0ea934485f9162c2d58e26878707b2e.
The previous change will cause the TZ to be awake all the time.
Syncing with Qualcomm in SR 05102653, in 20mA case, ce1_clk is not disabled
which is related to the crypto engine.
:
*** TZ *** 4
status: SPM_AWAKE
num_active_cores: 0
pending_bringups: 0x00000000
Master Stats:
ERROR ee.stats is null
CHANGER:
ERROR READING [ee].changer
HANDLER:
SMDL info: NONE
Mot-CRs-fixed: (CR)
Change-Id: I37cc4a6d467273705fe96d14ac735cd0d4c583d3
Reviewed-on: https://gerrit.mot.com/1891694
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
From pm6150L's spec ,the min current of bl is 0.1mA/string.
And the max power save ratio is 25%.
So min bl = 0.1mA/(17.3mA * 75%) *4095
Change-Id: Ic6c0e964ea7110835cf01ee968a250247e550132
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1890152
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
arm/dt:
Decrease the delay time at panel ic power on and init stage.
Test:
Panel timing has been verified by Vendor.
Wled ovp has been verified by hardware engineer.
Change-Id: I74258dbe94865869f510ca7787bb5ce96162e309
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1886655
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
arm/dt:
Current configs cause wled ovp when screen on.
Increase the delay time can avoid this after testing.
Change-Id: I2904dd3697791e7624a7b8816078561a69470c5f
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1873686
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
arm/dt:
Disable cabc only when adjust to low brightnss.
Don't disable cabc when screen off/on, this causes big
voltage issue on pm6150l/7150l.
Change-Id: I44d3d9c08401d451d0180c451eaa0bbb74480f33
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1873481
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
Creating a new channel ID (ro.carrier) for Optus Australia.
New channel id name is 'optus' and is been applied to all
QC active Kernels. This change is to apply to 4.19
Change-Id: Iec7a453c5d5da01763402af6e88696cf6989ee81
Reviewed-on: https://gerrit.mot.com/1869568
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tarciano Facco Pegoraro <tarciano@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Decrease the dimming time of din panel, avoid baclight flicker
when resume.
If dimming is long, when cabc enable, the pwm output of panel is
small, then user senses the brightness changes before and after cabc
enabled.
Change-Id: I084c6a07b944de21382b8befe6595bccff231d40
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1865436
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
Submit-Approved: Jira Key
- let camera pmic en pin default output low as we use i2c control it.
- modify pmic ldo voltage to correct value.
Change-Id: I095091b410f89930cffcf0c0156c415e145f4cac
Signed-off-by: liuwang2 <liuwang2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1863821
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jian Zhang <zhangjo@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Get the requirements from RF team for BOE panel.
Change the frequency of mipi clock to 1099M
Change-Id: Ib09759e6abbe855f2990a3f8dadfb7baf36da46d
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1859135
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1. reset: L 6ms-> H 6ms ->L 6ms -> H 6ms
2. Add the delay time after 29 command, that time of BLON >40mS
Change-Id: I201725815bfff690d61466348f8e0a9bbf426370
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1855628
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1. reset: L 6ms-> H 6ms ->L 6ms -> H 6ms
2. Add the delay time after 29 command, that time of BLON >40mS
Change-Id: I6efe2a4236e9790bb2615d66444b2d4a9214cedb
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1855627
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For DVT2 panel, the bits of 51h is 12bits.
So set 51 0x0F FF to enable HBM.
Change-Id: Ie33d9958f535ee8c3d1e09b4e0642bcfe698ab6c
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1853444
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
The OTP code of DVT1/EVT2 panel is mistake. DVT2 panel will be right.
For DVT2 panel, the bits of 51 is 12bits.
So we set 51h to 0x0C CC
Change-Id: I664e018f3bdd7282e6b3a5d2d9549c1078c2faed
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1853441
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key