* [PATCH v4 0/2] Add support for Renesas OSTM on RZ/V2N SoC
@ 2025-05-15 18:22 Prabhakar
2025-05-15 18:22 ` [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support Prabhakar
2025-05-15 18:22 ` [PATCH v4 2/2] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support Prabhakar
0 siblings, 2 replies; 8+ messages in thread
From: Prabhakar @ 2025-05-15 18:22 UTC (permalink / raw)
To: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt
Cc: linux-kernel, devicetree, linux-arm-kernel, linux-renesas-soc,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi all,
This patch series adds support for the Renesas OS Timer (OSTM) found on
the Renesas RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to
that on other RZ families.
v3->v4:
- Added __maybe_unused to the of_device_id table to avoid build
warnings when CONFIG_OF is disabled.
- Added Reviewed-by and Tested-by tags from Geert.
- Updated commit message to clarify the change in patch 2/2.
v2->v3:
- Dropped config check and unconditionally enabled reprobe support for all
SoCs.
v1->v2:
- Inveted the logic in the dt-bindings to require the "resets" property
- Instead of adding config for new SoC, changed the probe condition to
`CONFIG_ARM64`.
- Updated commit messages
- Added a Reviewed-by tag from Geert.
v1:
https://lore.kernel.org/all/20250501123709.56513-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
Lad Prabhakar (2):
dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
clocksource/drivers/renesas-ostm: Unconditionally enable reprobe
support
.../devicetree/bindings/timer/renesas,ostm.yaml | 12 ++++++------
drivers/clocksource/renesas-ostm.c | 4 +---
2 files changed, 7 insertions(+), 9 deletions(-)
--
2.49.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
2025-05-15 18:22 [PATCH v4 0/2] Add support for Renesas OSTM on RZ/V2N SoC Prabhakar
@ 2025-05-15 18:22 ` Prabhakar
2025-05-16 14:20 ` Conor Dooley
2025-05-21 15:49 ` [tip: timers/clocksource] " tip-bot2 for Lad Prabhakar
2025-05-15 18:22 ` [PATCH v4 2/2] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support Prabhakar
1 sibling, 2 replies; 8+ messages in thread
From: Prabhakar @ 2025-05-15 18:22 UTC (permalink / raw)
To: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt
Cc: linux-kernel, devicetree, linux-arm-kernel, linux-renesas-soc,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Document support for the Renesas OS Timer (OSTM) found on the Renesas
RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to that on
other RZ families, so no driver changes are required as `renesas,ostm`
will be used as fallback compatible.
Also update the bindings to require the "resets" property for RZ/V2N
by inverting the logic: all SoCs except RZ/A1 and RZ/A2 now require
the "resets" property.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3->v4:
- No changes in this version.
v2->v3:
- Added Acked-by tag from Conor.
v1->v2:
- Inveted the logic in the dt-bindings to require the "resets" property
- Updated commit message
- Added a Reviewed-by tag from Geert.
---
.../devicetree/bindings/timer/renesas,ostm.yaml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
index 9ba858f094ab..0983c1efec80 100644
--- a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
+++ b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
@@ -26,6 +26,7 @@ properties:
- renesas,r9a07g043-ostm # RZ/G2UL and RZ/Five
- renesas,r9a07g044-ostm # RZ/G2{L,LC}
- renesas,r9a07g054-ostm # RZ/V2L
+ - renesas,r9a09g056-ostm # RZ/V2N
- renesas,r9a09g057-ostm # RZ/V2H(P)
- const: renesas,ostm # Generic
@@ -54,12 +55,11 @@ required:
if:
properties:
compatible:
- contains:
- enum:
- - renesas,r9a07g043-ostm
- - renesas,r9a07g044-ostm
- - renesas,r9a07g054-ostm
- - renesas,r9a09g057-ostm
+ not:
+ contains:
+ enum:
+ - renesas,r7s72100-ostm
+ - renesas,r7s9210-ostm
then:
required:
- resets
--
2.49.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v4 2/2] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support
2025-05-15 18:22 [PATCH v4 0/2] Add support for Renesas OSTM on RZ/V2N SoC Prabhakar
2025-05-15 18:22 ` [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support Prabhakar
@ 2025-05-15 18:22 ` Prabhakar
2025-05-21 15:49 ` [tip: timers/clocksource] " tip-bot2 for Lad Prabhakar
1 sibling, 1 reply; 8+ messages in thread
From: Prabhakar @ 2025-05-15 18:22 UTC (permalink / raw)
To: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt
Cc: linux-kernel, devicetree, linux-arm-kernel, linux-renesas-soc,
Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Previously, the OSTM driver's platform probe path was only enabled for
selected SoCs (e.g., RZ/G2L and RZ/V2H) due to issues on RZ/Ax (ARM32)
SoCs, which encountered IRQ conflicts like:
/soc/timer@e803b000: used for clock events
genirq: Flags mismatch irq 16. 00215201 (timer@e803c000) vs. 00215201 (timer@e803c000)
Failed to request irq 16 for /soc/timer@e803c000
renesas_ostm e803c000.timer: probe with driver renesas_ostm failed with error -16
These issues have since been resolved by commit 37385c0772a4
("clocksource/drivers/renesas-ostm: Avoid reprobe after successful early
probe"), which prevents reprobe on successfully initialized early timers.
With this fix in place, there is no longer a need to restrict platform
probing based on SoC-specific configs. This change unconditionally enables
reprobe support for all SoCs, simplifying the logic and avoiding the need
to update the configuration for every new Renesas SoC with OSTM.
Additionally, the `ostm_of_table` is now marked with `__maybe_unused` to
fix a build warning when `CONFIG_OF` is disabled.
RZ/A1 and RZ/A2 remain unaffected with this change.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3->v4:
- Added __maybe_unused to the of_device_id table to avoid build
warnings when CONFIG_OF is disabled.
- Added Reviewed-by and Tested-by tags from Geert.
- Updated commit message to clarify the change.
v2->v3:
- Dropped config check and unconditionally enabled reprobe support for all
SoCs.
- Dropped Reviewed-by tag from Geert
v1->v2:
- Instead of adding config for new SoC, changed the probe condition to
`CONFIG_ARM64`.
- Updated commit message
- Added a Reviewed-by tag from Geert.
---
drivers/clocksource/renesas-ostm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clocksource/renesas-ostm.c b/drivers/clocksource/renesas-ostm.c
index 3fcbd02b2483..2089aeaae225 100644
--- a/drivers/clocksource/renesas-ostm.c
+++ b/drivers/clocksource/renesas-ostm.c
@@ -225,7 +225,6 @@ static int __init ostm_init(struct device_node *np)
TIMER_OF_DECLARE(ostm, "renesas,ostm", ostm_init);
-#if defined(CONFIG_ARCH_RZG2L) || defined(CONFIG_ARCH_R9A09G057)
static int __init ostm_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
@@ -233,7 +232,7 @@ static int __init ostm_probe(struct platform_device *pdev)
return ostm_init(dev->of_node);
}
-static const struct of_device_id ostm_of_table[] = {
+static const struct of_device_id __maybe_unused ostm_of_table[] = {
{ .compatible = "renesas,ostm", },
{ /* sentinel */ }
};
@@ -246,4 +245,3 @@ static struct platform_driver ostm_device_driver = {
},
};
builtin_platform_driver_probe(ostm_device_driver, ostm_probe);
-#endif
--
2.49.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
2025-05-15 18:22 ` [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support Prabhakar
@ 2025-05-16 14:20 ` Conor Dooley
2025-05-16 16:38 ` Lad, Prabhakar
2025-05-21 15:49 ` [tip: timers/clocksource] " tip-bot2 for Lad Prabhakar
1 sibling, 1 reply; 8+ messages in thread
From: Conor Dooley @ 2025-05-16 14:20 UTC (permalink / raw)
To: Prabhakar
Cc: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt, linux-kernel,
devicetree, linux-arm-kernel, linux-renesas-soc, Biju Das,
Fabrizio Castro, Lad Prabhakar
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
On Thu, May 15, 2025 at 07:22:06PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Document support for the Renesas OS Timer (OSTM) found on the Renesas
> RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to that on
> other RZ families, so no driver changes are required as `renesas,ostm`
> will be used as fallback compatible.
>
> Also update the bindings to require the "resets" property for RZ/V2N
> by inverting the logic: all SoCs except RZ/A1 and RZ/A2 now require
> the "resets" property.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v3->v4:
> - No changes in this version.
>
> v2->v3:
> - Added Acked-by tag from Conor.
But v3 -> v4 doesn't mention why it was dropped?
>
> v1->v2:
> - Inveted the logic in the dt-bindings to require the "resets" property
> - Updated commit message
> - Added a Reviewed-by tag from Geert.
> ---
> .../devicetree/bindings/timer/renesas,ostm.yaml | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
> index 9ba858f094ab..0983c1efec80 100644
> --- a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
> +++ b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
> @@ -26,6 +26,7 @@ properties:
> - renesas,r9a07g043-ostm # RZ/G2UL and RZ/Five
> - renesas,r9a07g044-ostm # RZ/G2{L,LC}
> - renesas,r9a07g054-ostm # RZ/V2L
> + - renesas,r9a09g056-ostm # RZ/V2N
> - renesas,r9a09g057-ostm # RZ/V2H(P)
> - const: renesas,ostm # Generic
>
> @@ -54,12 +55,11 @@ required:
> if:
> properties:
> compatible:
> - contains:
> - enum:
> - - renesas,r9a07g043-ostm
> - - renesas,r9a07g044-ostm
> - - renesas,r9a07g054-ostm
> - - renesas,r9a09g057-ostm
> + not:
> + contains:
> + enum:
> + - renesas,r7s72100-ostm
> + - renesas,r7s9210-ostm
> then:
> required:
> - resets
> --
> 2.49.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
2025-05-16 14:20 ` Conor Dooley
@ 2025-05-16 16:38 ` Lad, Prabhakar
2025-05-19 15:12 ` Conor Dooley
0 siblings, 1 reply; 8+ messages in thread
From: Lad, Prabhakar @ 2025-05-16 16:38 UTC (permalink / raw)
To: Conor Dooley
Cc: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt, linux-kernel,
devicetree, linux-arm-kernel, linux-renesas-soc, Biju Das,
Fabrizio Castro, Lad Prabhakar
Hi Conor,
On Fri, May 16, 2025 at 3:21 PM Conor Dooley <conor@kernel.org> wrote:
>
> On Thu, May 15, 2025 at 07:22:06PM +0100, Prabhakar wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >
> > Document support for the Renesas OS Timer (OSTM) found on the Renesas
> > RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to that on
> > other RZ families, so no driver changes are required as `renesas,ostm`
> > will be used as fallback compatible.
> >
> > Also update the bindings to require the "resets" property for RZ/V2N
> > by inverting the logic: all SoCs except RZ/A1 and RZ/A2 now require
> > the "resets" property.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > v3->v4:
> > - No changes in this version.
> >
> > v2->v3:
> > - Added Acked-by tag from Conor.
>
> But v3 -> v4 doesn't mention why it was dropped?
>
Sorry I missed adding it. Please can you re-ack it.
Cheers,
Prabhakar
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
2025-05-16 16:38 ` Lad, Prabhakar
@ 2025-05-19 15:12 ` Conor Dooley
0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2025-05-19 15:12 UTC (permalink / raw)
To: Lad, Prabhakar
Cc: Geert Uytterhoeven, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, Chris Brandt, linux-kernel,
devicetree, linux-arm-kernel, linux-renesas-soc, Biju Das,
Fabrizio Castro, Lad Prabhakar
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
On Fri, May 16, 2025 at 05:38:24PM +0100, Lad, Prabhakar wrote:
> Hi Conor,
>
> On Fri, May 16, 2025 at 3:21 PM Conor Dooley <conor@kernel.org> wrote:
> >
> > On Thu, May 15, 2025 at 07:22:06PM +0100, Prabhakar wrote:
> > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > >
> > > Document support for the Renesas OS Timer (OSTM) found on the Renesas
> > > RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to that on
> > > other RZ families, so no driver changes are required as `renesas,ostm`
> > > will be used as fallback compatible.
> > >
> > > Also update the bindings to require the "resets" property for RZ/V2N
> > > by inverting the logic: all SoCs except RZ/A1 and RZ/A2 now require
> > > the "resets" property.
> > >
> > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > ---
> > > v3->v4:
> > > - No changes in this version.
> > >
> > > v2->v3:
> > > - Added Acked-by tag from Conor.
> >
> > But v3 -> v4 doesn't mention why it was dropped?
> >
> Sorry I missed adding it. Please can you re-ack it.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [tip: timers/clocksource] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support
2025-05-15 18:22 ` [PATCH v4 2/2] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support Prabhakar
@ 2025-05-21 15:49 ` tip-bot2 for Lad Prabhakar
0 siblings, 0 replies; 8+ messages in thread
From: tip-bot2 for Lad Prabhakar @ 2025-05-21 15:49 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/clocksource branch of tip:
Commit-ID: d204e391a0d83d73fc312e71fc62896c4d8bae79
Gitweb: https://git.kernel.org/tip/d204e391a0d83d73fc312e71fc62896c4d8bae79
Author: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
AuthorDate: Thu, 15 May 2025 19:22:07 +01:00
Committer: Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Fri, 16 May 2025 13:33:11 +02:00
clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support
Previously, the OSTM driver's platform probe path was only enabled for
selected SoCs (e.g., RZ/G2L and RZ/V2H) due to issues on RZ/Ax (ARM32)
SoCs, which encountered IRQ conflicts like:
/soc/timer@e803b000: used for clock events
genirq: Flags mismatch irq 16. 00215201 (timer@e803c000) vs. 00215201 (timer@e803c000)
Failed to request irq 16 for /soc/timer@e803c000
renesas_ostm e803c000.timer: probe with driver renesas_ostm failed with error -16
These issues have since been resolved by commit 37385c0772a4
("clocksource/drivers/renesas-ostm: Avoid reprobe after successful early
probe"), which prevents reprobe on successfully initialized early timers.
With this fix in place, there is no longer a need to restrict platform
probing based on SoC-specific configs. This change unconditionally enables
reprobe support for all SoCs, simplifying the logic and avoiding the need
to update the configuration for every new Renesas SoC with OSTM.
Additionally, the `ostm_of_table` is now marked with `__maybe_unused` to
fix a build warning when `CONFIG_OF` is disabled.
RZ/A1 and RZ/A2 remain unaffected with this change.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20250515182207.329176-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
drivers/clocksource/renesas-ostm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clocksource/renesas-ostm.c b/drivers/clocksource/renesas-ostm.c
index 3fcbd02..2089aea 100644
--- a/drivers/clocksource/renesas-ostm.c
+++ b/drivers/clocksource/renesas-ostm.c
@@ -225,7 +225,6 @@ err_free:
TIMER_OF_DECLARE(ostm, "renesas,ostm", ostm_init);
-#if defined(CONFIG_ARCH_RZG2L) || defined(CONFIG_ARCH_R9A09G057)
static int __init ostm_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
@@ -233,7 +232,7 @@ static int __init ostm_probe(struct platform_device *pdev)
return ostm_init(dev->of_node);
}
-static const struct of_device_id ostm_of_table[] = {
+static const struct of_device_id __maybe_unused ostm_of_table[] = {
{ .compatible = "renesas,ostm", },
{ /* sentinel */ }
};
@@ -246,4 +245,3 @@ static struct platform_driver ostm_device_driver = {
},
};
builtin_platform_driver_probe(ostm_device_driver, ostm_probe);
-#endif
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [tip: timers/clocksource] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
2025-05-15 18:22 ` [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support Prabhakar
2025-05-16 14:20 ` Conor Dooley
@ 2025-05-21 15:49 ` tip-bot2 for Lad Prabhakar
1 sibling, 0 replies; 8+ messages in thread
From: tip-bot2 for Lad Prabhakar @ 2025-05-21 15:49 UTC (permalink / raw)
To: linux-tip-commits
Cc: Lad Prabhakar, Geert Uytterhoeven, Conor Dooley, Daniel Lezcano,
x86, linux-kernel
The following commit has been merged into the timers/clocksource branch of tip:
Commit-ID: f0e0c374379cc0b99698d3786d78d936c6c4bf38
Gitweb: https://git.kernel.org/tip/f0e0c374379cc0b99698d3786d78d936c6c4bf38
Author: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
AuthorDate: Thu, 15 May 2025 19:22:06 +01:00
Committer: Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Fri, 16 May 2025 13:33:11 +02:00
dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
Document support for the Renesas OS Timer (OSTM) found on the Renesas
RZ/V2N (R9A09G056) SoC. The OSTM IP on RZ/V2N is identical to that on
other RZ families, so no driver changes are required as `renesas,ostm`
will be used as fallback compatible.
Also update the bindings to require the "resets" property for RZ/V2N
by inverting the logic: all SoCs except RZ/A1 and RZ/A2 now require
the "resets" property.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250515182207.329176-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
Documentation/devicetree/bindings/timer/renesas,ostm.yaml | 12 +++----
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
index 9ba858f..0983c1e 100644
--- a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
+++ b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
@@ -26,6 +26,7 @@ properties:
- renesas,r9a07g043-ostm # RZ/G2UL and RZ/Five
- renesas,r9a07g044-ostm # RZ/G2{L,LC}
- renesas,r9a07g054-ostm # RZ/V2L
+ - renesas,r9a09g056-ostm # RZ/V2N
- renesas,r9a09g057-ostm # RZ/V2H(P)
- const: renesas,ostm # Generic
@@ -54,12 +55,11 @@ required:
if:
properties:
compatible:
- contains:
- enum:
- - renesas,r9a07g043-ostm
- - renesas,r9a07g044-ostm
- - renesas,r9a07g054-ostm
- - renesas,r9a09g057-ostm
+ not:
+ contains:
+ enum:
+ - renesas,r7s72100-ostm
+ - renesas,r7s9210-ostm
then:
required:
- resets
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-05-21 15:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 18:22 [PATCH v4 0/2] Add support for Renesas OSTM on RZ/V2N SoC Prabhakar
2025-05-15 18:22 ` [PATCH v4 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support Prabhakar
2025-05-16 14:20 ` Conor Dooley
2025-05-16 16:38 ` Lad, Prabhakar
2025-05-19 15:12 ` Conor Dooley
2025-05-21 15:49 ` [tip: timers/clocksource] " tip-bot2 for Lad Prabhakar
2025-05-15 18:22 ` [PATCH v4 2/2] clocksource/drivers/renesas-ostm: Unconditionally enable reprobe support Prabhakar
2025-05-21 15:49 ` [tip: timers/clocksource] " 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).