linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] clk: rockchip: cleanup some code duplication
@ 2016-04-28 13:11 Heiko Stuebner
  2016-04-28 13:11 ` [PATCH 1/7] clk: rockchip: lookup General Register Files in rockchip_clk_init Heiko Stuebner
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Heiko Stuebner @ 2016-04-28 13:11 UTC (permalink / raw)
  To: mturquette, sboyd; +Cc: linux-clk, linux-rockchip, Heiko Stuebner

This tries to generalize code paths that contain some (nearly)
duplicate code. While it's only a bit noticeable now for 3 different
plls, the effect should be more pronounced when the next pll-type
shows up.


Heiko Stuebner (7):
  clk: rockchip: lookup General Register Files in rockchip_clk_init
  clk: rockchip: simplify GRF handling in pll clocks
  clk: rockchip: drop old_rate calculation on pll rate changes
  clk: rockchip: abstract pll get-params and set-params operations
  clk: rockchip: generalize pll set-rate operation
  clk: rockchip: move pll rate-comparison into a callable function
  clk: rockchip: fold pll init functions into one common one

 drivers/clk/rockchip/clk-pll.c | 329 ++++++++++++++++-------------------------
 drivers/clk/rockchip/clk.c     |  10 +-
 drivers/clk/rockchip/clk.h     |   1 -
 3 files changed, 131 insertions(+), 209 deletions(-)

-- 
2.6.4

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

end of thread, other threads:[~2016-05-09 23:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 13:11 [PATCH 0/7] clk: rockchip: cleanup some code duplication Heiko Stuebner
2016-04-28 13:11 ` [PATCH 1/7] clk: rockchip: lookup General Register Files in rockchip_clk_init Heiko Stuebner
2016-04-28 13:11 ` [PATCH 2/7] clk: rockchip: simplify GRF handling in pll clocks Heiko Stuebner
2016-04-28 13:11 ` [PATCH 3/7] clk: rockchip: drop old_rate calculation on pll rate changes Heiko Stuebner
2016-04-28 13:11 ` [PATCH 4/7] clk: rockchip: abstract pll get-params and set-params operations Heiko Stuebner
2016-05-06 22:55   ` Stephen Boyd
2016-05-08 20:24     ` Heiko Stuebner
2016-05-09 23:03       ` Stephen Boyd
2016-04-28 13:11 ` [PATCH 5/7] clk: rockchip: generalize pll set-rate operation Heiko Stuebner
2016-04-28 13:11 ` [PATCH 6/7] clk: rockchip: move pll rate-comparison into a callable function Heiko Stuebner
2016-04-28 13:11 ` [PATCH 7/7] clk: rockchip: fold pll init functions into a common one Heiko Stuebner
2016-05-06 22:56 ` [PATCH 0/7] clk: rockchip: cleanup some code duplication Stephen Boyd
2016-05-09 14:28   ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).