All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC
@ 2022-04-06  7:24 ` Lad Prabhakar
  0 siblings, 0 replies; 12+ messages in thread
From: Lad Prabhakar @ 2022-04-06  7:24 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, linux-kernel
  Cc: linux-arm-kernel, linux-renesas-soc, Prabhakar, Biju Das, Lad Prabhakar

The OSTM block is identical on Renesas RZ/G2L and RZ/V2L SoC's, so instead
of adding dependency for each SoC's add dependency on ARCH_RZG2L. The
ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
ARCH_R9A07G054.

With the above change OSTM will be enabled on RZ/V2L SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/clocksource/renesas-ostm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/renesas-ostm.c b/drivers/clocksource/renesas-ostm.c
index 21d1392637b8..8da972dc1713 100644
--- a/drivers/clocksource/renesas-ostm.c
+++ b/drivers/clocksource/renesas-ostm.c
@@ -224,7 +224,7 @@ static int __init ostm_init(struct device_node *np)
 
 TIMER_OF_DECLARE(ostm, "renesas,ostm", ostm_init);
 
-#ifdef CONFIG_ARCH_R9A07G044
+#ifdef CONFIG_ARCH_RZG2L
 static int __init ostm_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-08-31 14:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06  7:24 [PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC Lad Prabhakar
2022-04-06  7:24 ` Lad Prabhakar
2022-04-06  8:03 ` Daniel Lezcano
2022-04-06  8:03   ` Daniel Lezcano
2022-04-06  8:16   ` Lad, Prabhakar
2022-04-06  8:16     ` Lad, Prabhakar
2022-04-06  8:42     ` Daniel Lezcano
2022-04-06  8:42       ` Daniel Lezcano
2022-04-11 15:50 ` Geert Uytterhoeven
2022-04-11 15:50   ` Geert Uytterhoeven
2022-08-31 14:55 ` Lad, Prabhakar
2022-08-31 14:55   ` Lad, Prabhakar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.