watchdog: mlx-wdt: support new watchdog type with longer timeout period
authorMichael Shych <michaelsh@mellanox.com>
Mon, 4 May 2020 14:14:26 +0000 (17:14 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 5 Aug 2020 16:42:45 +0000 (18:42 +0200)
commiteee851143bca4422eeee3bb2e104b85537ba449d
tree68ed4479c4967750cd418c894dfa2ce49f709cb2
parent7772b993fd96dc8f776356b1d5e18a4df7e68268
watchdog: mlx-wdt: support new watchdog type with longer timeout period

New programmable logic device can have watchdog type 3 implementation.
It's same as Type 2 with extended maximum timeout period.
Maximum timeout is up-to 65535 sec.
Type 3 HW watchdog implementation can exist on all Mellanox systems.
It is differentiated by WD capability bit.

Signed-off-by: Michael Shych <michaelsh@mellanox.com>
Reviewed-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200504141427.17685-4-michaelsh@mellanox.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/mlx_wdt.c