diff mbox series

[v2,2/2] watchdog: Enable RZV2HWDT driver depend on ARCH_RENESAS

Message ID 20250126132633.31956-3-biju.das.jz@bp.renesas.com (mailing list archive)
State New
Headers show
Series Add support for RZ/G3E WDT | expand

Commit Message

Biju Das Jan. 26, 2025, 1:26 p.m. UTC
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>
---
v1->v2:
 * Updated commit header and description.
 * Replaced ARCH_R9A09G047->ARCH_RENESAS as both RZ/V2H and RZ/G3E belongs
   to ARCH_RENESAS family.
---
 drivers/watchdog/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Guenter Roeck Jan. 26, 2025, 1:59 p.m. UTC | #1
On 1/26/25 05:26, Biju Das wrote:
> 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: Guenter Roeck <linux@roeck-us.net>

> ---
> v1->v2:
>   * Updated commit header and description.
>   * Replaced ARCH_R9A09G047->ARCH_RENESAS as both RZ/V2H and RZ/G3E belongs
>     to ARCH_RENESAS family.
> ---
>   drivers/watchdog/Kconfig | 7 ++++---
>   1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index f81705f8539a..b9d23f98a436 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -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"
Geert Uytterhoeven Jan. 27, 2025, 9:34 a.m. UTC | #2
On Sun, 26 Jan 2025 at 14:27, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> 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>
> ---
> v1->v2:
>  * Updated commit header and description.
>  * Replaced ARCH_R9A09G047->ARCH_RENESAS as both RZ/V2H and RZ/G3E belongs
>    to ARCH_RENESAS family.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index f81705f8539a..b9d23f98a436 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -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"