configs: colibri-imx7: enable watchdog
Subsystems (2)
PATCH 1/1 configs: colibri-imx7: enable watchdog
From: Parth Pancholi <[email protected]>
Enable watchdog functionality for Toradex's Colibri iMX7 (NAND/EMMC) modules.
--- arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi | 4 ++++ configs/colibri_imx7_defconfig | 2 ++ configs/colibri_imx7_emmc_defconfig | 2 ++ 3 files changed, 8 insertions(+)
arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi +4 -0
@@ -51,3 +51,7 @@ }; }; }; + +&wdog1 { + bootph-pre-ram; +};
configs/colibri_imx7_defconfig +2 -0
@@ -98,10 +98,12 @@ CONFIG_DM_PMIC=y CONFIG_PMIC_RN5T567=y CONFIG_MXC_UART=y CONFIG_IMX_THERMAL=y +CONFIG_IMX_WATCHDOG=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Toradex" CONFIG_USB_GADGET_VENDOR_NUM=0x1b67 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000 +CONFIG_WDT=y CONFIG_CI_UDC=y
configs/colibri_imx7_emmc_defconfig +2 -0
@@ -85,10 +85,12 @@ CONFIG_DM_PMIC=y CONFIG_PMIC_RN5T567=y CONFIG_MXC_UART=y CONFIG_IMX_THERMAL=y +CONFIG_IMX_WATCHDOG=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Toradex" CONFIG_USB_GADGET_VENDOR_NUM=0x1b67 CONFIG_USB_GADGET_PRODUCT_NUM=0x4000 +CONFIG_WDT=y CONFIG_CI_UDC=y
Signature · 1 line
2.34.1
Fabio Estevam
reviewerHi Parth,
Quoted 5 lines · Parth Pancholi
From: Parth Pancholi <[email protected]>
Enable watchdog functionality for Toradex's Colibri iMX7 (NAND/EMMC) modules.
You described what the patch does, but the reason is missing.
Is the reason for this patch to fix the 'reset' command regression like you did at:
https://gitlab.com/u-boot/u-boot/-/commit/be23b1331fb35b7d5a095ef2c0b522c1f241eee9
?
Please send a v2 with an improved commit log.
Hello Fabio,
Quoted 6 lines · Fabio Estevam
Quoted 4 lines · Parth Pancholi
From: Parth Pancholi <[email protected]>
Enable watchdog functionality for Toradex's Colibri iMX7 (NAND/EMMC) modules.
Quoted 8 lines
You described what the patch does, but the reason is missing.
Is the reason for this patch to fix the 'reset' command regression like you did at:
https://gitlab.com/u-boot/u-boot/-/commit/be23b1331fb35b7d5a095ef2c0b522c1f241eee9
?Please send a v2 with an improved commit log.
No, on colibri-imx7 the reset is already working, it uses the PMIC so it's not affected by the issue that was affecting most of our other boards.
The reason for enabling the watchdog here is just an improvement to improve reliability, given we have it enabled on other boards with no drawback it seems nice and consistent to enable it.
Francesco
Fabio Estevam
reviewerHi Francesco,
Quoted 7 lines · Francesco Dolcini
No, on colibri-imx7 the reset is already working, it uses the PMIC so it's not affected by the issue that was affecting most of our other boards.
The reason for enabling the watchdog here is just an improvement to improve reliability, given we have it enabled on other boards with no drawback it seems nice and consistent to enable it.
Thanks for the clarification.
In this case, I will apply it to u-boot-imx next branch.
Fabio Estevam
reviewerQuoted 7 lines · Parth Pancholi
From: Parth Pancholi <[email protected]>
Enable watchdog functionality for Toradex's Colibri iMX7 (NAND/EMMC) modules.
Signed-off-by Parth Pancholi <[email protected]>
Applied for u-boot-imx/next, thanks.