public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Clocklib: generic clocks framework
@ 2008-03-26 15:49 Dmitry Baryshkov
  2008-03-26 15:52 ` [PATCH 1/3] Clocklib: add generic framework for managing clocks Dmitry Baryshkov
                   ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Dmitry Baryshkov @ 2008-03-26 15:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: akpm, hskinnemoen, domen.puncer, lethal, tony, rmk+kernel, paul

Hi,

The <linux/clk.h> provides the API to use clocks.
However there is no API for clock providers. Commonly
clocks are provided by platform-specific code, which
implements full <linux/clk.h> API for itself. It results
in massive code duplication and lack of flexibility.
If I'd like to be able to provide clocks from the driver
for e.g. CPU companion chip, I'd either have to implement
a lot of platform-specific hooks, or invent some other
dirty hacks.

In the followup I'd like to propose the generic <linux/clk.h>
implementation, that can be used to hook clock definitions
from various sources. Also as an example there will be a patch
to convert ARM SA-1100 to the clocklib.

I'd like arch maintainers to check whether there is somthing
in this implementation that wouldn't work for their piece
of kernel, whether is's suitable for them to drop their own
clock implementation (if any) and to use clocklib.

-- 
With best wishes
Dmitry


^ permalink raw reply	[flat|nested] 33+ messages in thread
* [PATCH 0/3] Clocklib: generic framework for clocks managing [v3]
@ 2008-06-26 12:50 Dmitry Baryshkov
  2008-06-26 12:51 ` [PATCH 1/3] Clocklib: add generic framework for managing clocks Dmitry Baryshkov
  0 siblings, 1 reply; 33+ messages in thread
From: Dmitry Baryshkov @ 2008-06-26 12:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: akpm, Haavard Skinnemoen, Russell King, Paul Mundt, pHilipp Zabel,
	Pavel Machek, tony, paul, David Brownell, Mark Brown, ian

Hi,

This is again a set of patches to unify the management of clocks and
allow easy registration and unregistration of them. This is neccessary
to cleanly support such devices as toshiba mobile companion chips,
sa1111 companion, etc. Also it brings code unification, especially for a
lot of arm sub-arches which share nearly the same code, etc.

This is the "version 3" approach. Given the negative response to
kobjects, I've redesigned it to use plain krefs.

Debugfs support is merged into main clocklib patch. Documentation
for it's interface will come later. For now it provides tree structure
with single file per each clock directory.

-- 
With best wishes
Dmitry


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2008-07-04  9:18 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 15:49 [PATCH 0/3] Clocklib: generic clocks framework Dmitry Baryshkov
2008-03-26 15:52 ` [PATCH 1/3] Clocklib: add generic framework for managing clocks Dmitry Baryshkov
2008-03-26 16:04   ` Haavard Skinnemoen
2008-03-26 16:14     ` Paul Mundt
2008-03-26 17:04       ` Dmitry
2008-03-26 20:09       ` Russell King
2008-03-26 16:52     ` Dmitry
2008-03-26 17:44       ` Paul Mundt
2008-03-27  9:52         ` Dmitry
2008-03-26 17:44       ` Juergen Beisert
2008-03-27  9:06       ` Haavard Skinnemoen
2008-03-27  9:18         ` Russell King
2008-03-27  9:26           ` Haavard Skinnemoen
2008-03-27  9:33             ` Russell King
2008-03-27  9:50               ` Paul Mundt
2008-03-27  9:53               ` Haavard Skinnemoen
2008-03-27 10:08                 ` Dmitry
2008-03-27 10:20                   ` Haavard Skinnemoen
2008-03-27 13:33                     ` Dmitry
2008-03-27  9:29           ` pHilipp Zabel
2008-03-27  9:36             ` Russell King
2008-03-28 14:23     ` Pavel Machek
2008-03-29 12:36       ` Haavard Skinnemoen
2008-03-26 15:52 ` [PATCH 2/3] Clocklib: debugfs support Dmitry Baryshkov
2008-03-26 15:53 ` [PATCH 3/3] Clocklib: support sa1100 sub-arch Dmitry Baryshkov
2008-03-26 16:17 ` [PATCH 4/4] Clocklib: support ARM pxa sub-arch Dmitry Baryshkov
  -- strict thread matches above, loose matches on Subject: below --
2008-06-26 12:50 [PATCH 0/3] Clocklib: generic framework for clocks managing [v3] Dmitry Baryshkov
2008-06-26 12:51 ` [PATCH 1/3] Clocklib: add generic framework for managing clocks Dmitry Baryshkov
2008-06-26 15:00   ` pHilipp Zabel
2008-06-26 15:03     ` Dmitry Baryshkov
2008-07-03 20:31   ` Ben Dooks
2008-07-04  8:44     ` Pavel Machek
2008-07-04  9:04     ` Dmitry Baryshkov
2008-07-04  9:12       ` Haavard Skinnemoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox