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