On Mon, Aug 25, 2014 at 04:53:06PM +0200, Thierry Reding wrote: > Hmm... that's true. But we already have a way to deal with exactly this > situation for regulators. There's a property called regulator-boot-on > which a bootloader should set whet it has enabled a given regulator. It > can of course also be set statically in a DTS if it's know upfront that > a bootloader will always enable it. Perhaps what we need is a similar > property for clocks so that the clock framework will not inadvertently > turn off a clock that's still being used. Except that such a property won't work either. Regulators with regulator-boot-on will still be disabled if there's no one to claim it. Just like what happens currently for the clocks. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature