- 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
The OTP code of DVT1/EVT2 panel is mistake. DVT2 panel will be right.
So in kernel DVT1/EVT2 dts file , add code to set PWM frequency to 20K,
Set the bits of pwm to 12bits, and set the GAMMA to 2.2.
Change-Id: Ia3d704efcd27422fb11e0ecbabadde0f5b15b3b4
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1853354
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
The clock and data lanes have a calibration circuitry feature. To offset the drive
strength from the calibrated value in an increasing or decreasing manner, use 6 bit
two’s complement values.
For some project ,will change the strength offset to reduce the mipi voltage, to fix
rf desense issue.
By default, there are only two bytes to config the strength of lane.
Support the configuration of strength offset in each projects, we must expand to 4 bytes.
And the default value is 0.
Change-Id: Ifaa2a0024b10176c638d4bc44756f9d09a1927ef
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1852325
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 clock and data lanes have a calibration circuitry feature. To offset the drive
strength from the calibrated value in an increasing or decreasing manner, use 6 bit
two’s complement values.
LCD desense has 1.2-1.5dB improve
Change-Id: I2c096604941f79b3ec31aa69afc5e1481652f03b
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1850390
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
- Add dummy panel for match active panel, this will make driver
works, when dummy panel
Change-Id: I7f8fbc7427a0e2e422e26cc128bfb6f3870d1a09
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1845450
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
Submit-Approved: Jira Key
1.set the right volt.
2.optimize the timing of power down
Change-Id: Id6c16b762edc281d324da0e3af4fac93011126eb
Signed-off-by: houdz1 <houdz1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1845445
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:
Cmds including delay need to be sent separately.
Otherwise delay has no effect.
Change-Id: Ic5d1593f6f7a3a30726acd88321392bc6479b9f8
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1840224
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
HW team confirm Denver should config NFC gpio7 to output-low .
it is a NFC clk req input gpio, and it connect to MGPI .
NFC request clk will cause a PMIC SPMI operation,But Denver no NFC,
this gpio is in float status w/o NFC ,
So HW team worry it will cause some stability unknown issues .
Change-Id: I92185a9ea125156ff0f3fd918b43ccd71d5f5e47
Reviewed-on: https://gerrit.mot.com/1841853
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key