Commit Graph
30 Commits
Author SHA1 Message Date
xuwei9 9a5bdca7e6 dts:config slave to main current threshold
Change the slave charger to main charger
switch current threshlod for discrete
charger architecture.

Change-Id: I7c0e07641d50743dd709d448f5eefdb6120173e0
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2150736
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:04 -03:00
xuwei9 74f42adfa6 dts:charging parameter per battery spec
Charging parameter per battery
spec of rhode.

Change-Id: I0747075003106b49765a8baf783cc79f4d71b8e6
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2148109
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:04 -03:00
xuwei9 63d7fc1294 FG:dynamic config sns resistance
Dynamic config sense resistance
for Fuel gauge.

Change-Id: Ia424d144c70dd86ef7afab0255926cc6c0e261ee
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2140928
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:04 -03:00
xuwei9 a7ca39492b QC3P:turbo charger module devicetree
QC3P turbo charger discrete
module devicetree init.

Change-Id: I9c4207d1cc6088a1b1a685fcdb7fea90398c0d4d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139179
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:04 -03:00
xuwei9 fac95effe8 arm/dts: change chg_therm polling frequency
PROPAGATED_from (CR)

Change chg therm uevent reporting from interrupt
to polling mode to enhance the chg therm temperature updat

Porting from (CR) of XieQiong2@lenovo.com

Change-Id: I6b8d35fd672d49419e3d838e6f6d1d995d38d958
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/1859264
2023-05-31 17:01:03 -03:00
xuwei9 b153e272b3 Guam: Charging time optimization
PROPAGATED_from (CR)

Per HW request, optimizate
Charging time

Change-Id: Ic2424dbda1bf047dbc0a8787fb44317b7dd092bb
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/1859247
2023-05-31 17:01:03 -03:00
xuwei9 acdf9e3888 dts:integrate india local buy battery profile
Integrate inida local buy atl battery
profile per battery kp request.

Change-Id: I1da9498671379401e8398325bf470755d04d00f0
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1734566
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:02 -03:00
xuwei9 e78b0ea059 dts:remove unused dr-supported node
Remove unused dr-supported dtsi node
Use dr_supported node at project dts if needed.

Change-Id: I0ab9311caaefb9c8f4523d6c8cd8ba7b8bbfda45
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1725533
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:02 -03:00
xuwei9 1c84e1c261 dts: Config ext ovp 12V at guamp
Config 12V ovp dts based on guamp's ovp is 13.5V
becase of (CR) have integrated new ovp feature

Change-Id: I454e509396855cc02805b417949776a75cfb48d9
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1711866
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 5093c8c5e5 guamna:enable CAP learning wt
Enable CAP learing wt flag for prevent
cap interrupt per qcom suggestion.

Change-Id: Iac4a2cc08098f2a45136677397bad33c74547679
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1702781
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 01503473d3 guamp:optimization charging full time per HW
Improve display charging full current to 350mA
for charging time optimization

Change-Id: I8236735cfcf8a54e6ac60c689ff29f6ad9f39305
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1680964
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 cdc015182f guamna:optimization charging full time per HW
Impprove display charging full current to 350mA
for charging time optimization

Change-Id: I719a398fd00a74e460f20e1d3a8fcd70fbd80f84
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1680957
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 efe75b2cd0 guam:charging full display time optimization
Improve charging diaply full UI current to 350mA
for charging time optimization

Change-Id: Idd6ce2331681f33ff86c7fc5380ffa3494e8797f
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1680948
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 2b955ee8aa dts:distinguish type-c and microb dcp input setting
Guam use micro-b port, distingushi typec and mb
input setting

Change-Id: Ic1ad267fa9b8ddf918ecf0a9afcbbbb733ba9e35
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1670640
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 ec3f46b4ef dts:config BCL devicetree
Config BCL soc mitigation
when battery capacity less than 10

Change-Id: I0e29e19bc58375925aa282ed3d81ebcd782ce42f
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1649394
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xuwei9 dd5a61748a dts:optimize charger temination curent for JK50
Optimize charger termination currrent
for JK50 battery

Change-Id: Ib35ddc3f866c0d79fc98b087410a734fa8f17c71
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1623233
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 25665d4199 dts:3rd sunwoda battery cell profile integration
Integrate 3rd sunwoda battery cell
profile for guam/guamp/guamna

Change-Id: I451ebd2a3a96e005e8a03268cec42b2e68f53711
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1621691
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 ef94ab98fb dts:support 2A DCP charger
For non-support turbo charger project.
allow max 1.8A charger current of DCP

Change-Id: Iddb504cb1d506daa445d51ce8b866e5fe35173a5
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1611252
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 9afffe33a5 dts:optimize the full soc time of FG
Optimize the full soc display time
of Fuel gauge

Change-Id: I7e892369ba8834bfa947d9ef2b21c1b87ee58be2
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1610782
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 9885d2ca49 dts:remove backlight cooling device
Remove backlight cooling device
node at dtsi

Change-Id: I668460b36a5f7f6f280273293a843e26350429e3
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1601822
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 a69e620ac8 dts:charger parameter update
charger parameter update:
factory soc limit from 75 to 70.
45C no need step max stage.

Change-Id: If82923f5c5de356033c6926f8cc16153a26c77df
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1579568
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 442c6743ad dts:usb conn thermal ntc init
Enable usb connector thermal
ntc at guam na

Change-Id: I87de0fc4dc15a72a0e36ca5d7e4b187777e02acb
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1555092
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 33440d5ae2 dts:lcd backlight cooling device driver
LCD backlight thermal cooling device
driver dtsi init

Change-Id: I4234ac6bf086fcfa77635d553e4e35807f0a578d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1539415
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 a6a3188646 dts:battery profile integration gaum/guamp
Integration gaum/guamp battery profile
four battery have been integrated
ATL/SCUD/ATL-unicoba/ATL-flex

Change-Id: Id5f4c18de65b608a45ceded57d4983fab35ccd01
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1531916
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 36e294386f dts:Charging parameter config change per battery spec
Changing charger parameter config
per battery spec

Change-Id: Ib298e07ff5f5eda7aadc3c940c7e7136262632b8
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1526730
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 5c58c1e95e dts:Rename thermal sensor for tcmd
Rename thermal sensor for
moto tcmd component

Change-Id: Ifd99a25c962000082de7b5861defcb5895bbaf0d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1517665
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 266e98b697 dtsi:thermal ntc dtsi init
Thermal ntc dtsi init at
Guam/Gaump

Change-Id: I06275e2e437eb7895ee3a698590b2c54cbf913cb
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1515656
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 7e267a90d1 dts:battery/charger driver init at guamp
battery/charger dtsi init
at guamp

Change-Id: I3dd0839c4827f2243a69c81b623d1728e29c8a29
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1511776
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 400b5a647d dts:led driver init at guam
Bring up red led driver
at guam

Change-Id: Ic77a35a881f0731196711b1e0a23f93596819789
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1511624
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00
xuwei9 1562e05048 dts:moto charger/battery enable
Enable moto charger/battery feature
at guam

Change-Id: I6cc266f77ce8534ca2a880473e4e76096d70c46d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1509689
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:00:59 -03:00