[PATCH RFC] clk: add support for automatic parent handling

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Apr 21 06:13:40 EDT 2011


On Thu, Apr 21, 2011 at 09:22:59AM +0200, Uwe Kleine-K?nig wrote:
> On Wed, Apr 20, 2011 at 09:52:15PM +0200, Thomas Gleixner wrote:

> >    - a field for the current clock rate

> Then you need a mechanism to notify the children if the rate or parent
> of a clock changes. I assume you won't allow that for a clock that has
> more than one (enabled) consumer. Knowing only very few platforms I
> don't know if that is something you can forbid.

I suspect you need it - cpufreq style scaling of the core clocks (which
many SoCs can do) involves pretty much the entire clock tree, though
obviously the idea is that the effects get hidden at the edges.



More information about the linux-arm-kernel mailing list