Commit Graph
10 Commits
Author SHA1 Message Date
xieqiong2 76835c7c79 change default battery SN for capri 5000 & capri+.
Capri 5000 and Capru+ use the same default 1st source
battery from SUNWODA.

Change-Id: Ice9b1a285eb88b1361bbd1831a06635bc91ad09c
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1771653
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
xieqiong2 921d3fac09 arm64/dts:Capri/Capri+ charging bring up.
Capri 5000, Capri 6000, Capri+ 3 products have different
requirement, bring up.

Change-Id: I54fae278122017f74f509eaeb10e8776eb367213
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1755478
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
xieqiong2 5619f6a7fb change UI 100 SOC current to 400mA.
Change to 400mA to reduce the charging time for
cebu per HW request.

Change-Id: I3d4aa83bbbff65f9daa1b94f66f9bb328766a4cd
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1734664
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
xieqiong2 4476aefaf7 add oem battery profile version.
KBA-191111223725
[Platform]:
SM6150, SM7150, SM7250, Any platforms use PMI632
[Issue Description]:
If ever use a mismatched temporary profile before receive the matched profile, it may lead to
unexpected inaccurate/nonlinear soc issue, even though you have replaced the correct one, issue
still remains.
[Solution]:
The reason of this issue is because of the saving of incorrect battery info in SDAM, Qcom battery
gauge save the calculated battery info(l(CR) ESR, Capacity...) into the SDAM of PMIC, when reload
a new battery profile, these info will not be cleared, in other words, device will use the incorrect
data to calculate the Soc even though you have loaded a correct matched profile.
To solve this issue, there're two options, one is to re-plug the battery, so that SDAM data will be
cleared. The other option is to merge below workaround, and add device tree property "qcom,
oem-batt-profile-ver" to identify profile change, then driver code will do SDAM clear.

Change-Id: Ic06efb1ca869d541e9c93ad1a79e12e1b9f140ea
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1732317
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:02 -03:00
xieqiong2 24301146dd arm64/dts:enable tcss to make soc scale 100% more accurate.
We use qg-iterm-ma for soc 100%, but also need to enable the flag
tcss to make it effect.

Change-Id: I4222e4515acf815ae19bdee70035fe1b44e7c84f
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1722469
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-05-31 17:01:02 -03:00
xieqiong2 de66a14440 arm64/dts:add cebu 1st source battery parameter.
Add 1st source battery parameter for cebu.
Set default battery serial number.

Change-Id: I9903e92978ac122b88354d8abdd7ec1ecf46a781
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1718249
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
xieqiong2 06e8a88a6d adjust the factory charging limit to 75%.
According to factory's request, adjust the charging limit
of the factory image to 75%.

Change-Id: Ife29bc1ba60c9bfd3996afa7f6de47bacea42e5a
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1711956
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xieqiong2 ca07c22f39 add ext-ovp-greater-12v for cebu.
To support non-standard charger issue fixing in
CR (CR). Cebu need to add this flag due
to external IC OVP is set as 13v(>12v).

Change-Id: I713ece5c837ed79d38a8c9f72ed7d07d861e9177
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1711707
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-05-31 17:01:01 -03:00
xieqiong2 ba821c37de arm/dts:config NTC therm for cebu.
Add/config each NTC therm for cebu.
Add/config thermal zones for cebu.

Change-Id: If525b25594d9f840d416cc857526e1d7f3565bab
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1652051
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:01 -03:00
xieqiong2 f2f4644475 arm/dts:Cebu charging initial configuration.
Cebu initial bring up for battery charging according to
battery spec and Hardware request.

Change-Id: Icc6e0ec52c8c4f9bfee22882ba26f2e35dd83d90
Signed-off-by: xieqiong2 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1647979
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:01 -03:00