[PATCH RFC] clk: add support for automatic parent handling
From: Mark Brown <hidden>
Date: 2011-04-25 10:57:45
From: Mark Brown <hidden>
Date: 2011-04-25 10:57:45
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:
quoted
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.