Re: [PATCH v3 09/20] mfd: sec: Add support for S2MPG11 PMIC via ACPM

From: André Draszik

Date: Mon Nov 17 2025 - 01:44:33 EST


Hi Mark,

On Sun, 2025-11-16 at 16:46 +0000, Mark Brown wrote:
> On Sun, Nov 16, 2025 at 12:49:55PM +0000, André Draszik wrote:
>
> > The typical use of the S2MPG10 PMIC is in combination with an S2MPG11
> > PMIC in a main/sub configuration. Bucks of one are usually used as
> > supplies for LDOs of either itself or of the other: several S2MPG10
> > LDOs are consumers of various S2MPG10 bucks & S2MPG11 bucks, and
> > several S2MPG11 LDOs are supplied by various S2MPG10 bucks & S2MPG11
> > bucks.
>
> If you're doing something to resolve such rats nesting of PMICs you
> should do something that works as standard rather than just bodging this
> one driver in a way that treats this specific device as a special
> snowflake.  That might reasonably mean going and refactoring existing
> drivers to look like this one,

I have no insight into which other drivers / setups might have a similar
problem.

> it is a fairly obvious approach.  We
> should really have a uniform approach that works well rather than random
> variation between devices though.
>
> We could also do this at the regulator level by arranging for the
> devices we make for the regulators to have deferrable drivers, that'd
> be a core only change.

That should work, yes, I'll investigate a little.

Thanks
A.