mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Support round phase stuff for clock driver
@ 2016-02-26  5:08 Shawn Lin
  2016-02-26  5:08 ` [RFC PATCH 1/3] clk: add clk_round_phase support Shawn Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shawn Lin @ 2016-02-26  5:08 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette; +Cc: linux-kernel, linux-clk, Shawn Lin


clk_set_phase is probably most used for sample tuning stuff, and
the caller will check whether finding a good degree or not to decide
how to implement the algorithm for catching the best sample window. Not
all of the phases are supportted by clock phase generator. So the drivers
which call clk_set_phase may result in setting the phase which is not
requestted, which will fininally makes the tuning result different.
Especially for the cross-platform drivers, they can be used for different
Socs, so it must care the actual phase supported by different clock phase
generators.

This RFC patchset introduces new API for phase stuff which parallels rate stuff
to meet the requirement.

Based on tag of v4.5-rc5
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git



Shawn Lin (3):
  clk: add clk_round_phase support
  clk: add clk_hw_set_phase_range support
  Documentation: clk: Add clk phase callback comments

 Documentation/clk.txt        |   5 ++
 drivers/clk/clk.c            | 147 ++++++++++++++++++++++++++++++++++++++++---
 include/linux/clk-provider.h |  23 ++++++-
 include/linux/clk.h          |  23 +++++++
 4 files changed, 187 insertions(+), 11 deletions(-)

-- 
2.3.7

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

end of thread, other threads:[~2016-02-26  5:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26  5:08 [RFC PATCH 0/3] Support round phase stuff for clock driver Shawn Lin
2016-02-26  5:08 ` [RFC PATCH 1/3] clk: add clk_round_phase support Shawn Lin
2016-02-26  5:08 ` [RFC PATCH 2/3] clk: add clk_hw_set_phase_range support Shawn Lin
2016-02-26  5:09 ` [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments Shawn Lin

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

all inboxes | Powered by JetHome®