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

Mark Brown
2011-04-25T10:57:45Z

On Mon, Apr 25, 2011 at 10:03:49AM +0800, Richard Zhao wrote:
> On Thu, Apr 21, 2011 at 01:35:42PM +0100, Mark Brown wrote:

> > Please bear in mind that due to the fact that we've currently got one
> > clock implementation per subarchitecture anything off-SoC has some
> > serious barriers to implementation in kernel. For the system management
> > units you'd be looking at very new systems, this is a new development.

> How many arch have off-soc clocks? Where's the source?
> At least for arm, nearly all is memory mapped clock registers. clk is free
> to override, we just need abstract the most common things.

Even for many ARMs it's common for the clock tree to be rooted in the
PMIC (since it will always be on), and of course the full system clock
tree will not just include the CPU but also any other digital components
in the system.