linux_dsm_epyc7002/drivers/clk/meson
Jerome Brunet 8eed1db1ad clk: meson: pll: update driver for the g12a
The g12a use fractional parameter of 17 useful bits. At the moment, this
parameter in encoded using u16 value. Use this opportunity to switch all
the pll to parameter to unsigned int. This should save us some annoying
trouble shooting when and m and n field eventually grow as well.

This patch also introduce pll multiplier range. On the g12a, the hifi and
gp0 plls are able to lock as long as the following condition is met:
55 <= m/n <= 255.

The param table describing this would be huge which is a waste of memory.
Using ranges, we can save memory. Ranges also help find the best pll
parameter significantly faster since we don't have to try all the possible
settings.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[jbrunet: fixed fix pll settings calculation with arm32]
Link: https://lkml.kernel.org/r/20190201145345.6795-2-jbrunet@baylibre.com
2019-02-04 09:51:37 +01:00
..
axg-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-aoclk.h clk: meson: axg-ao: add 32k generation subtree 2019-01-07 15:21:43 +01:00
axg-audio.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-audio.h clk: meson: axg: add the audio clock controller driver 2018-07-09 13:48:26 +02:00
axg.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg.h clk: meson: clk-pll: remove od parameters 2018-09-26 12:01:57 +02:00
clk-dualdiv.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-dualdiv.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-pll.c clk: meson: pll: update driver for the g12a 2019-02-04 09:51:37 +01:00
clk-pll.h clk: meson: pll: update driver for the g12a 2019-02-04 09:51:37 +01:00
clk-regmap.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-regmap.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
gxbb-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
gxbb-aoclk.h clk: meson: gxbb-ao: replace cec-32k with the dual divider 2019-01-07 15:21:22 +01:00
gxbb.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
gxbb.h dt-bindings: clk: meson-gxbb: Add Video clock bindings 2018-11-23 15:11:56 +01:00
Kconfig clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
Makefile clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson8b.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson8b.h clk: meson: meson8b: add the GPU clock tree 2019-01-07 15:35:13 +01:00
meson-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson-aoclk.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
parm.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00