arm: mach-k3: am62*_init: Probe ESM nodes
authorSanthosh Kumar K <s-k6@ti.com>
Wed, 29 Jan 2025 23:44:02 +0000 (17:44 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 10 Feb 2025 16:30:41 +0000 (10:30 -0600)
commit630fe2f88a74f99154fe009b84d57a01279c5274
tree4254fcc0b2ca9a98884addacc52a10f7c42c2247
parentd6da3dbaef57fc1d319b6b552efa009e2489d7d9
arm: mach-k3: am62*_init: Probe ESM nodes

On AM62A and AM62P devices, it is possible to route Main ESM error
events to MCU ESM. MCU ESM high error output can trigger the reset
logic to reset the device. So, for these devices we have Main ESM and
MCU ESM nodes in the device tree. Add functions to probe these nodes
if CONFIG_ESM_K3 is enabled.

Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
Signed-off-by: Judith Mendez <jm@ti.com>
arch/arm/mach-k3/am62ax/am62a7_init.c
arch/arm/mach-k3/am62px/am62p5_init.c