clk: si570: Skip NVM to RAM recall operation if an optional property is set
authorSaeed Nowshadi <saeed.nowshadi@xilinx.com>
Fri, 5 Feb 2021 03:35:04 +0000 (19:35 -0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Feb 2021 20:13:50 +0000 (12:13 -0800)
commitd9d4944d36e804b4cc1a513198e637b67aa93831
tree9734352a5ae412897897663997c11ee276446db6
parent3dff4becef2d98cf8268267b53b9649e66177383
clk: si570: Skip NVM to RAM recall operation if an optional property is set

Recalling NVM data into RAM during probe() initiates a re-calibration of
the clock. If the clock is already in-use, the recall operation can cause
a glitch on the frequency out. At power on, the factory data are loaded
from NVM into RAM by default. If the clock frequency has been changed
since power on, the recall operation can be used to re-initialize the clock
to factory setting.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
Link: https://lore.kernel.org/r/1612496104-3437-3-git-send-email-saeed.nowshadi@xilinx.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-si570.c