summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-05-27 09:03:17 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 19:55:37 +0200
commit15f7d7fc5542f6cb429a069dd77b57ddccbe11e3 (patch)
tree740d3db7dc54ca4a53d5b6a896b460af3630637e /drivers/watchdog/Kconfig
parentwatchdog: renesas_wdt: Add a few cycles delay (diff)
downloadlinux-15f7d7fc5542f6cb429a069dd77b57ddccbe11e3.tar.xz
linux-15f7d7fc5542f6cb429a069dd77b57ddccbe11e3.zip
watchdog: imx_sc: Add pretimeout support
i.MX system controller watchdog can support pretimeout IRQ via general SCU MU IRQ, it depends on IMX_SCU and driver MUST be probed after SCU IPC ready, then enable corresponding SCU IRQ group and register SCU IRQ notifier, when watchdog pretimeout IRQ fires, SCU MU IRQ will be handled and watchdog pretimeout notifier will be called to handle the event. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index ffe754539f5a..975e573a6ea5 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -717,6 +717,7 @@ config IMX2_WDT
config IMX_SC_WDT
tristate "IMX SC Watchdog"
depends on HAVE_ARM_SMCCC
+ depends on IMX_SCU
select WATCHDOG_CORE
help
This is the driver for the system controller watchdog