commit | c2f7fdc5d670a4a53cfe6b02e37989f2a778dbd5 | [log] [tgz] |
---|---|---|
author | Dario Binacchi <dariobin@libero.it> | Wed Jun 02 22:38:02 2021 +0200 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Wed Jun 09 22:23:44 2021 +0530 |
tree | ddad8ca0d3ae0935c932acc70bd95b6bb349f04d | |
parent | 64a7a687d125e0bdef6afa0246463907d88e4a18 [diff] |
rtc: davinci: use unlock/lock mechanism The RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. To set the time, you must first unlock the TC registers, update them and then lock. Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Link: https://lore.kernel.org/r/20210602203805.11494-6-dariobin@libero.it