* [RFC PATCH 0/3] Enable ESMs and related PMIC
@ 2024-11-26 6:35 Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 1/3] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Udit Kumar @ 2024-11-26 6:35 UTC (permalink / raw)
To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, reidt, u-kumar1
This enables the ESMs and the associated PMIC.
Programming these bits is a requirement to make the watchdog actually reset the board.
Patch 3/3 is already available in upstream kernel.
While above sync is done, sending this series as RFC.
Logs
https://gist.github.com/uditkumarti/5dca3fcb2ebe2535f9c9c719ee625513
For reset https://gist.github.com/uditkumarti/5dca3fcb2ebe2535f9c9c719ee625513#file-gistfile1-txt-L2475
Gowtham Tammana (1):
arm: dts: k3-j7200: Add ESM PMIC support for tps659413
Neha Malcom Francis (1):
configs: j7200_evm_r5: Add ESM related configs for J7200
Udit Kumar (1):
arm: dts: k3-j7200: Add bootph for esm and pmic nodes
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 15 +++++++++++++++
configs/j7200_evm_r5_defconfig | 2 ++
2 files changed, 17 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH 1/3] configs: j7200_evm_r5: Add ESM related configs for J7200
2024-11-26 6:35 [RFC PATCH 0/3] Enable ESMs and related PMIC Udit Kumar
@ 2024-11-26 6:35 ` Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 2/3] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 3/3] arm: dts: k3-j7200: Add bootph for esm and pmic nodes Udit Kumar
2 siblings, 0 replies; 4+ messages in thread
From: Udit Kumar @ 2024-11-26 6:35 UTC (permalink / raw)
To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, reidt, u-kumar1
From: Neha Malcom Francis <n-francis@ti.com>
Add CONFIG_ESM_K3 and CONFIG_ESM_PMIC to enable ESM initialization
in J7200.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
---
configs/j7200_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig
index f036a6fd46b..62a93ff21ff 100644
--- a/configs/j7200_evm_r5_defconfig
+++ b/configs/j7200_evm_r5_defconfig
@@ -101,7 +101,9 @@ CONFIG_DM_MAILBOX=y
CONFIG_K3_SEC_PROXY=y
CONFIG_FS_LOADER=y
CONFIG_SPL_FS_LOADER=y
+CONFIG_ESM_K3=y
CONFIG_K3_AVS0=y
+CONFIG_ESM_PMIC=y
CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_SPL_MMC_HS400_SUPPORT=y
CONFIG_MMC_SDHCI=y
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [RFC PATCH 2/3] arm: dts: k3-j7200: Add ESM PMIC support for tps659413
2024-11-26 6:35 [RFC PATCH 0/3] Enable ESMs and related PMIC Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 1/3] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
@ 2024-11-26 6:35 ` Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 3/3] arm: dts: k3-j7200: Add bootph for esm and pmic nodes Udit Kumar
2 siblings, 0 replies; 4+ messages in thread
From: Udit Kumar @ 2024-11-26 6:35 UTC (permalink / raw)
To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, reidt, u-kumar1
From: Gowtham Tammana <g-tammana@ti.com>
On J7200 processor board MCU_SAFETY_ERROR signal is routed to PMIC for
ESM error handling. The PMIC resets the board on receipt of the signal.
Enable the support for the board by adding ESM PMIC node.
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index f096b102793..53c8d7827b9 100644
--- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
@@ -108,3 +108,10 @@
vdd-supply-2 = <&buckb1>;
bootph-pre-ram;
};
+
+&tps659414 {
+ esm: esm {
+ compatible = "ti,tps659413-esm";
+ bootph-pre-ram;
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [RFC PATCH 3/3] arm: dts: k3-j7200: Add bootph for esm and pmic nodes
2024-11-26 6:35 [RFC PATCH 0/3] Enable ESMs and related PMIC Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 1/3] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 2/3] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
@ 2024-11-26 6:35 ` Udit Kumar
2 siblings, 0 replies; 4+ messages in thread
From: Udit Kumar @ 2024-11-26 6:35 UTC (permalink / raw)
To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, reidt, u-kumar1
In order to get esm and pmic probed by R5 SPL, these nodes should
be have bootph pre ram property.
However these changes are committed in kernel with following sha-id
b903ab269e67 (arm64: dts: ti: k3-j7200: Add bootph-* properties)
and bdb543b1664b (arm64: dts: ti: k3-j7200-evm*: Add bootph-* properties).
While we wait for above committed to get synched with u-boot.
Meanwhile add bootph in these nodes.
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index 53c8d7827b9..64a4ffd3605 100644
--- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
@@ -115,3 +115,11 @@
bootph-pre-ram;
};
};
+
+&bucka1 {
+ bootph-pre-ram;
+};
+
+&main_esm {
+ bootph-pre-ram;
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-26 6:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 6:35 [RFC PATCH 0/3] Enable ESMs and related PMIC Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 1/3] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 2/3] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
2024-11-26 6:35 ` [RFC PATCH 3/3] arm: dts: k3-j7200: Add bootph for esm and pmic nodes Udit Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox