All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/8] Per-user clock constraints
@ 2014-10-20 13:40 ` Tomeu Vizoso
  0 siblings, 0 replies; 16+ messages in thread
From: Tomeu Vizoso @ 2014-10-20 13:40 UTC (permalink / raw)
  To: Mike Turquette
  Cc: Javier Martinez Canillas, Stephen Boyd, Tomeu Vizoso, Alex Elder,
	Arnd Bergmann, Haojian Zhuang, linux-arm-kernel, linux-doc,
	linux-kernel, linux-mips, linux-omap, Manuel Lauss, Matt Porter,
	Ralf Baechle, Tim Kryger, Zhangfei Gao

Hello,

this fourth version of the series is mainly intended to address many good
comments from Stephen Boyd, most notably:

* Make sure that best_parent_p is populated with the current parent before
calling clk_ops.determine_rate()

* Make sure we don't lose information about the caller in of_clk_get_*

* Refresh the effective rate after a per-user clk is removed

* Store requested rate and re-apply it when constraints are updated

The first six patches are just cleanups that should be desirable on their own,
and that should make easier to review the actual per-user clock patch.

The seventh patch actually moves the per-clock data that was stored in struct
clk to a new struct clk_core and adds references to it from both struct clk and
struct clk_hw. struct clk is now ready to contain information that is specific
to a given clk consumer.

The eighth patch adds API for setting floor and ceiling constraints and stores
that information on the per-user struct clk, which is iterable from struct
clk_core.

They are based on top of 3.18-rc1.

http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v4

Thanks,

Tomeu

Tomeu Vizoso (8):
  MIPS: Alchemy: Remove direct access to prepare_count field of struct
    clk
  clk: Remove unused function __clk_get_prepare_count
  clk: Don't try to use a struct clk* after it could have been freed
  clk: Don't expose __clk_get_accuracy
  clk: change clk_debugfs_add_file to take a struct clk_hw
  clk: Change clk_ops->determine_rate to return a clk_hw as the best
    parent
  clk: Make clk API return per-user struct clk instances
  clk: Add floor and ceiling constraints to clock rates

 Documentation/clk.txt                   |   2 +-
 arch/arm/mach-omap2/cclock3xxx_data.c   | 108 +++--
 arch/arm/mach-omap2/clock.h             |  11 +-
 arch/arm/mach-omap2/clock_common_data.c |   5 +-
 arch/mips/alchemy/common/clock.c        |  17 +-
 drivers/clk/at91/clk-programmable.c     |   4 +-
 drivers/clk/bcm/clk-kona.c              |   4 +-
 drivers/clk/clk-composite.c             |   9 +-
 drivers/clk/clk.c                       | 788 +++++++++++++++++++++-----------
 drivers/clk/clk.h                       |   5 +
 drivers/clk/clkdev.c                    |  73 ++-
 drivers/clk/hisilicon/clk-hi3620.c      |   2 +-
 drivers/clk/qcom/clk-rcg.c              |  20 +-
 drivers/clk/qcom/clk-rcg2.c             |  28 +-
 drivers/clk/sunxi/clk-factors.c         |   4 +-
 drivers/clk/sunxi/clk-sun6i-ar100.c     |   4 +-
 include/linux/clk-private.h             |  41 +-
 include/linux/clk-provider.h            |  17 +-
 include/linux/clk.h                     |  18 +
 19 files changed, 771 insertions(+), 389 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-10-25 12:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 13:40 [PATCH v4 0/8] Per-user clock constraints Tomeu Vizoso
2014-10-20 13:40 ` Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 1/8] MIPS: Alchemy: Remove direct access to prepare_count field of struct clk Tomeu Vizoso
2014-10-25 12:59   ` Ralf Baechle
2014-10-20 13:40 ` [PATCH v4 2/8] clk: Remove unused function __clk_get_prepare_count Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 3/8] clk: Don't try to use a struct clk* after it could have been freed Tomeu Vizoso
2014-10-21 18:31   ` Stephen Boyd
2014-10-20 13:40 ` [PATCH v4 4/8] clk: Don't expose __clk_get_accuracy Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 5/8] clk: change clk_debugfs_add_file to take a struct clk_hw Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 6/8] clk: Change clk_ops->determine_rate to return a clk_hw as the best parent Tomeu Vizoso
2014-10-20 13:40   ` Tomeu Vizoso
2014-10-21 21:33   ` Stephen Boyd
2014-10-21 21:33     ` Stephen Boyd
2014-10-20 13:40 ` [PATCH v4 7/8] clk: Make clk API return per-user struct clk instances Tomeu Vizoso
2014-10-20 13:40   ` Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 8/8] clk: Add floor and ceiling constraints to clock rates Tomeu Vizoso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.