[PATCH RFC 05/10] board: ti: j721e: Initialize MCU ESM
Keerthy
j-keerthy at ti.com
Tue Oct 3 10:10:33 CEST 2023
Initialize MCU ESM. This is needed to propagate MAIN domain
events to the PMIC.
Signed-off-by: Keerthy <j-keerthy at ti.com>
---
board/ti/j721e/evm.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index 38fe447d8f..42fa94b7a5 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -548,7 +548,12 @@ void spl_board_init(void)
DM_DRIVER_GET(k3_esm), &dev);
if (ret)
printf("ESM init failed: %d\n", ret);
+
+ ret = uclass_get_device_by_name(UCLASS_MISC, "esm at 40800000", &dev);
+ if (ret)
+ printf("MISC init for esm at 40800000 failed: %d\n", ret);
}
+
#endif
#ifdef CONFIG_ESM_PMIC
--
2.17.1
More information about the U-Boot
mailing list