[PATCH 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support

Prabhakar posted 2 patches 9 months, 2 weeks ago
There is a newer version of this series
[PATCH 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
Posted by Prabhakar 9 months, 2 weeks ago
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 include RZ/V2N in the list of compatibles for which the `resets`
property is required.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/timer/renesas,ostm.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
index 9ba858f094ab..bc421882cbc2 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
 
@@ -59,6 +60,7 @@ if:
           - renesas,r9a07g043-ostm
           - renesas,r9a07g044-ostm
           - renesas,r9a07g054-ostm
+          - renesas,r9a09g056-ostm
           - renesas,r9a09g057-ostm
 then:
   required:
-- 
2.49.0
Re: [PATCH 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
Posted by Geert Uytterhoeven 9 months, 1 week ago
On Thu, 1 May 2025 at 14:37, Prabhakar <prabhakar.csengg@gmail.com> 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 include RZ/V2N in the list of compatibles for which the `resets`
> property is required.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- 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
>
> @@ -59,6 +60,7 @@ if:
>            - renesas,r9a07g043-ostm
>            - renesas,r9a07g044-ostm
>            - renesas,r9a07g054-ostm
> +          - renesas,r9a09g056-ostm
>            - renesas,r9a09g057-ostm

Looks like we have reached critical mass to invert the logic?

    not:
      contains:
        - renesas,r7s72100-ostm
        - renesas,r7s9210-ostm

?

>  then:
>    required:

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Re: [PATCH 1/2] dt-bindings: timer: renesas,ostm: Document RZ/V2N (R9A09G056) support
Posted by Lad, Prabhakar 9 months, 1 week ago
Hi Geert,

Thank you for the review.

On Fri, May 2, 2025 at 12:53 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> On Thu, 1 May 2025 at 14:37, Prabhakar <prabhakar.csengg@gmail.com> 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 include RZ/V2N in the list of compatibles for which the `resets`
> > property is required.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> > --- 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
> >
> > @@ -59,6 +60,7 @@ if:
> >            - renesas,r9a07g043-ostm
> >            - renesas,r9a07g044-ostm
> >            - renesas,r9a07g054-ostm
> > +          - renesas,r9a09g056-ostm
> >            - renesas,r9a09g057-ostm
>
> Looks like we have reached critical mass to invert the logic?
>
Agreed.

>     not:
>       contains:
>         - renesas,r7s72100-ostm
>         - renesas,r7s9210-ostm
>
> ?
>
OK, I will update it as above and send a v2.

Cheers,
Prabhakar