]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: k3_esm: Add functionality to set and route error events within K3SoC
authorHari Nagalla <hnagalla@ti.com>
Wed, 9 Mar 2022 20:42:28 +0000 (14:42 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 4 Apr 2022 23:02:04 +0000 (19:02 -0400)
commit162a6f53a175e89a2a7ec8d42a2ef10d246be4e2
treed01dd60be468fd3027e4ba49ee28d37bd429c763
parentd5c4ec4aa3aaa833cb535daa64a583a14304fc95
misc: k3_esm: Add functionality to set and route error events within K3SoC

Add functionality to enable, set priority to the input events and to
route to MCU ESM. On AM64x/AM62x devices, it is possible to route Main
ESM0 error events to MCU ESM. When these error events are routed to MCU
ESM high output, it can trigger the reset logic to reset the device,
when CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.

K3 based J7 devices (ex: J721e) also have ESM modules, and the changes
to the driver does not impact those devices.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/misc/k3_esm.c