commit | c7c7c8db00ace48f538f4b51d606cd6e4f537df1 | [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 | 79250ef3e263ef23c16c3c06a50834f0dcca4426 [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