Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] power: supply: qcom_battmgr: Kaanapali current sign and charge current limit
@ 2026-11-12 13:49 Joonhoe Kim
  2026-11-12 13:49 ` [PATCH v2 1/2] power: supply: qcom_battmgr: fix the battery current sign on Kaanapali Joonhoe Kim
  2026-11-12 13:49 ` [PATCH v2 2/2] power: supply: qcom_battmgr: expose the charge current limit Joonhoe Kim
  0 siblings, 2 replies; 3+ messages in thread
From: Joonhoe Kim @ 2026-11-12 13:49 UTC (permalink / raw)
  To: sre
  Cc: konrad.dybcio, jingyi.wang, kamal.wadhwa, anjelique.melendez,
	dhruvin.rajpura, andersson, dmitry.baryshkov, linux-arm-msm,
	linux-pm, linux-kernel

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/20261016124806.1789-1-26rote@gmail.com/

[1] https://lore.kernel.org/all/0e5b7d2e-e141-4ce4-a873-b65bd9ef3c4a@oss.qualcomm.com/

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
-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-12 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 13:49 [PATCH v2 0/2] power: supply: qcom_battmgr: Kaanapali current sign and charge current limit Joonhoe Kim
2026-11-12 13:49 ` [PATCH v2 1/2] power: supply: qcom_battmgr: fix the battery current sign on Kaanapali Joonhoe Kim
2026-11-12 13:49 ` [PATCH v2 2/2] power: supply: qcom_battmgr: expose the charge current limit Joonhoe Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox