On Wed, Oct 30, 2024 at 06:22:11PM +0100, Kory Maincent wrote: > Mark Brown <broonie@xxxxxxxxxx> wrote: > > On Wed, Oct 30, 2024 at 05:53:13PM +0100, Kory Maincent wrote: > > > +int regulator_get_power_budget(struct regulator *regulator) > > > +{ > > > + return regulator->rdev->constraints->pw_budget; > > > +} > > This is going to go badly with multiple consumers... > On my series the available power budget of the PIs (which are consumers) is > managed in the PSE core in the PSE power domain (patch 13). We could move it > directly to regulator API. It feels like it's going to need joining up at some point.
Attachment:
signature.asc
Description: PGP signature