Re: [RFC PATCH v1 0/6] Introduce machine-specific regulators coupling API
From: Mark Brown
Date: Wed May 08 2019 - 04:15:06 EST
On Sun, May 05, 2019 at 05:57:42PM +0300, Dmitry Osipenko wrote:
> after bootloader. Currently, in this patchset, we are not allowing CORE
> voltage to go lower than the level left after bootloader and once all
> the relevant drivers will get support for the voltage management, we
> should be able to unhold the lower CORE voltages around late_init().
That's going to break as soon as someone like a distro builds drivers as
modules, you can't rely on things getting done at any particular point
in initialization or indeed on any given set of drivers being available
in the particular kernel that the user chooses to run - if they decide
not to build drivers for devices that they don't use on their particular
system that should work.
Overall this feels like an abstraction failure and you've not really
said what the constraints you're trying to implement here are so it's
hard to tell if that's the case or not.
Attachment:
signature.asc
Description: PGP signature