arm: mach-k3: am64x: Implement get_reset_reason()
authorSteffen Kothe <steffen.kothe@skothe.net>
Sun, 31 Aug 2025 15:17:06 +0000 (15:17 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 12 Sep 2025 18:30:08 +0000 (12:30 -0600)
commit3d9bd76b07fa2e3de167f6d8916bcb6cce6484af
treefc82588d09ffb3959f80f2514920b12b87feb310
parent49a3ad7a5e6aa9333c2685e98f6280ff4ae3650a
arm: mach-k3: am64x: Implement get_reset_reason()

Implement get_reset_reason() for AM64x to enable reporting of the reset
cause in the cpuinfo output.

Notice that the AM64x does not support dedicated reset cause bits for
WDT and PORZ as the AM62x does.

An explanation of this difference is not part of the technical reference
manual and remains unclear.

Signed-off-by: Steffen Kothe <steffen.kothe@skothe.net>
Reviewed-by: Bryan Brattlof <bb@ti.com>
arch/arm/mach-k3/am64x/boot.c