Message ID | 20240403203503.634465-2-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | Add IAX45 support for RZ/Five SoC | expand |
On 03/04/2024 22:34, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Document RZ/Five (R9A07G043F) IRQC bindings. The IRQC block on the RZ/Five > SoC is almost identical to the one found on the RZ/G2L SoC, with the only > difference being that it has additional mask control registers for > NMI/IRQ/TINT. > > Hence new compatible string "renesas,r9a07g043f-irqc" is added for RZ/Five > SoC. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > v1->v2 > - Dropped the checks for interrupts as its already handled > - Added SoC specific compat string > --- > .../renesas,rzg2l-irqc.yaml | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml > index daef4ee06f4e..2a871cbf6f87 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml > @@ -21,13 +21,16 @@ description: | > > properties: > compatible: > - items: > - - enum: > - - renesas,r9a07g043u-irqc # RZ/G2UL > - - renesas,r9a07g044-irqc # RZ/G2{L,LC} > - - renesas,r9a07g054-irqc # RZ/V2L > - - renesas,r9a08g045-irqc # RZ/G3S > - - const: renesas,rzg2l-irqc > + oneOf: > + - items: > + - enum: > + - renesas,r9a07g043u-irqc # RZ/G2UL > + - renesas,r9a07g044-irqc # RZ/G2{L,LC} > + - renesas,r9a07g054-irqc # RZ/V2L > + - renesas,r9a08g045-irqc # RZ/G3S > + - const: renesas,rzg2l-irqc > + - items: This is just const, no need for items. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Wed, Apr 3, 2024 at 10:36 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Document RZ/Five (R9A07G043F) IRQC bindings. The IRQC block on the RZ/Five > SoC is almost identical to the one found on the RZ/G2L SoC, with the only > difference being that it has additional mask control registers for > NMI/IRQ/TINT. > > Hence new compatible string "renesas,r9a07g043f-irqc" is added for RZ/Five > SoC. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > v1->v2 > - Dropped the checks for interrupts as its already handled > - Added SoC specific compat string Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml index daef4ee06f4e..2a871cbf6f87 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml @@ -21,13 +21,16 @@ description: | properties: compatible: - items: - - enum: - - renesas,r9a07g043u-irqc # RZ/G2UL - - renesas,r9a07g044-irqc # RZ/G2{L,LC} - - renesas,r9a07g054-irqc # RZ/V2L - - renesas,r9a08g045-irqc # RZ/G3S - - const: renesas,rzg2l-irqc + oneOf: + - items: + - enum: + - renesas,r9a07g043u-irqc # RZ/G2UL + - renesas,r9a07g044-irqc # RZ/G2{L,LC} + - renesas,r9a07g054-irqc # RZ/V2L + - renesas,r9a08g045-irqc # RZ/G3S + - const: renesas,rzg2l-irqc + - items: + - const: renesas,r9a07g043f-irqc # RZ/Five '#interrupt-cells': description: The first cell should contain a macro RZG2L_{NMI,IRQX} included in the