Clock settings

Florian Fainelli florian at openwrt.org
Mon Nov 9 03:05:47 EST 2009


Hi Lars, Bas,

Le dimanche 8 novembre 2009 21:01:42, Lars-Peter Clausen a écrit :
> > It's probably a good idea to stop everything that isn't used: IPU (or is
> > it used?), UHC, CIM, SADC, SSI, I2C, UART1.  Not sure how much power it
> > saves, but it doesn't bring any gain. :-)
> 
> Yup. Clock managment is currently less then optimal.
> The question is whether the kernel or the bootloader should decide
> which clock to disable?
> I think the best would be to disable everything non essential in the
> bootloader and if a kernel driver needs a clock it should enable it.

That's the way to go. You might want to have a look at the Linux CLK API to do 
that along with clk_enable/clk_disable in drivers. ARM is a good example of 
that.
-- 
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20091109/3087d38d/attachment.pgp>


More information about the discussion mailing list


interactive