Re: [RFC PATCH] clk: add extension API

From: Felipe Balbi
Date: Thu May 31 2012 - 06:03:11 EST


On Thu, May 31, 2012 at 12:57:23PM +0300, Peter De Schrijver wrote:
>
> >
> > Well, that's just because struct device doesn't know about its own clock
> > providers, right ? Should that be patched too ?
> >
> > Russell, as the orignal author of the clk API, what do you think ?
>
> Even if it would know, how would that solve the problem? only the
> clockframework is supposed to know about struct clk.

you have the device and you have the clock, you need to toggle a bit on
the clock address space. I guess that pretty much says it, no ? Unless
your implementation of struct clk doesn't tell you clk register offset
which is rather unlikely.

--
balbi

Attachment: signature.asc
Description: Digital signature