Re: [RFC] API for system clocks (oscillators)

From: Mark Brown
Date: Thu Oct 30 2008 - 16:14:19 EST


On Thu, Oct 30, 2008 at 06:01:42PM +0100, Jonas Bonn wrote:

> > You could probably work those features into the existing clk framework.
> > clk_set_rate() could compute the constrains and return an error.
> > The API could be expanded with notifier support.

...

> What drove me to document a new interface is the fact that there are
> so many users of "struct clk" already, that it becomes conceptually
> easier to dream up something new that stays out of the way, even if
> that new thing becomes just a wrapper around the existing interface

BTW, on this point I don't know if you've seen Dmitry Baryshkov's work
on a generic implementation of the existing clk API.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/