]> git.baikalelectronics.ru Git - kernel.git/commit
clk: si5341: Update initialization magic
authorRobert Hancock <robert.hancock@calian.com>
Thu, 25 Mar 2021 19:26:39 +0000 (13:26 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:53:35 +0000 (16:53 +0200)
commitb98f34a4f412c7a2c90e164825a213f59602c737
tree109a8cc6d2cc4d9bd9b0c62075c08c651421c506
parent8ca89865785a9ea2b3b35ddca57b1d7109254bbd
clk: si5341: Update initialization magic

[ Upstream commit 3c9b49b0031aefb81adfdba5ab0ddf3ca3a2cdc9 ]

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: 10c619dadb ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/clk-si5341.c