[linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code
From: Maxime Ripard <hidden>
Date: 2014-08-25 15:07:05
Also in:
linux-fbdev
From: Maxime Ripard <hidden>
Date: 2014-08-25 15:07:05
Also in:
linux-fbdev
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140825/69496455/attachment.sig>