linux/drivers/clk/meson
Jerome Brunet 8289aafa4f clk: meson: improve pll driver results with frac
Finding the appropriate settings of meson plls is too tricky to be done
entirely at runtime, using calculation only. Many combination of m, n
and od won't lock which is why we are using a table for this.  However,
for plls having a fractional parameters, it is possible to improve on
the result provided by the table by calculating the frac parameter.

This change adds the calculation of frac when the parameter is available
and the rate provided by the table is not an exact match for the
requested rate.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2018-03-13 10:09:45 +01:00
..
axg.c clk: meson: remove special gp0 lock loop 2018-03-13 10:09:38 +01:00
axg.h clk: meson: split divider and gate part of mpll 2018-03-13 10:04:03 +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-mpll.c clk: meson: split divider and gate part of mpll 2018-03-13 10:04:03 +01:00
clk-pll.c clk: meson: improve pll driver results with frac 2018-03-13 10:09:45 +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: improve pll driver results with frac 2018-03-13 10:09:45 +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: remove special gp0 lock loop 2018-03-13 10:09:38 +01:00
gxbb.h clk: meson: split divider and gate part of mpll 2018-03-13 10:04:03 +01:00
Kconfig clk: meson: use hhi syscon if available 2018-03-13 10:04:04 +01:00
Makefile clk: meson: remove obsolete cpu_clk 2018-03-13 10:04:04 +01:00
meson8b.c clk: meson: add fractional part of meson8b fixed_pll 2018-03-13 10:09:33 +01:00
meson8b.h clk: meson: rework meson8b cpu clock 2018-03-13 10:04:03 +01:00