linux-brain/drivers/clk/meson
Jerome Brunet 3858b47c94 clk: meson: g12a: fix gp0 and hifi ranges
[ Upstream commit bc794f8c56abddf709f1f84fcb2a3c9e7d9cc9b4 ]

While some SoC samples are able to lock with a PLL factor of 55, others
samples can't. ATM, a minimum of 60 appears to work on all the samples
I have tried.

Even with 60, it sometimes takes a long time for the PLL to eventually
lock. The documentation says that the minimum rate of these PLLs DCO
should be 3GHz, a factor of 125. Let's use that to be on the safe side.

With factor range changed, the PLL seems to lock quickly (enough) so far.
It is still unclear if the range was the only reason for the delay.

Fixes: 085a4ea93d ("clk: meson: g12a: add peripheral clock controller")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210429090325.60970-1-jbrunet@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:26 +02:00
..
Kconfig clk: meson: Kconfig: fix dependency for G12A 2020-12-30 11:51:11 +01:00
Makefile clk: meson: add g12a cpu dynamic divider driver 2019-08-09 12:10:03 +02:00
axg-aoclk.c clk: meson: axg-aoclk: migrate to the new parent description method 2019-07-29 12:42:48 +02: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: axg-audio: fix regmap last register 2020-01-17 19:48:48 +01:00
axg-audio.h clk: meson: axg-audio: add g12a reset support 2019-08-20 11:51:36 +02:00
axg.c clk: meson: clk-regmap: migrate to new parent description method 2019-07-29 12:42:49 +02:00
axg.h clk: meson: clk-pll: remove od parameters 2018-09-26 12:01:57 +02:00
clk-cpu-dyndiv.c clk: meson: add g12a cpu dynamic divider driver 2019-08-09 12:10:03 +02:00
clk-cpu-dyndiv.h clk: meson: add g12a cpu dynamic divider driver 2019-08-09 12:10:03 +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-mpll.c clk: meson: mpll: add init callback and regs 2019-05-20 12:19:29 +02:00
clk-mpll.h clk: meson: mpll: add init callback and regs 2019-05-20 12:19:29 +02: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: clk-pll: propagate the error from meson_clk_pll_set_rate() 2021-03-04 10:26:26 +01:00
clk-pll.h clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL 2019-04-01 10:45:11 +02:00
clk-regmap.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-regmap.h clk: meson: clk-regmap: migrate to new parent description method 2019-07-29 12:42:49 +02:00
g12a-aoclk.c clk: meson: g12a-aoclk: migrate to the new parent description method 2019-07-29 12:42:48 +02:00
g12a-aoclk.h dt-bindings: clock: g12a-aoclk: expose CLKID_AO_CTS_OSCIN 2019-04-01 10:45:11 +02:00
g12a.c clk: meson: g12a: fix gp0 and hifi ranges 2021-07-14 16:53:26 +02:00
g12a.h clk: meson: g12a: add support for SM1 CPU 1, 2 & 3 clocks 2019-08-26 11:04:54 +02:00
gxbb-aoclk.c clk: meson: gxbb-aoclk: migrate to the new parent description method 2019-07-29 12:42:48 +02: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: gxbb: let sar_adc_clk_div set the parent clock rate 2019-10-01 14:46:30 +02:00
gxbb.h dt-bindings: clk: meson-gxbb: Add Video clock bindings 2018-11-23 15:11:56 +01:00
meson-aoclk.c clk: meson: remove ao input bypass clocks 2019-07-29 12:42:48 +02:00
meson-aoclk.h clk: meson: remove ao input bypass clocks 2019-07-29 12:42:48 +02:00
meson-eeclk.c clk: meson: remove ee input bypass clocks 2019-07-29 12:42:49 +02:00
meson-eeclk.h clk: meson: remove ee input bypass clocks 2019-07-29 12:42:49 +02:00
meson8b.c clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers 2020-06-24 17:50:23 +02:00
meson8b.h clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers 2020-06-24 17:50:23 +02: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: vid-pll-div: remove warning and return 0 on invalid config 2019-03-29 09:41:30 +01:00
vid-pll-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00