]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
watchdog: imx_sc: Add i.MX system controller watchdog support
authorAnson Huang <anson.huang@nxp.com>
Thu, 21 Mar 2019 02:26:47 +0000 (02:26 +0000)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:02:11 +0000 (21:02 +0200)
commit986857acbc9a9a4fc05c11b902c03a8b5e12dd53
tree673ed5ff0aa49742e4806c6c7835fbd13ea2453d
parentbb83520d269536f5d48b609a23ec0a1fdabbe503
watchdog: imx_sc: Add i.MX system controller watchdog support

i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller
inside, the system controller is in charge of controlling power,
clock and watchdog etc..

This patch adds i.MX system controller watchdog driver support,
watchdog operation needs to be done in secure EL3 mode via
ARM-Trusted-Firmware, using SMC call, CPU will trap into
ARM-Trusted-Firmware and then it will request system controller
to do watchdog operation via IPC.

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/Makefile
drivers/watchdog/imx_sc_wdt.c [new file with mode: 0644]