watchdog: Enable RZV2HWDT driver depend on ARCH_RENESAS
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 26 Jan 2025 13:26:31 +0000 (13:26 +0000)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 9 Mar 2025 14:19:42 +0000 (15:19 +0100)
RZ/G3E watchdog timer IP is similar to the one found on RZ/V2H. Both these
SoCs belong to the ARCH_RENESAS family. So, it makes sense to use
ARCH_RENESAS rather than ARCH_R9A09G057 to enable the RZV2HWDT driver.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250126132633.31956-3-biju.das.jz@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig

index f81705f..b9d23f9 100644 (file)
@@ -963,13 +963,14 @@ config RENESAS_RZG2LWDT
          Renesas RZ/G2L SoCs. These watchdogs can be used to reset a system.
 
 config RENESAS_RZV2HWDT
-       tristate "Renesas RZ/V2H(P) WDT Watchdog"
-       depends on ARCH_R9A09G057 || COMPILE_TEST
+       tristate "Renesas RZ/{G3E,V2H(P)} WDT Watchdog"
+       depends on ARCH_RENESAS || COMPILE_TEST
        depends on PM || COMPILE_TEST
        select WATCHDOG_CORE
        help
          This driver adds watchdog support for the integrated watchdogs in the
-         Renesas RZ/V2H(P) SoCs. These watchdogs can be used to reset a system.
+         Renesas RZ/{G3E,V2H(P)} SoCs. These watchdogs can be used to reset a
+         system.
 
 config ASPEED_WATCHDOG
        tristate "Aspeed BMC watchdog support"