Re: [PATCH v3 09/20] mfd: sec: Add support for S2MPG11 PMIC via ACPM
From: Mark Brown
Date: Sun Nov 16 2025 - 11:48:49 EST
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, 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.
Attachment:
signature.asc
Description: PGP signature