[lkml]   [2011]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v4 0/6] common clk framework
From: Mike Turquette <>

The common clk framework is an attempt to define a generic struct clk
which most platforms can use to build a clk tree and perform a set of
well-defined operations.

The previous patchset, v3, can be found at,

New stuff in v4:
* clk rate change notifiers
* clk debug info via debugfs (instead of sysfs)
* lots of bug fixes

Stuff that is known to be missing in v4:
* basic mux and divider clk types
* fix for migrating clk_prepare_count/clk_enable_count in
* minor rework comments from v3
* Documentation/clk.txt needs love

All of the mising items above will be rolled into v5 ASAP. I wanted to
go ahead and push out the new notifier changes for review and gather
comments on those since those were a big gap in the v3 patchset.

Paul W. also had some good comments about the greater clk API, and the
opportunity to fix some of that stuff while this patchset is still under
discussion. I didn't address those here because they require more
thought, and more comments from reviewers.

Finally, OMAP4 support for the common struct clk will be posted
immediately after this patch series to LAKML and LOML, along with some
hack patches that show how to use the recursive clk_set_rate for
propagating rate changes up the tree for CPUfreq and how to use the new
clk rate change notifiers in a driver.

Mike Turquette (6):
clk: Kconfig: add entry for HAVE_CLK_PREPARE
Documentation: common clk API
clk: introduce the common clock framework
clk: introduce rate change notifiers
clk: basic gateable and fixed-rate clks
clk: export the clk tree topology to debugfs

Documentation/clk.txt | 312 +++++++++++++++
drivers/clk/Kconfig | 23 ++
drivers/clk/Makefile | 4 +-
drivers/clk/clk-basic.c | 208 ++++++++++
drivers/clk/clk.c | 992 +++++++++++++++++++++++++++++++++++++++++++++++
include/linux/clk.h | 230 +++++++++++-
6 files changed, 1765 insertions(+), 4 deletions(-)
create mode 100644 Documentation/clk.txt
create mode 100644 drivers/clk/clk-basic.c
create mode 100644 drivers/clk/clk.c


 \ /
  Last update: 2011-12-14 05:01    [W:0.147 / U:1.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site