Add WDT support for J7200 SOC
cover Add WDT support for J7200 SOC
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/[email protected]/
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(+)
Signature · 1 line
2.34.1
PATCH 1/2 arm: dts: k3-j7200: Add ESM PMIC support for tps659413
From: Gowtham Tammana <[email protected]>
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.
--- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/dts/k3-j7200-r5-common-proc-board.dts +7 -0
@@ -120,3 +120,10 @@ vdd-supply-2 = <&buckb1>; bootph-pre-ram; }; + +&tps659414 { + esm: esm { + compatible = "ti,tps659413-esm"; + bootph-pre-ram; + }; +};
Signature · 1 line
2.34.1
PATCH 2/2 configs: j7200_evm_r5: Add ESM related configs for J7200
In reply to Udit KumarFrom: Neha Malcom Francis <[email protected]>
Add CONFIG_ESM_K3 and CONFIG_ESM_PMIC to enable ESM initialization in J7200.
--- configs/j7200_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/j7200_evm_r5_defconfig +2 -0
@@ -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
Signature · 1 line
2.34.1
Quoted 10 lines · Udit Kumar
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_esmhas bootph property added in pmic nodes.RFC was sent
https://lore.kernel.org/all/[email protected]/[...]
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: dbe3ea4274b005e05cf1ddaf1d6406e0e452720fSignature · 1 line
Tom