]> git.baikalelectronics.ru Git - kernel.git/commit
clk: si5341: Check for input clock presence and PLL lock on startup
authorRobert Hancock <robert.hancock@calian.com>
Thu, 25 Mar 2021 19:26:38 +0000 (13:26 -0600)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 02:58:14 +0000 (19:58 -0700)
commit36065705cd612753bf808389b94252cfef392a80
treea7e58904df3b046dbbe617fe879b8eaa60291ec7
parent7b8ccf024b909db5277ec20d59e000413257b04d
clk: si5341: Check for input clock presence and PLL lock on startup

After initializing the device, wait for it to report that the input
clock is present and the PLL has locked before declaring success.

Fixes: 10c619dadb ("clk: Add Si5341/Si5340 driver")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20210325192643.2190069-5-robert.hancock@calian.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-si5341.c