Skip to content

power: supply: qcom_battmgr: Kaanapali current sign and charge current limit

Joonhoe Kim linux-arm-msm linux-pm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- 2/2: use guard(mutex) [Konrad]
- 2/2: return -ENODATA when the firmware reports a zero maximum [Konrad]
- Rebased on next-20261111

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2power: supply: qcom_battmgr: fix the battery current sign on Kaanapalidrivers/power/supply/qcom_battmgr.c+6 -00 replies
2/2power: supply: qcom_battmgr: expose the charge current limitdrivers/power/supply/qcom_battmgr.c+55 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] power: supply: qcom_battmgr: Kaanapali current sign and charge current limit

Patch 1 fixes the sign of the battery current_now on Kaanapali. Patch 2 exposes the firmware charge current limit on SM8550-class batteries as charge_control_limit and charge_control_limit_max.

Patch 1 has no code change. Its sign is still checked only on the Lenovo Y700 Gen 5 (TB323FU, Kaanapali); Konrad asked Jingyi on v1 to check QRD/MTP [1], and there has been no reply yet.

Changes in v2:
- 2/2: use guard(mutex) [Konrad]
- 2/2: return -ENODATA when the firmware reports a zero maximum [Konrad]
- Rebased on next-20261111

Link to v1: https://lore.kernel.org/all/[email protected]/

[1] https://lore.kernel.org/all/[email protected]/

Joonhoe Kim (2):
power: supply: qcom_battmgr: fix the battery current sign on Kaanapali
power: supply: qcom_battmgr: expose the charge current limit

 drivers/power/supply/qcom_battmgr.c | 61 +++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

base-commit: aaa2f954c21b205a0bcd0961e5b2be4e82e58455

Signature · 1 line
2.53.0