clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visible
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 12 Nov 2021 18:44:13 +0000 (18:44 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 9 Dec 2021 13:05:20 +0000 (14:05 +0100)
As RZ/G2L uses the ARM Architected Timer as system timer, enabling
the OSTM is not mandatory.

Make RENESAS_OSTM symbol visible, so that user can enable it
when needed.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211112184413.4391-5-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig

index f65e31b..821ea4a 100644 (file)
@@ -510,7 +510,8 @@ config SH_TIMER_MTU2
          This hardware comes with 16-bit timer registers.
 
 config RENESAS_OSTM
-       bool "Renesas OSTM timer driver" if COMPILE_TEST
+       bool "Renesas OSTM timer driver"
+       depends on ARCH_RENESAS || COMPILE_TEST
        select CLKSRC_MMIO
        select TIMER_OF
        help