[openwrt/openwrt] realtek: 6.6: copy patch 307-wdt-update-dependency-for-realtek-otto-wdt
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 14 12:29:58 PDT 2024
svanheule pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4a52040d223001136749d5a27d0a6b08caaeb1e8
commit 4a52040d223001136749d5a27d0a6b08caaeb1e8
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Sun Aug 11 12:22:03 2024 -0400
realtek: 6.6: copy patch 307-wdt-update-dependency-for-realtek-otto-wdt
Copy the patch file to 6.6
Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
---
...dt-update-dependency-for-realtek-otto-wdt.patch | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/target/linux/realtek/patches-6.6/307-wdt-update-dependency-for-realtek-otto-wdt.patch b/target/linux/realtek/patches-6.6/307-wdt-update-dependency-for-realtek-otto-wdt.patch
new file mode 100644
index 0000000000..b44aebea12
--- /dev/null
+++ b/target/linux/realtek/patches-6.6/307-wdt-update-dependency-for-realtek-otto-wdt.patch
@@ -0,0 +1,32 @@
+From b8fc5eecdc5d33cf261986436597b5482ab856da Mon Sep 17 00:00:00 2001
+From: Sander Vanheule <sander at 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 at svanheule.net>
+Tested-by: Stijn Segers <foss at volatilesystems.org>
+Tested-by: Paul Fertser <fercerpav at gmail.com>
+Tested-by: Stijn Tintel <stijn at linux-ipv6.be>
+---
+ drivers/watchdog/Kconfig | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/watchdog/Kconfig
++++ b/drivers/watchdog/Kconfig
+@@ -956,10 +956,10 @@ config RTD119X_WATCHDOG
+
+ config REALTEK_OTTO_WDT
+ tristate "Realtek Otto MIPS watchdog support"
+- depends on MACH_REALTEK_RTL || COMPILE_TEST
++ depends on RTL83XX
+ depends on COMMON_CLK
+ select WATCHDOG_CORE
+- default MACH_REALTEK_RTL
++ default RTL83XX
+ help
+ Say Y here to include support for the watchdog timer on Realtek
+ RTL838x, RTL839x, RTL930x SoCs. This watchdog has pretimeout
More information about the lede-commits
mailing list