COMMON_CLK_DISABLE_UNUSED
Andrew Lunn
andrew at lunn.ch
Mon Apr 9 18:29:03 EDT 2012
Hi Mike
I've been thinking about:
config COMMON_CLK_DISABLE_UNUSED
bool "Disabled unused clocks at boot"
depends on COMMON_CLK
---help---
Traverses the entire clock tree and disables any clocks that are
enabled in hardware but have not been enabled by any device drivers.
This saves power and keeps the software model of the clock in line
with reality.
If in doubt, say "N".
I think in the long run, having this as an option is going to cause
problems, in particular for the One ARM Kernel. Some platforms are
going to want it enabled, others will want it disabled. Depending on
who looses out, there are going to be power regressions, or clocks
unexpectedly turned off.
I think it would be good to consider deleting this config option and
just have the code always enabled.
What do you think?
Thanks
Andrew
More information about the linux-arm-kernel
mailing list