1 From b8fc5eecdc5d33cf261986436597b5482ab856da Mon Sep 17 00:00:00 2001
2 From: Sander Vanheule <sander@svanheule.net>
3 Date: Sun, 14 Nov 2021 19:45:32 +0100
4 Subject: [PATCH] realtek: Backport Realtek Otto WDT driver
6 Add patch submitted upstream to linux-watchdog and replace the MIPS
7 architecture symbols. Requires one extra patch for the DIV_ROUND_*
8 macros, which have moved to a different header since 5.10.
10 Submitted-by: Sander Vanheule <sander@svanheule.net>
11 Tested-by: Stijn Segers <foss@volatilesystems.org>
12 Tested-by: Paul Fertser <fercerpav@gmail.com>
13 Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
15 drivers/watchdog/Kconfig | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
18 --- a/drivers/watchdog/Kconfig
19 +++ b/drivers/watchdog/Kconfig
20 @@ -997,10 +997,10 @@ config RTD119X_WATCHDOG
22 config REALTEK_OTTO_WDT
23 tristate "Realtek Otto MIPS watchdog support"
24 - depends on MACH_REALTEK_RTL || COMPILE_TEST
28 - default MACH_REALTEK_RTL
31 Say Y here to include support for the watchdog timer on Realtek
32 RTL838x, RTL839x, RTL930x SoCs. This watchdog has pretimeout