User: Password:
|
|
Subscribe / Log in / New account

Clocklib: generic clocks framework

From:  Dmitry Baryshkov <dbaryshkov@gmail.com>
To:  linux-kernel@vger.kernel.org
Subject:  [RFC][PATCH 0/2] Clocklib: generic clocks framework
Date:  Fri, 23 May 2008 01:19:42 +0400
Message-ID:  <20080522211942.GA11271@doriath.ww600.siemens.net>
Cc:  akpm@linux-foundation.org, Haavard Skinnemoen <haavard.skinnemoen@atmel.com>, Russell King <rmk+lkml@arm.linux.org.uk>, Paul Mundt <lethal@linux-sh.org>, pHilipp Zabel <philipp.zabel@gmail.com>, Pavel Machek <pavel@ucw.cz>, tony@atomide.com, paul@pwsan.com, David Brownell <david-b@pacbell.net>
Archive-link:  Article

Hi,

In the followup mails I'd like to introduce a bit new approach for
"clocklib".
First, it's based on kobjects. So we do get sysfs integration nearly for
free. Also now struct clk is completely opaque. So we can change it's
implementation without impacting clocks providers.

Also in clk_ops I've merged (as suggested by Haavard) the set_rate and
round_rate calls since they usually have lots of common code.

The clk_set_parent() isn't implemented yet, but this code is only an RFC!

-- 
With best wishes
Dmitry



Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds