Thread (4 messages) 4 messages, 1 author, 2014-12-02
STALE4214d
Revisions (24)
  1. v4 [diff vs current]
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]
  6. v8 [diff vs current]
  7. v9 [diff vs current]
  8. v10 [diff vs current]
  9. v11 [diff vs current]
  10. v12 [diff vs current]
  11. v13 [diff vs current]
  12. v1 [diff vs current]
  13. v2 [diff vs current]
  14. v3 [diff vs current]
  15. v4 [diff vs current]
  16. v5 [diff vs current]
  17. v6 [diff vs current]
  18. v7 current
  19. v8 [diff vs current]
  20. v9 [diff vs current]
  21. v10 [diff vs current]
  22. v11 [diff vs current]
  23. v12 [diff vs current]
  24. v13 [diff vs current]

[PATCH v7 0/7] Per-user clock constraints

From: Tomeu Vizoso <hidden>
Date: 2014-12-02 07:56:04
Also in: linux-mips, linux-omap, lkml

Hello,

this seventh version of the series has added just a few fixes for new
implementations in linux-next of the determine_rate callback.

A rough test module was used to test this:

http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=per-user-clk-constraints-v7&id=3d87d46d98f74b6f53eadf0d28785a3cd85c2178

The first five 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 sixth 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 seventh 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 linux-next 20141201.

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

Thanks,

Tomeu

Tomeu Vizoso (7):
  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                   |   4 +-
 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/arm/mach-omap2/dpll3xxx.c          |   8 +-
 arch/arm/mach-omap2/dpll44xx.c          |   8 +-
 arch/mips/alchemy/common/clock.c        |  18 +-
 drivers/clk/at91/clk-programmable.c     |   6 +-
 drivers/clk/bcm/clk-kona.c              |   6 +-
 drivers/clk/clk-composite.c             |  18 +-
 drivers/clk/clk.c                       | 807 +++++++++++++++++++++-----------
 drivers/clk/clk.h                       |   5 +
 drivers/clk/clkdev.c                    |  80 +++-
 drivers/clk/hisilicon/clk-hi3620.c      |   4 +-
 drivers/clk/mmp/clk-mix.c               |   6 +-
 drivers/clk/qcom/clk-pll.c              |   3 +-
 drivers/clk/qcom/clk-rcg.c              |  30 +-
 drivers/clk/qcom/clk-rcg2.c             |  34 +-
 drivers/clk/sunxi/clk-factors.c         |   6 +-
 drivers/clk/sunxi/clk-sun6i-ar100.c     |   6 +-
 include/linux/clk-private.h             |  41 +-
 include/linux/clk-provider.h            |  26 +-
 include/linux/clk.h                     |  28 ++
 include/linux/clk/ti.h                  |   8 +-
 24 files changed, 873 insertions(+), 403 deletions(-)

-- 
1.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help