307-wdt-update-dependency-for-realtek-otto-wdt.patch 1.2 KB

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