]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: imx_sc: Add pretimeout support
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 27 May 2019 07:03:17 +0000 (15:03 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 8 Jul 2019 17:55:37 +0000 (19:55 +0200)
commitd621bac75d625e6e53186a540b4c57aa3adaf896
tree740d3db7dc54ca4a53d5b6a896b460af3630637e
parent1e025ef462b8088526361e0b17491f65ff19105c
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>
drivers/watchdog/Kconfig
drivers/watchdog/imx_sc_wdt.c