watchdog: npcm: Enable clock if provided
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 10 Jun 2022 07:21:37 +0000 (09:21 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 2 Oct 2022 10:55:41 +0000 (12:55 +0200)
commitaf084fdccfafa79ad30a6a42c8eced79b71fb0e7
tree4bbea81af7b75c332e29df1ccf11e441c64c3065
parent6adbfbab0f039bb89edb9d3ad0d9ac8a18efa6db
watchdog: npcm: Enable clock if provided

On the Nuvoton WPCM450 SoC, with its upcoming clock driver, peripheral
clocks are individually gated and ungated. Therefore, the watchdog
driver must be able to ungate the watchdog clock.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220610072141.347795-3-j.neuschaefer@gmx.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/npcm_wdt.c