[openwrt/openwrt] ipq806x: enable gpio watchdog support

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 12 23:01:47 PST 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/c242643d1aba0f065b4a465cd78f0c54dd7cb3b2

commit c242643d1aba0f065b4a465cd78f0c54dd7cb3b2
Author: Sven Eckelmann <sven.eckelmann at openmesh.com>
AuthorDate: Mon Jan 8 18:28:51 2018 +0100

    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 <sven.eckelmann at openmesh.com>
---
 target/linux/ipq806x/config-4.9 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9
index bca4264..a71b1b8 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



More information about the lede-commits mailing list