diff mbox series

[09/16] dt-bindings: serial: renesas,scif: Document r9a07g044 bindings

Message ID 20210514192218.13022-10-prabhakar.mahadev-lad.rj@bp.renesas.com
State Accepted
Commit 92e06e12212abe4b27ff18445a0f88e6b5236331
Headers show
Series Add new Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK support | expand

Commit Message

Prabhakar Mahadev Lad May 14, 2021, 7:22 p.m. UTC
Document R9A07G044 SoC variants, common compatiable string
"renesas,scif-r9a07g044" is added for RZ/G2L and RZ/G2LC SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 Documentation/devicetree/bindings/serial/renesas,scif.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring May 18, 2021, 1:33 a.m. UTC | #1
On Fri, 14 May 2021 20:22:11 +0100, Lad Prabhakar wrote:
> Document R9A07G044 SoC variants, common compatiable string

> "renesas,scif-r9a07g044" is added for RZ/G2L and RZ/G2LC SoC.

> 

> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>

> ---

>  Documentation/devicetree/bindings/serial/renesas,scif.yaml | 4 ++++

>  1 file changed, 4 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
Geert Uytterhoeven May 21, 2021, 1:26 p.m. UTC | #2
Hi Prabhakar,

On Fri, May 14, 2021 at 9:23 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document R9A07G044 SoC variants, common compatiable string

> "renesas,scif-r9a07g044" is added for RZ/G2L and RZ/G2LC SoC.

>

> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>


Thanks for your patch!

> --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml

> +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml

> @@ -64,6 +64,10 @@ properties:

>            - const: renesas,rcar-gen3-scif # R-Car Gen3 and RZ/G2

>            - const: renesas,scif           # generic SCIF compatible UART

>

> +      - items:

> +          - enum:

> +              - renesas,scif-r9a07g044      # RZ/G2{L,LC}

> +

>    reg:

>      maxItems: 1


Looks good to me.

Do interrupts and interrupt-names need to be updated?
The SCIF node added in "[PATCH 15/16] arm64: dts: renesas: Add initial
DTSI for RZ/G2{L,LC} SoC's" has 5 interrupts, while the bindings
support only 1, 4, or 6 interrupts.

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
Geert Uytterhoeven May 21, 2021, 3:15 p.m. UTC | #3
Hi Prabhakar,

On Fri, May 21, 2021 at 3:26 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> On Fri, May 14, 2021 at 9:23 PM Lad Prabhakar

> <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:

> > Document R9A07G044 SoC variants, common compatiable string

> > "renesas,scif-r9a07g044" is added for RZ/G2L and RZ/G2LC SoC.

> >

> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

> > Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>

>

> Thanks for your patch!

>

> > --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml

> > +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml

> > @@ -64,6 +64,10 @@ properties:

> >            - const: renesas,rcar-gen3-scif # R-Car Gen3 and RZ/G2

> >            - const: renesas,scif           # generic SCIF compatible UART

> >

> > +      - items:

> > +          - enum:

> > +              - renesas,scif-r9a07g044      # RZ/G2{L,LC}

> > +

> >    reg:

> >      maxItems: 1

>

> Looks good to me.

>

> Do interrupts and interrupt-names need to be updated?

> The SCIF node added in "[PATCH 15/16] arm64: dts: renesas: Add initial

> DTSI for RZ/G2{L,LC} SoC's" has 5 interrupts, while the bindings

> support only 1, 4, or 6 interrupts.


According to the SoC interrupt mapping, "tei" and "dri" share an
interrupt, so 6 interrupts is correct, and this part of the binding
does not need an update.

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


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
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index 22d76829f7ae..6b8731f7f2fb 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -64,6 +64,10 @@  properties:
           - const: renesas,rcar-gen3-scif # R-Car Gen3 and RZ/G2
           - const: renesas,scif           # generic SCIF compatible UART
 
+      - items:
+          - enum:
+              - renesas,scif-r9a07g044      # RZ/G2{L,LC}
+
   reg:
     maxItems: 1