On 08/08/2011 06:08 PM, Robin Holt wrote:
On Mon, Aug 08, 2011 at 06:03:06PM +0200, Wolfgang Grandegger wrote:
...
So we would stay with the clk_* functions. I assume clk_get() would
return NULL, clk_get_rate() would just return fsl_get_sys_freq() and
the other functions would do nothing. Doesn't this really polute what
clk_* functions are supposed to do? Aren't we making flexcan dictate
a different behavior for powerpc than for the arm (and possibly other)
architectures?
Well, I see it as one way to provide compatibility with the ARM port. If
the PowerPC people don't like it, we can switch to something else,
whatever they suggest.
Wolfgang.