Skip to content

clk: meson: second round of updates

Jerome Brunet linux-amlogic linux-clk lkml 1 version Applied

Status from this message: Applied to meson's next/drivers tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11clk: meson: add fractional part of meson8b fixed_plldrivers/clk/meson/meson8b.c+5 -00 replies
2/11clk: meson: poke pll CNTL lastdrivers/clk/meson/axg.c drivers/clk/meson/gxbb.c+3 -30 replies
3/11clk: meson: remove special gp0 lock loopdrivers/clk/meson/axg.c drivers/clk/meson/clk-pll.c drivers/clk/meson/clkc.h +1 more+1 -150 replies
4/11clk: meson: improve pll driver results with fracdrivers/clk/meson/clk-pll.c drivers/clk/meson/clkc.h+91 -590 replies
5/11clk: meson: add gp0 frac parameter for axg and gxldrivers/clk/meson/axg.c drivers/clk/meson/gxbb.c+12 -20 replies
6/11clk: meson: add ROUND_CLOSEST to the pll driverdrivers/clk/meson/clk-pll.c drivers/clk/meson/clkc.h+15 -40 replies
7/11clk: meson: axg: add hifi clock bindingsinclude/dt-bindings/clock/axg-clkc.h+1 -00 replies
8/11clk: meson: axg: add hifi pll clockdrivers/clk/meson/axg.c drivers/clk/meson/axg.h+56 -10 replies
9/11clk: meson: add mpll pre-dividerdrivers/clk/meson/axg.c drivers/clk/meson/axg.h drivers/clk/meson/gxbb.c +3 more+65 -130 replies
10/11clk: meson: add fdiv clock gatesdrivers/clk/meson/axg.c drivers/clk/meson/axg.h drivers/clk/meson/gxbb.c +3 more+278 -330 replies
11/11clk: meson: clean-up clk81 clocksdrivers/clk/meson/gxbb.c drivers/clk/meson/meson8b.c+4 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] clk: meson: second round of updates

This changeset applies on top of the previous updates series available here [0].

Most of the changes proposed here are related to the plls of meson SoCs. Details can be found in each patches but, in nutshell, there is :
* a bit of clean-up,
* improved pll capabilities using the frac parameter,
* several clocks added to model the tree more accurately.

Beware: patch #10 depends on this core clock framework fix: [1] As explained in the description on the patch, if the gates are added w/o this fix, the system will crash when clk_disable_unused() is called.

[0]: https://lkml.kernel.org/r/20180212145846.19380-1-jbrunet at baylibre.com [1]: https://lkml.kernel.org/r/20180214134340.17242-5-jbrunet at baylibre.com

Jerome Brunet (11):
clk: meson: add fractional part of meson8b fixed_pll
clk: meson: poke pll CNTL last
clk: meson: remove special gp0 lock loop
clk: meson: improve pll driver results with frac
clk: meson: add gp0 frac parameter for axg and gxl
clk: meson: add ROUND_CLOSEST to the pll driver
clk: meson: axg: add hifi clock bindings
clk: meson: axg: add hifi pll clock
clk: meson: add mpll pre-divider
clk: meson: add fdiv clock gates
clk: meson: clean-up clk81 clocks

 drivers/clk/meson/axg.c              | 184 +++++++++++++++++++++++++++++++----
 drivers/clk/meson/axg.h              |   8 +-
 drivers/clk/meson/clk-pll.c          | 154 ++++++++++++++++++-----------
 drivers/clk/meson/clkc.h             |  15 +--
 drivers/clk/meson/gxbb.c             | 141 +++++++++++++++++++++++----
 drivers/clk/meson/gxbb.h             |  10 +-
 drivers/clk/meson/meson8b.c          | 128 ++++++++++++++++++++----
 drivers/clk/meson/meson8b.h          |   8 +-
 include/dt-bindings/clock/axg-clkc.h |   1 +
 9 files changed, 521 insertions(+), 128 deletions(-)
Signature · 1 line
2.14.3