]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: m41t93: Add watchdog support
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Sat, 20 Sep 2025 15:03:34 +0000 (20:33 +0530)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 24 Jun 2026 21:12:11 +0000 (23:12 +0200)
commit15ec2ce19962b61576c8bf25bc129fc61a653c2e
treefdd98fca559a8ac14cc8d34c6a266bc44b699d2d
parent5cb6816cd81b21246f45fe9803efdc21576574e3
rtc: m41t93: Add watchdog support

Implement watchdog feature for m41t93 rtc with 1s resolution.
Implement alarm only support (WDIOF_ALARMONLY) in this commit.
Define start, stop, ping, and set_timeout callbacks as needed
by the watchdog framework.

Use selftests/watchdog/watchdog-test kselftest for testing.
Observed IRQ pin(12) of rtc chip going low after late pinging
the watchdog.

Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Link: https://patch.msgid.link/77c2e9f4ab0811a919595d7a5476b00abd1c2803.1758379856.git.akhilesh@ee.iitb.ac.in
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m41t93.c