Re: [PATCH 0/2] arm64: qcom: Add SMBLite charger support for PM4125
From: Raj Aryan
Date: Wed Nov 25 2026 - 04:24:28 EST
On Tue, Nov 24, 2026 at 10:48:02AM +0100, Krzysztof Kozlowski wrote:
> On 24/11/2026 10:15, Raj Aryan wrote:
> > 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.
> >
>
> Why do you have unexplained/unlinked dependencies here? Why dependencies
> in the first place. Does it mean this is not reviewable?
>
The dependencies added are for charger type detection, without that our
driver wont show proper charger type i.e SDP, CDP, DCP. I apologise,
I will remove the dependecny in V2 and mention about it in cover letter.
> Best regards,
> Krzysztof
Thanks & Regards
Raj Aryan