Re: [uClinux-dev] [PATCH 00/12] m68knommu: generalize the ColdFire clock support for all CPU types

Thomas Petazzoni
2012-11-26T15:34:52Z

Hello,

On Fri, 16 Nov 2012 14:47:24 +1000, gerg@snapgear.com wrote:

> The current Coldfire clock code only really supports those ColdFire
> CPU types that have the more advanced enable/disable clock hardware
> support. If we generalize our clock code we can support all types,
> even those with simpler fixed clock trees.
>
> This results in much cleaner and consistent clock support. And it
> means that we can in the future use the clock API in our timers and
> throughout the other ColdFire p[eripheraps, instead of hard coded
> clock definitions.

Have you considered instead using the generic clock framework that is
now in drivers/clk/ ?

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.