As milan 5G use pm6375 gpio8 to control charging led,
so enable leds-indicator-pwm.ko to control led.
Change-Id: Id3287569523ec3d4c7e47299ffcaf7b2a9e91450
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2055599
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Config max otg out current from 1.5A to 1A for corfu 5g
this requirement come from HW.
Change-Id: I7f618ecde010b3d93e476310d295ef32f2c3791d
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2053064
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This reverts commit 9308e9c5978282e8b7d2a54cfa76ac34ff4f0a12.
This patch cause panel can't work when flash gki.
So use another method to keep l13 on.
Mot-CRs-fixed: (CR)
Change-Id: I8104732de046f608c0d6d3535f01cab18341f057
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2049630
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Get require from ODM, need make this change to meet the timing.
When panel suspend, let mipi into ulps mode.
That MIPI signal will be pull down.
Change-Id: I4ddfe06c8e1c8e244fc1191a760bbba935fa2c23
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2046943
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhihong Kang <kangzh@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1. there are two backlight driver IC(AW99703 and lm3697).
2. on early-init, will insmod these drivers.
Change-Id: Iae8520cc8444ccb71c01951d0f77181c81eb6330
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2045934
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhihong Kang <kangzh@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For milanf's tianma panel, vsp/vsn = 5.5V .
So we change change the min voltage of vsn/vsp to 5.5V
Change-Id: I35e6df4c7eab48da29a95935478768bac466b55e
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2045709
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhihong Kang <kangzh@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1.blair-cypfr-common-overlay.dtsi is copied from blair-mtp.dtsi
of date 2021-06-02 17:56:14
2.AAdd NFC initialized config
https://gerrit.mot.com/#/c/2008259/ has removed nfc from base dts,
so add NFC config in blair-cypfr-common-overlay.dtsi just l(CR)
holi-denver-common-overlay.dtsi to avoid build error.
Change-Id: Icbe6ad737473d1e41fddb56d71372399c8082912
Reviewed-on: https://gerrit.mot.com/2045705
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaofeng Wang <wangxf14@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
sd card interrupt level is low as default, need set HIGH as
design on milan 5G.
Change-Id: If22f53080a564ae7eeae0be2ca5ffe7ad3a1fb46
Reviewed-on: https://gerrit.mot.com/2045887
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xinmin Fu <fuxm1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Get the requrement from vendor .
Power off vsp ,delay 2ms, then power off vddio.
Change-Id: I5ed5326c3961ebd48be1caab9b4c93df5d4d69ab
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2041117
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
If enable fcc step feature,fcc will ramp change as it will
cause delay in limiting main charge current. we need to quick
limit main fcc while CP enable, otherwise there is
a risk that cp enable fail.
Change-Id: Iff36b50b58fc1dc84dc6c77b140ea0efa9c05785
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038838
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
In order to be consistent with the first panel(tianma),
we change the bit width of csot_panel's backlight to 10bits.
From DVT2, these code will be otp,So we can not send the init code to change bit width.
Change-Id: I852d64671ddcf8040bdd5e7e8f1b528f23e47066
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038441
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
In order to be consistent with the first panel(tianma),
we change the bit width of csot_panel's backlight to 10bits.
Change-Id: I9dd42c9578c3c30f17b7567fc0863bb1642a21e0
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038394
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
corfur:
Don't power off when suspend, keep power and reset on, but reset
when resume to meet IC spec.
Change-Id: I00844e360b70a70e7138f965afe4b35767addc5b
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Since now we having display/touch current drain issue when suspend,
so need to set rst pin to low when suspend and add reset process to
change rst pin to high when resume. This change will control int pin by default
and will control rst pin in addition process.
Change-Id: I57c0c3dafb77171ca820a330942181d37b2351fd
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2035342
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
holi-pm6125.dtsi is added by qcom for 4350Pro, but qcom does not
add blair-pm6125-overlay.dtsi fro 6375, and we don't need add it,
it is un-used for us
Change-Id: I9d4c7b625edc8c47264562b3e4ad1a20cf8de090
Reviewed-on: https://gerrit.mot.com/2034017
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaofeng Wang <wangxf14@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
When power down, we must disable all power and signal.
Otherwise, electric leakage will be caused.
Change-Id: I43db8f1b0005f60bf626e5b384156053da718d11
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2033722
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key