clk: meson: pll: add pcie lock retry workaround
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 14 Aug 2022 21:25:31 +0000 (23:25 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 8 Nov 2022 16:05:02 +0000 (17:05 +0100)
commitd73406ed2dcfab7d25493ff3a62dd57f0d9c2bf2
tree79ee0e88858d7c3784e8fe6bd1982827fdfd3622
parent19648dddb14bdb722e83ab1dc8a54525c9846600
clk: meson: pll: add pcie lock retry workaround

The PCIe PLL locking may be unreliable under some circumstance, such as
high or low temperature. If the PLL fails to lock, reset it a try again.

This helps on the S905X4

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
[commit message amend]
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/cc80cda0-4dda-2e3e-3fc8-afa97717479b@gmail.com
drivers/clk/meson/clk-pll.c