linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC
@ 2022-09-07  8:00 Lad Prabhakar
  2022-09-07  8:13 ` Daniel Lezcano
  2022-10-04  9:27 ` [tip: timers/core] " tip-bot2 for Lad Prabhakar
  0 siblings, 2 replies; 3+ messages in thread
From: Lad Prabhakar @ 2022-09-07  8:00 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Maxime Coquelin, Alexandre Torgue
  Cc: Geert Uytterhoeven, linux-kernel, linux-stm32, 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>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Hi All,

Resending this patch as this hasn't been merged and I haven't received any
feedback from the maintainer. There are no code changes as compared to v1
[0] (I have included the RB tag from Geert).

[0] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20220406072417.14185-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

Cheers,
Prabhakar
---
 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


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

* Re: [RESEND PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC
  2022-09-07  8:00 [RESEND PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC Lad Prabhakar
@ 2022-09-07  8:13 ` Daniel Lezcano
  2022-10-04  9:27 ` [tip: timers/core] " tip-bot2 for Lad Prabhakar
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2022-09-07  8:13 UTC (permalink / raw)
  To: Lad Prabhakar, Thomas Gleixner, Maxime Coquelin, Alexandre Torgue
  Cc: Geert Uytterhoeven, linux-kernel, linux-stm32, linux-arm-kernel,
	linux-renesas-soc, Prabhakar, Biju Das

On 07/09/2022 10:00, Lad Prabhakar wrote:
> 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>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Applied, thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

* [tip: timers/core] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC
  2022-09-07  8:00 [RESEND PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC Lad Prabhakar
  2022-09-07  8:13 ` Daniel Lezcano
@ 2022-10-04  9:27 ` tip-bot2 for Lad Prabhakar
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Lad Prabhakar @ 2022-10-04  9:27 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Lad Prabhakar, Geert Uytterhoeven, Daniel Lezcano, x86, linux-kernel

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     eaa1a955094b20ca4b1c5064200d140b27f8d96f
Gitweb:        https://git.kernel.org/tip/eaa1a955094b20ca4b1c5064200d140b27f8d96f
Author:        Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
AuthorDate:    Wed, 07 Sep 2022 09:00:56 +01:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Wed, 07 Sep 2022 10:12:56 +02:00

clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC

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>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220907080056.3460-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 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 21d1392..8da972d 100644
--- a/drivers/clocksource/renesas-ostm.c
+++ b/drivers/clocksource/renesas-ostm.c
@@ -224,7 +224,7 @@ err_free:
 
 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;

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

end of thread, other threads:[~2022-10-04  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07  8:00 [RESEND PATCH] clocksource/drivers/renesas-ostm: Add support for RZ/V2L SoC Lad Prabhakar
2022-09-07  8:13 ` Daniel Lezcano
2022-10-04  9:27 ` [tip: timers/core] " tip-bot2 for Lad Prabhakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).