Skip to contentSkip to conversation

arm: socfpga: Enable driver model for watchdog timer drivers

PATCH New Jit Loon Lim 1 participant 1 message Sep 11, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: Enable driver model for watchdog timer drivers

From: Chee Hong Ang <[email protected]>

All SoCFPGA platforms are now switching to CONFIG_WDT (driver model for watchdog timer drivers) from CONFIG_HW_WATCHDOG.

---
 arch/arm/dts/socfpga_stratix10_socdk.dts      |  4 ++
 ...efconfig => socfpga_agilex_nand_defconfig} | 43 ++++++++++++-------
 configs/socfpga_agilex_qspi_defconfig         |  2 +
 3 files changed, 34 insertions(+), 15 deletions(-)
 copy configs/{socfpga_agilex_qspi_defconfig => socfpga_agilex_nand_defconfig} (58%)
arch/arm/dts/socfpga_stratix10_socdk.dts +4 -0
index 8aa55a60ab..663adb42e6 100755
@@ -137,3 +137,7 @@
 &usb0 {
 	status = "okay";
 };
+
+&watchdog0 {
+	status = "okay";
+};
configs/socfpga_agilex_nand_defconfig renamed from configs/socfpga_agilex_qspi_defconfig +28 -15

84 lines not on this page · raw message

configs/socfpga_agilex_qspi_defconfig +2 -0
index 8522e72cbc..03bfc1689b 100644
@@ -67,5 +67,7 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
+CONFIG_DESIGNWARE_WATCHDOG=y
+CONFIG_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_PANIC_HANG=y
\ No newline at end of file
Signature · 1 line
2.26.2