Am 31.10.2020 um 07:51 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi,
Am 31.10.2020 um 03:09 schrieb Michael Mrozek EvilDragon@openpandora.org:
Hi,
daveshah mentioned on IRC that the PALMAS has a watchdog that can reset the system in case the OMAP5 does a lock up.
Yes, I think it should be enabled.
Apparently, it was enabled on an older kernel or bootloader TI released for the uEVM, but it's not enabled in our current setup.
The problem is: In case the OMAP5 locks up, it can run at full power and run REALLY hot - which could damage the battery.
Does anyone know how to enable that watchdog?
It appears as if the ti,palmas-wdt driver did not arrive in mainline:
https://lore.kernel.org/patchwork/patch/367819/ https://lkml.org/lkml/2013/2/27/143
I have no idea why. Maybe ask Tony?
One more bit of info: there may be an issue with primary watchdog and suspend (in suspend there is no-one keeping the watchdog tiggered and it can't be disabled before entering suspend):
https://e2e.ti.com/support/legacy_forums/omap/f/849/t/219035
I am not sure if this is also the case with the twl6037/Palmas.