]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c4c412717e0b37438d38aa9ddded736fc4a542e
tree4bbea81af7b75c332e29df1ccf11e441c64c3065
parent4000dce52242fde35e4f465f25d75d9ea31b2038
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