]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: ti-k3: Add support to resume from IO DDR low power mode
authorAkashdeep Kaur <a-kaur@ti.com>
Fri, 13 Mar 2026 11:17:40 +0000 (16:47 +0530)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 12 Apr 2026 20:51:31 +0000 (22:51 +0200)
commit0e9b12ee74c57617bb362deb3c82e35fe49694b5
tree0462f7822d8c1c50f10976bfaf5b60ee467854f4
parente9f850ba66cdf6b77fb4f005e46c4b605c4de434
rtc: ti-k3: Add support to resume from IO DDR low power mode

Restore the RTC HW context which may be lost when system enters
certain low power mode (IO+DDR mode).
Check if the RTC registers are locked which would indicate loss of
context (reset) and restore the context as needed.

Signed-off-by: Akashdeep Kaur <a-kaur@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://patch.msgid.link/20260313111740.1492519-1-a-kaur@ti.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ti-k3.c