1
0
Fork 0
alistair23-linux/drivers/clk/meson
Jerome Brunet 722825dcd5 clk: meson: migrate plls clocks to clk_regmap
Rework meson pll driver to use clk_regmap and move meson8b, gxbb and
axg's clock using meson_clk_pll to clk_regmap.

This rework is not just about clk_regmap, there a serious clean-up of
the driver code:
* Add lock and reset field: Previously inferred from the n field.
* Simplify the reset logic: Code seemed to apply reset differently but
  in fact it was always the same -> assert reset, apply params,
  de-assert reset. The 2 lock checking loops have been kept for now, as
  they seem to be necessary.
* Do the sequence of init register pokes only at .init() instead of in
  .set_rate(). Redoing the init on every set_rate() is not necessary

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2018-03-13 10:04:03 +01:00
..
Kconfig clk: meson: migrate gates to clk_regmap 2018-03-13 10:04:00 +01:00
Makefile clk: meson: switch gxbb ao_clk to clk_regmap 2018-03-13 10:03:59 +01:00
axg.c clk: meson: migrate plls clocks to clk_regmap 2018-03-13 10:04:03 +01:00
axg.h clk: meson-axg: add clock controller drivers 2017-12-14 10:19:37 +01:00
clk-audio-divider.c clk: meson: migrate the audio divider clock to clk_regmap 2018-03-13 10:04:02 +01:00
clk-cpu.c clk: meson8b: clean up cpu clocks 2016-06-22 18:02:35 -07:00
clk-mpll.c clk: meson: migrate mplls clocks to clk_regmap 2018-03-13 10:04:02 +01:00
clk-pll.c clk: meson: migrate plls clocks to clk_regmap 2018-03-13 10:04:03 +01:00
clk-regmap.c clk: meson: add regmap clocks 2018-03-13 10:03:58 +01:00
clk-regmap.h clk: meson: add regmap clocks 2018-03-13 10:03:58 +01:00
clkc.h clk: meson: migrate plls clocks to clk_regmap 2018-03-13 10:04:03 +01:00
gxbb-aoclk-32k.c clk: meson: gxbb-aoclk: Add CEC 32k clock 2017-08-04 18:02:02 +02:00
gxbb-aoclk.c clk: meson: switch gxbb ao_clk to clk_regmap 2018-03-13 10:03:59 +01:00
gxbb-aoclk.h clk: meson: remove superseded aoclk_gate_regmap 2018-03-13 10:03:59 +01:00
gxbb.c clk: meson: migrate plls clocks to clk_regmap 2018-03-13 10:04:03 +01:00
gxbb.h clk: meson: fix rate calculation of plls with a fractional part 2018-02-12 09:49:23 +01:00
meson8b.c clk: meson: migrate plls clocks to clk_regmap 2018-03-13 10:04:03 +01:00
meson8b.h clk: meson: meson8b: register the built-in reset controller 2017-08-04 18:01:58 +02:00