lkml.org 
[lkml]   [2010]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[RFC,PATCH 0/7 v2] Common struct clk implementation
From
Date
Hi all,

These patches are an attempt to allow platforms to share clock code. At
present, the definitions of struct clk are local to platform code, which
makes allocating and initialising cross-platform clock sources
difficult.

The first two patches are for the architecture-independent kernel code,
introducing the common clk API. The remaining patches are specific to
the ARM 'versatile' and 'realview' platforms. I've included them in
this series to illustrate how the clock API is used, by using a generic
interface for the icst307 clock, and sharing it between realview and
versatile.

Ben Herrenschmidt is looking at using common struct clk code for powerpc
too, hence the kernel-wide approach.

Comments most welcome.

Cheers,


Jeremy

--
v2:
* no longer ARM-specific
* use clk_operations

---
Jeremy Kerr (7):
Add a common struct clk
Generic support for fixed-rate clocks
arm/versatile: use generic struct clk
arm/versatile: remove oscoff from clk_versatile
arm/realview: use generic struct clk
arm/icst307: use common struct clk, unify realview and versatile clocks
arm/icst307: remove icst307_ps_to_vco



\
 
 \ /
  Last update: 2010-01-12 08:01    [W:0.344 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site