[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+V-a8t3rjKya9BwLfUiLvJtfPLavV9+MxstYTrFpxyNtkvzZA@mail.gmail.com>
Date: Mon, 9 Jun 2025 17:24:53 +0100
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Chris Brandt <chris.brandt@...esas.com>, Andi Shyti <andi.shyti@...nel.org>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Magnus Damm <magnus.damm@...il.com>, Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-renesas-soc@...r.kernel.org, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Biju Das <biju.das.jz@...renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@...esas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: Re: [PATCH 2/6] dt-bindings: i2c: renesas,riic: Document RZ/T2H support
Hi Geert,
Thank you for the review.
On Fri, Jun 6, 2025 at 2:21 PM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, 30 May 2025 at 16:31, Prabhakar <prabhakar.csengg@...il.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> >
> > Document support for the I2C Bus Interface (RIIC) found on the Renesas
> > RZ/T2H (R9A09G077) SoC. The RIIC IP on this SoC is similar to that on
> > the RZ/V2H(P) SoC but supports fewer interrupts, lacks FM+ support and
> > does not require resets. Due to these differences, add a new compatible
> > string `renesas,riic-r9a09g077` for the RZ/T2H SoC.
> >
> > Unlike earlier SoCs that use eight distinct interrupts, the RZ/T2H uses
> > only four, including a combined error/event interrupt. Update the binding
> > schema to reflect this interrupt layout and skip the `resets` property
> > check, as it is not required on these SoCs.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
>
> Thanks for your patch!
>
> > --- a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml
> > +++ b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml
> > @@ -29,32 +29,46 @@ properties:
> > - renesas,riic-r9a09g056 # RZ/V2N
> > - const: renesas,riic-r9a09g057 # RZ/V2H(P)
> >
> > - - const: renesas,riic-r9a09g057 # RZ/V2H(P)
> > + - enum:
> > + - renesas,riic-r9a09g057 # RZ/V2H(P)
> > + - renesas,riic-r9a09g077 # RZ/T2H
> >
> > reg:
> > maxItems: 1
> >
> > interrupts:
> > - items:
> > - - description: Transmit End Interrupt
> > - - description: Receive Data Full Interrupt
> > - - description: Transmit Data Empty Interrupt
> > - - description: Stop Condition Detection Interrupt
> > - - description: Start Condition Detection Interrupt
> > - - description: NACK Reception Interrupt
> > - - description: Arbitration-Lost Interrupt
> > - - description: Timeout Interrupt
> > + oneOf:
> > + - items:
> > + - description: Transmit End Interrupt
> > + - description: Receive Data Full Interrupt
> > + - description: Transmit Data Empty Interrupt
> > + - description: Stop Condition Detection Interrupt
> > + - description: Start Condition Detection Interrupt
> > + - description: NACK Reception Interrupt
> > + - description: Arbitration-Lost Interrupt
> > + - description: Timeout Interrupt
> > + - items:
> > + - description: Transmit End Interrupt
> > + - description: Receive Data Full Interrupt
> > + - description: Transmit Data Empty Interrupt
> > + - description: Transmit error or event Interrupt
>
> Nit: the documentation calls it "Transfer error or event generation".
>
Agreed I will update it to `Transmit Error Or Event Generation`.
> >
> > interrupt-names:
> > - items:
> > - - const: tei
> > - - const: ri
> > - - const: ti
> > - - const: spi
> > - - const: sti
> > - - const: naki
> > - - const: ali
> > - - const: tmoi
> > + oneOf:
> > + - items:
> > + - const: tei
> > + - const: ri
> > + - const: ti
> > + - const: spi
> > + - const: sti
> > + - const: naki
> > + - const: ali
> > + - const: tmoi
> > + - items:
> > + - const: tei
> > + - const: ri
> > + - const: ti
>
> Given you have a new set of names, perhaps "rxi" and "txi",
> to match the documentation?
>
Ok.
> > + - const: eei
>
> Perhaps use the order from the documentation: eei, rxi, txi, tei?
>
Agreed, I will update it as mentioned above,
- items:
- const: eei
- const: rxi
- const: txi
- const: tei
Cheers,
Prabhakar
Powered by blists - more mailing lists