watchdog: Add support for K3 RTI watchdog
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 23 Jun 2020 11:15:08 +0000 (13:15 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 11 Aug 2020 04:48:27 +0000 (10:18 +0530)
commitd388f360edacf6292a5ee7a37474799a3fe9f2ac
treefd4bd44c0b608450e669d6d9738bd9c29e588a35
parentc045207f96f7f7ae8c7f1341111a6010e636176b
watchdog: Add support for K3 RTI watchdog

This is based on the Linux kernel driver for the RTI watchdog.

To actually reset the system on an AM65x, it requires firmware running
on the R5 that accepts the NMI and issues the actual system reset via
TISCI. Kind of an iTCO, except that this watchdog hardware has support
for no-way-out, and only for that.

On the J721E, reset works without extra firmware help when routing the
RTI interrupt via the ESM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/rti_wdt.c [new file with mode: 0644]