diff options
| author | Jerome Brunet <[email protected]> | 2018-02-12 15:58:42 +0100 | 
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2018-03-13 10:04:03 +0100 | 
| commit | 722825dcd54b2e427c1aee54a7992eb4ab04a49d (patch) | |
| tree | 5abe9c46643a0681d86e24f214816a8ffb911fa3 /tools/perf/scripts/python | |
| parent | 88a4e1283681e0f07048b2bd867cc81fbbae57cc (diff) | |
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 <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions