watchdog: sp805_wdt: deassert the reset if available
authorYang Xiwen <forbidden405@outlook.com>
Wed, 21 Feb 2024 11:56:41 +0000 (19:56 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 3 Mar 2024 13:17:30 +0000 (14:17 +0100)
commit575f100c1cce1486f581baefa97dde15b48728c7
tree0e05543a2363134b45a20988b2badbc9044a1a1f
parent12b8ab42e1c509121a8d4fae1ba57d3d0f22f571
watchdog: sp805_wdt: deassert the reset if available

According to the datasheet, the core has an WDOGRESn input signal that
needs to be deasserted before being operational. Implement it in the
driver.

Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240221-hisi-wdt-v3-1-9642613dc2e6@outlook.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/sp805_wdt.c