Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/3] power: supply: qcom_smbx: add SMB5 support
@ 2026-08-11 20:35 Robin Snyders via B4 Relay
  2026-08-11 20:35 ` [PATCH 1/3] dt-bindings: power: supply: qcom,pmi8998-charger: add SMB5 PMICs Robin Snyders via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Robin Snyders via B4 Relay @ 2026-08-11 20:35 UTC (permalink / raw)
  To: Casey Connolly, Sebastian Reichel, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, linux-pm, devicetree, linux-kernel, Robin Snyders,
	Joel Selvaraj

Add support for the SMB5 charger generation found in PM7250B and
PM8150B to the existing qcom_smbx driver.

The series extends the binding, selects register layouts and electrical
limits from per-PMIC match data, initializes SMB5 with charging and USB
input suspended, and programs a stable AICL rerun interval.

This was tested on a OnePlus 7T Pro (HD1913) with PM8150B. Register
reads confirmed 4.40 V, 1.50 A and 500 mA limits. A 180-second guarded
charging trace and a subsequent 600-second runtime trace completed
without crossing the voltage guard.

The driver was built with LLVM and the binding passed dt_binding_check.
All three patches pass checkpatch --strict.

Based on linux-next 20260810 (3d08ff75a47a).

Signed-off-by: Robin Snyders <robin@snyders.xyz>
---
Casey Connolly (3):
      dt-bindings: power: supply: qcom,pmi8998-charger: add SMB5 PMICs
      power: supply: qcom_smbx: add SMB5 support
      power: supply: qcom_smbx: program AICL rerun time

 .../power/supply/qcom,pmi8998-charger.yaml         |   2 +
 drivers/power/supply/qcom_smbx.c                   | 521 ++++++++++++++++++---
 2 files changed, 457 insertions(+), 66 deletions(-)
---
base-commit: 3d08ff75a47a3e7e2ab45a3bcab6723b4d906422
change-id: 20260811-submit-qcom-smbx-send-v1-69acefa61977

Best regards,
-- 
Robin Snyders <robin@snyders.xyz>



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

end of thread, other threads:[~2026-08-11 23:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 20:35 [PATCH 0/3] power: supply: qcom_smbx: add SMB5 support Robin Snyders via B4 Relay
2026-08-11 20:35 ` [PATCH 1/3] dt-bindings: power: supply: qcom,pmi8998-charger: add SMB5 PMICs Robin Snyders via B4 Relay
2026-08-11 20:35 ` [PATCH 2/3] power: supply: qcom_smbx: add SMB5 support Robin Snyders via B4 Relay
2026-08-11 20:51   ` sashiko-bot
2026-08-11 20:35 ` [PATCH 3/3] power: supply: qcom_smbx: program AICL rerun time Robin Snyders via B4 Relay
2026-08-11 20:46   ` sashiko-bot
2026-08-11 23:56 ` [PATCH v2 0/2] power: supply: qcom_smbx: add SMB5 support Robin Snyders via B4 Relay
2026-08-11 23:56   ` [PATCH v2 1/2] dt-bindings: power: supply: qcom,pmi8998-charger: add SMB5 PMICs Robin Snyders via B4 Relay
2026-08-11 23:57   ` [PATCH v2 2/2] power: supply: qcom_smbx: add SMB5 support Robin Snyders via B4 Relay

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