Skip to content
Commit f2c5671a authored by Bryan Brattlof's avatar Bryan Brattlof Committed by Alexandre Belloni
Browse files

rtc: k3: wait until the unlock field is not zero



After writing the magic words to the KICK0 and KICK1 registers, we must
wait for a 1 in the unlock field of the general control register to
signify when the rtc device is in an unlocked state.

Signed-off-by: default avatarBryan Brattlof <bb@ti.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220816173312.23243-1-bb@ti.com
parent 07ae9278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment