From: Sven Eckelmann Date: Mon, 8 Jan 2018 17:28:51 +0000 (+0100) Subject: ipq806x: enable gpio watchdog support X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c242643d1aba0f065b4a465cd78f0c54dd7cb3b2;p=openwrt%2Fstaging%2Fjow.git ipq806x: enable gpio watchdog support The kernel driver gpio-wdt or the userspace tool om-watchdog can be used to trigger external gpio watchdog chips. The gpio-wdt driver has the benefit that it can be configured together with the rest of the device in the DTS and better integrates in the OpenWrt via procd. Signed-off-by: Sven Eckelmann --- diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9 index bca4264c8f..a71b1b819b 100644 --- a/target/linux/ipq806x/config-4.9 +++ b/target/linux/ipq806x/config-4.9 @@ -190,6 +190,8 @@ CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GPIOLIB=y CONFIG_GPIOLIB_IRQCHIP=y CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_WATCHDOG=y +# CONFIG_GPIO_WATCHDOG_ARCH_INITCALL is not set CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_HAS_DMA=y