Messages in this thread | | | Date | Thu, 30 Oct 2008 20:13:44 +0000 | From | Mark Brown <> | Subject | Re: [RFC] API for system clocks (oscillators) |
| |
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.
| |