lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
 <TY3PR01MB113468BD2EF1FDF310EC3B3CF8666A@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Date: Fri, 6 Feb 2026 09:00:49 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, biju.das.au <biju.das.au@...il.com>
CC: Thomas Gleixner <tglx@...nel.org>, Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
	Geert Uytterhoeven <geert+renesas@...der.be>, magnus.damm
	<magnus.damm@...il.com>, Prabhakar Mahadev Lad
	<prabhakar.mahadev-lad.rj@...renesas.com>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, "linux-renesas-soc@...r.kernel.org"
	<linux-renesas-soc@...r.kernel.org>
Subject: RE: [PATCH v2 2/9] dt-bindings: interrupt-controller:
 renesas,rzg2l-irqc: Document RZ/G3L SoC

Hi Krzysztof Kozlowski,

Thanks for the feedback.

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@...nel.org>
> Sent: 05 February 2026 13:39
> Subject: Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Document RZ/G3L SoC
> 
> On Wed, Feb 04, 2026 at 06:06:18PM +0000, Biju wrote:
> > From: Biju Das <biju.das.jz@...renesas.com>
> >
> > Document RZ/G3L (R9A08G046) IRQC bindings. The IRQC block on RZ/G3L
> > SoC is almost identical to one found on the RZ/G3S SoC with the
> > difference like it support more External IRQs, GPT Error Interrupts
> > and also has additional registers for GPT/MTU IRQ selection, shared
> > IRQ selection between external IRQ and TINT. Hence new generic
> > compatible string "renesas,r9a08g046-irqc" is added for RZ/G3L SoC.
> >
> > Signed-off-by: Biju Das <biju.das.jz@...renesas.com>
> > ---
> > v1->v2:
> >  * Simplified the binding using pattern
> > ---
> >  .../renesas,rzg2l-irqc.yaml                   | 42 +++++++++++++++----
> >  1 file changed, 35 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 a0b57d808639..311741122b05 100644
> > ---
> > a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l
> > -irqc.yaml
> > +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,r
> > +++ zg2l-irqc.yaml
> > @@ -30,7 +30,10 @@ properties:
> >                - renesas,r9a08g045-irqc     # RZ/G3S
> >            - const: renesas,rzg2l-irqc
> >
> > -      - const: renesas,r9a07g043f-irqc     # RZ/Five
> > +      - items:
> 
> Drop items. The point was to simplify, so just enum.

Agreed.

> 
> > +          - enum:
> > +              - renesas,r9a07g043f-irqc    # RZ/Five
> > +              - renesas,r9a08g046-irqc     # RZ/G3L
> >
> >    '#interrupt-cells':
> >      description: The first cell should contain a macro
> > RZG2L_{NMI,IRQX} included in the @@ -48,17 +51,17 @@ properties:
> >
> >    interrupts:
> >      minItems: 45
> > -    maxItems: 48
> > +    maxItems: 61
> >
> >    interrupt-names:
> >      minItems: 45
> > -    maxItems: 48
> > +    maxItems: 61
> >      items:
> >        oneOf:
> >          - description: NMI interrupt
> >            const: nmi
> >          - description: External IRQ interrupt
> > -          pattern: '^irq([0-7])$'
> > +          pattern: '^irq([0-9]|1[0-5])$'
> >          - description: GPIO interrupt
> >            pattern: '^tint([0-9]|1[0-9]|2[0-9]|3[0-1])$'
> >          - description: Bus error interrupt @@ -75,6 +78,8 @@
> > properties:
> >            const: ec7tie2-1
> >          - description: ECCRAM1 error overflow interrupt
> >            const: ec7tiovf-1
> > +        - description: Integrated GPT Error interrupt
> > +          pattern: '^ovfunf([0-7])$'
> >
> >    clocks:
> >      maxItems: 2
> > @@ -106,6 +111,22 @@ required:
> >  allOf:
> >    - $ref: /schemas/interrupt-controller.yaml#
> >
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            enum:
> > +              - renesas,r9a07g043f-irqc
> > +              - renesas,r9a07g043u-irqc
> > +              - renesas,r9a07g044-irqc
> > +              - renesas,r9a07g054-irqc
> > +    then:
> > +      properties:
> > +        interrupts:
> 
> Missing minitems. Previously it was not 45, was it?

Will add maxItems: 48 as well.

> 
> > +          maxItems: 48
> > +        interrupt-names:
> > +          maxItems: 48
> > +
> >    - if:
> >        properties:
> >          compatible:
> > @@ -118,12 +139,19 @@ allOf:
> >            maxItems: 45
> >          interrupt-names:
> >            maxItems: 45
> > -    else:
> > +
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            enum:
> > +              - renesas,r9a08g046-irqc
> > +    then:
> >        properties:
> >          interrupts:
> > -          minItems: 48
> > +          maxItems: 61
> 
> minItems instead. Just like it was in the old code.

Agreed. Will send V3 with these changes.

Cheers,
Biju

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ