[PATCH 0/2] arm64: qcom: Add SMBLite charger support for PM4125
From: Raj Aryan
Date: Tue Nov 24 2026 - 04:16:06 EST
The PM4125 PMIC, used on the Qualcomm CQ2390 platform (cocos),
integrates the SMBLite switch-mode battery charger IP. The existing
qcom_smbx charger driver only supports the SMB2 charger IP found on
PMI8998 and PM660, so PM4125 currently has no charger support at
all.
SMBLite is a reduced-feature variant of SMB2: it shares the same
SPMI bus and overall driver model, but uses a different register base
layout (five separate SPMI peripheral bases instead of a single base
with fixed offsets), a different battery-overvoltage status
register, SOC-based recharge instead of VBAT-based recharge, and a
different JEITA configuration sequence.
This series extends the existing qcom_smbx driver to support both chip
types side by side, selecting the correct register bases and handling
logic based on chip->type. This keeps a single driver and power-supply
class device covering both SMB2 and SMBLite hardware.
This series:
- Adds the qcom,pm4125-charger devicetree binding, covering both
PM4125 and PM2250 (which share the same SMBLite IP)
- Extends qcom_smbx to add SMBLite register support, JEITA
threshold configuration, and SOC-based recharge, while preserving
all existing SMB2 (PMI8998/PM660) behavior
Signed-off-by: Rakesh Kota <rakesh.kota@xxxxxxxxxxxxxxxx>
Signed-off-by: Raj Aryan <raj.aryan@xxxxxxxxxxxxxxxx>
---
Raj Aryan (2):
dt-bindings: power: supply: Add qcom,pm4125-charger binding
power: supply: qcom_smbx: Add SMBLite charger support
.../bindings/power/supply/qcom,pm4125-charger.yaml | 109 ++
drivers/power/supply/qcom_smbx.c | 1094 ++++++++++++++++++--
2 files changed, 1090 insertions(+), 113 deletions(-)
---
base-commit: f1ac44c32cba88ad65dcecd4a279661d14e93651
change-id: 20260827-smblite-charger-for-pm4125-d3168a705520
prerequisite-message-id: 20261111-shikra-qusb2-charger-det-v1-0-5a9d919c66b5@xxxxxxxxxxxxxxxx
prerequisite-patch-id: 7e516155b3e55cfdf0e368296b467c6d89565b9d
prerequisite-patch-id: 85a40d3799c93e0ff515f7ae2f9642435acea45a
Best regards,
--
Raj Aryan <raj.aryan@xxxxxxxxxxxxxxxx>