rockchip: enable watchdog driver
authorKien Truong <duckientruong@gmail.com>
Mon, 3 Oct 2022 11:51:40 +0000 (18:51 +0700)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 4 Dec 2022 07:21:12 +0000 (15:21 +0800)
Enable Synopsys DesignWare watchdog driver for rockchip device

Tested on NanoPi R2S

Signed-off-by: Kien Truong <duckientruong@gmail.com>
target/linux/rockchip/armv8/config-5.15

index 371d06d164421a91eb8ce3ffa9935f08f530e9d3..39802ee728f35e53f845648fc938c7eecb49d712 100644 (file)
@@ -191,6 +191,7 @@ CONFIG_DUMMY_CONSOLE=y
 CONFIG_DWMAC_DWC_QOS_ETH=y
 CONFIG_DWMAC_GENERIC=y
 CONFIG_DWMAC_ROCKCHIP=y
+CONFIG_DW_WATCHDOG=y
 CONFIG_EDAC_SUPPORT=y
 CONFIG_EEPROM_AT24=y
 CONFIG_EMAC_ROCKCHIP=y
@@ -639,7 +640,7 @@ CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_VT=y
 CONFIG_VT_CONSOLE=y
 CONFIG_VT_HW_CONSOLE_BINDING=y
-# CONFIG_WATCHDOG is not set
+CONFIG_WATCHDOG_CORE=y
 CONFIG_XARRAY_MULTI=y
 CONFIG_XPS=y
 CONFIG_XXHASH=y