[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120409222903.GA31622@lunn.ch>
Date: Tue, 10 Apr 2012 00:29:03 +0200
From: Andrew Lunn <andrew@...n.ch>
To: mturquette@...aro.org
Cc: arnd.bergmann@...aro.org, rob.herring@...xeda.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: COMMON_CLK_DISABLE_UNUSED
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists