Hello,
This series implements reentrancy for the common clk implementation of
the clk.h api. Making reentrant calls into the clock framework is both
necessary and desirable for many use cases such as enabling off-chip
clocks via i2c. The first patch in the series implements this.
A neat side ef
On Fri, Nov 25, 2011 at 11:06 PM, Shawn Guo wrote:
> On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
>> .speaking of which, clk_set_rate has been overhauled and is now
>> recursive. *collective groan*. clk_set_rate is still simple for the
>> common case of simply setting a singl
On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
[...]
> .the most notable change is the removal of struct clk_hw.
Happy to see that.
> This extra
> layer of abstraction is only necessary if we want hide the definition of
> struct clk from platform code. Many developers express
On Tue, Nov 22, 2011 at 10:09:29AM -0800, Mike Turquette wrote:
> On Tue, Nov 22, 2011 at 9:45 AM, Russell King - ARM Linux
> wrote:
> > On Tue, Nov 22, 2011 at 07:42:59AM -0800, Greg KH wrote:
> >> On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
> >> > .sysfs support. Visualize
On Tue, Nov 22, 2011 at 11:12:26AM -0800, Greg KH wrote:
> On Tue, Nov 22, 2011 at 10:09:29AM -0800, Mike Turquette wrote:
> > If others also agree that it should reside only in debugfs then I'll
> > move it there for V4.
> If it's only for debug stuff, then yes, it belongs in debugfs. All
> dis
On Tue, Nov 22, 2011 at 9:45 AM, Russell King - ARM Linux
wrote:
> On Tue, Nov 22, 2011 at 07:42:59AM -0800, Greg KH wrote:
>> On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
>> > .sysfs support. Visualize your clk tree at /sys/clk! Where would be
>> > a better place to put the
On Tue, Nov 22, 2011 at 07:42:59AM -0800, Greg KH wrote:
> On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
> > .sysfs support. Visualize your clk tree at /sys/clk! Where would be
> > a better place to put the clk tree besides the root of /sys/?
>
> Um, in the "proper" place for
On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:
> .sysfs support. Visualize your clk tree at /sys/clk! Where would be
> a better place to put the clk tree besides the root of /sys/?
Um, in the "proper" place for it under /sys/devices like the rest of the
device tree is?
> When
Hi all,
A quick refresher: the clock framework APIs in include/linux/clk.h have
allowed platforms to develop their own platform-specific implementations
to manage clocks; this meant that everyone had their own definition of
struct clk, duplicated much code and contributed negatively to the
on-goin