clk: si5341: Update initialization magic
authorRobert Hancock <robert.hancock@calian.com>
Thu, 25 Mar 2021 19:26:39 +0000 (13:26 -0600)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 02:58:14 +0000 (19:58 -0700)
commit3c9b49b0031aefb81adfdba5ab0ddf3ca3a2cdc9
tree75ba5227f61ee77c0f93a314e9e023ced0948aa8
parent71dcc4d1f7d2ad97ff7ab831281bc6893ff713a2
clk: si5341: Update initialization magic

Update the default register settings to include the VCO_RESET_CALCODE
settings (set by the SiLabs ClockBuilder software but not described in
the datasheet). Also update part of the initialization sequence to match
ClockBuilder and the datasheet.

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