Re: [PATCH v3 2/9] clk: si5341: Wait for DEVICE_READY on startup
From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-06-28 03:02:29
Also in:
linux-devicetree
From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-06-28 03:02:29
Also in:
linux-devicetree
Quoting Robert Hancock (2021-03-25 12:26:36)
The Si5341 datasheet warns that before accessing any other registers,
including the PAGE register, we need to wait for the DEVICE_READY register
to indicate the device is ready, or the process of the device loading its
state from NVM can be corrupted. Wait for DEVICE_READY on startup before
continuing initialization. This is done using a raw I2C register read
prior to setting up regmap to avoid any potential unwanted automatic PAGE
register accesses from regmap at this stage.
Fixes: 3044a860fd ("clk: Add Si5341/Si5340 driver")
Signed-off-by: Robert Hancock <redacted>
---Applied to clk-next