mbox series

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

Message ID 20180219112146.21746-1-jbrunet@baylibre.com
Headers show
Series clk: meson: second round of updates | expand

Message

Jerome Brunet Feb. 19, 2018, 11:21 a.m. UTC
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@baylibre.com
[1]: https://lkml.kernel.org/r/20180214134340.17242-5-jbrunet@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(-)

-- 
2.14.3

Comments

Neil Armstrong March 12, 2018, 10:22 a.m. UTC | #1
On 19/02/2018 12:21, Jerome Brunet wrote:
> 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@baylibre.com

> [1]: https://lkml.kernel.org/r/20180214134340.17242-5-jbrunet@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(-)

> 


Tested on Odroid-C2 & LibreTech-CC,

Applied to meson's next/drivers tree.

Neil