diff options
author | Sander Vanheule <sander@svanheule.net> | 2021-11-14 19:45:32 +0100 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-24 21:43:21 +0200 |
commit | b8fc5eecdc5d33cf261986436597b5482ab856da (patch) | |
tree | 7cd0d3a7819e5fe980f1b7eaf6d8435f3f826699 /target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch | |
parent | d3a62bea085ddd959d195671dcbeba9829e47dae (diff) | |
download | upstream-b8fc5eecdc5d33cf261986436597b5482ab856da.tar.gz upstream-b8fc5eecdc5d33cf261986436597b5482ab856da.tar.bz2 upstream-b8fc5eecdc5d33cf261986436597b5482ab856da.zip |
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.
Signed-off-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>
Diffstat (limited to 'target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch')
-rw-r--r-- | target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch b/target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch new file mode 100644 index 0000000000..32c3e2bb69 --- /dev/null +++ b/target/linux/realtek/patches-5.10/307-wdt-update-dependency-for-realtek-otto-wdt.patch @@ -0,0 +1,17 @@ +Index: linux-5.10.76/drivers/watchdog/Kconfig +=================================================================== +--- linux-5.10.76.orig/drivers/watchdog/Kconfig ++++ linux-5.10.76/drivers/watchdog/Kconfig +@@ -997,10 +997,10 @@ config RTD119X_WATCHDOG + + config REALTEK_OTTO_WDT + tristate "Realtek Otto MIPS watchdog support" +- depends on MACH_REALTEK_RTL || COMPILE_TEST ++ depends on RTL838X + depends on COMMON_CLK + select WATCHDOG_CORE +- default MACH_REALTEK_RTL ++ default RTL838X + help + Say Y here to include support for the watchdog timer on Realtek + RTL838x, RTL839x, RTL930x SoCs. This watchdog has pretimeout |