rtc: Kconfig: Broaden RTC_DRV_RZN1 dependency to ARCH_RENESAS
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 21 Aug 2026 21:10:23 +0000 (22:10 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 23 Aug 2026 19:23:57 +0000 (21:23 +0200)
Replace the ARCH_RZN1 dependency with ARCH_RENESAS for the RTC_DRV_RZN1
config option to make the driver available across both ARM32 and ARM64
Renesas architectures.

The newer RZ/T2H and RZ/N2H ARM64 SoCs integrate a closely related variant
of the RTC IP block found on the RZ/N1 SoCs. Update the build dependency
and expand the Kconfig help text to allow this driver to be selected for
these additional platforms.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://patch.msgid.link/20260821211032.13554-9-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index 01def82..d23a0fb 100644 (file)
@@ -1635,10 +1635,11 @@ config RTC_DRV_RS5C313
 
 config RTC_DRV_RZN1
        tristate "Renesas RZ/N1 RTC"
-       depends on ARCH_RZN1 || COMPILE_TEST
+       depends on ARCH_RENESAS || COMPILE_TEST
        depends on OF && HAS_IOMEM
        help
-         If you say yes here you get support for the Renesas RZ/N1 RTC.
+         If you say yes here you get support for the RTC initially found on
+         Renesas RZ/N1 SoCs.
 
 config RTC_DRV_GENERIC
        tristate "Generic RTC support"