U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add WDT support for J7200 SOC
@ 2025-03-14 11:04 Udit Kumar
  2025-03-14 11:04 ` [PATCH 1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Udit Kumar @ 2025-03-14 11:04 UTC (permalink / raw)
  To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, u-kumar1

This enables the ESMs and the associated PMIC.
Programming these bits is a requirement to make the watchdog actually reset the board.

After DT sync nodes bucka1 and main_esm has bootph property added in
pmic nodes.

RFC was sent
https://lore.kernel.org/all/20241126063543.2678052-1-u-kumar1@ti.com/

With current patch boot logs
https://gist.github.com/uditkumarti/adb647f86e6d166ea2d0ac98dceb7a9b

reset: https://gist.github.com/uditkumarti/adb647f86e6d166ea2d0ac98dceb7a9b#file-gistfile1-txt-L2344

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

 arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 7 +++++++
 configs/j7200_evm_r5_defconfig                 | 2 ++
 2 files changed, 9 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413
  2025-03-14 11:04 [PATCH 0/2] Add WDT support for J7200 SOC Udit Kumar
@ 2025-03-14 11:04 ` Udit Kumar
  2025-03-14 11:04 ` [PATCH 2/2] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
  2025-04-01  2:16 ` [PATCH 0/2] Add WDT support for J7200 SOC Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Udit Kumar @ 2025-03-14 11:04 UTC (permalink / raw)
  To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, 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 ecb1dd49c64..9ac29110324 100644
--- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
@@ -120,3 +120,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

* [PATCH 2/2] configs: j7200_evm_r5: Add ESM related configs for J7200
  2025-03-14 11:04 [PATCH 0/2] Add WDT support for J7200 SOC Udit Kumar
  2025-03-14 11:04 ` [PATCH 1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
@ 2025-03-14 11:04 ` Udit Kumar
  2025-04-01  2:16 ` [PATCH 0/2] Add WDT support for J7200 SOC Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Udit Kumar @ 2025-03-14 11:04 UTC (permalink / raw)
  To: trini, vigneshr, u-boot; +Cc: n-francis, afd, nm, a-limaye, 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 ae5849baf13..8df921c028b 100644
--- a/configs/j7200_evm_r5_defconfig
+++ b/configs/j7200_evm_r5_defconfig
@@ -99,7 +99,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

* Re: [PATCH 0/2] Add WDT support for J7200 SOC
  2025-03-14 11:04 [PATCH 0/2] Add WDT support for J7200 SOC Udit Kumar
  2025-03-14 11:04 ` [PATCH 1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
  2025-03-14 11:04 ` [PATCH 2/2] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
@ 2025-04-01  2:16 ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2025-04-01  2:16 UTC (permalink / raw)
  To: vigneshr, u-boot, Udit Kumar; +Cc: n-francis, afd, nm, a-limaye

On Fri, 14 Mar 2025 16:34:09 +0530, Udit Kumar wrote:

> This enables the ESMs and the associated PMIC.
> Programming these bits is a requirement to make the watchdog actually reset the board.
> 
> After DT sync nodes bucka1 and main_esm has bootph property added in
> pmic nodes.
> 
> RFC was sent
> https://lore.kernel.org/all/20241126063543.2678052-1-u-kumar1@ti.com/
> 
> [...]

Applied to u-boot/next, thanks!

[1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413
      commit: 940f2a04f335e17919112402f748d06f2303ad09
[2/2] configs: j7200_evm_r5: Add ESM related configs for J7200
      commit: dbe3ea4274b005e05cf1ddaf1d6406e0e452720f
-- 
Tom



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-01  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14 11:04 [PATCH 0/2] Add WDT support for J7200 SOC Udit Kumar
2025-03-14 11:04 ` [PATCH 1/2] arm: dts: k3-j7200: Add ESM PMIC support for tps659413 Udit Kumar
2025-03-14 11:04 ` [PATCH 2/2] configs: j7200_evm_r5: Add ESM related configs for J7200 Udit Kumar
2025-04-01  2:16 ` [PATCH 0/2] Add WDT support for J7200 SOC Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox