Re: [PATCH 03/19] dt-bindings: serial: renesas,rsci: Document RZ/G3E support

From: Conor Dooley

Date: Wed Oct 29 2025 - 13:20:12 EST


On Tue, Oct 28, 2025 at 08:26:08PM +0000, Biju Das wrote:
> Hi Conor Dooley,
>
> Thanks for the feedback.
>
> > -----Original Message-----
> > From: Conor Dooley <conor@xxxxxxxxxx>
> > Sent: 28 October 2025 19:52
> > Subject: Re: [PATCH 03/19] dt-bindings: serial: renesas,rsci: Document RZ/G3E support
> >
> > On Tue, Oct 28, 2025 at 07:41:33PM +0000, Biju Das wrote:
> > > > > + - if:
> > > > > + properties:
> > > > > + compatible:
> > > > > + contains:
> > > > > + enum:
> > > > > + - renesas,r9a09g047-rsci
> > > > > + - renesas,r9a09g047-rscif
> > > > > + then:
> > > > > + properties:
> > > > > + clocks:
> > > > > + minItems: 5
> > > > > +
> > > > > + clock-names:
> > > > > + minItems: 5
> > > > > +
> > > > > + required:
> > > > > + - resets
> > > > > + - reset-names
> > > >
> > > > Does this need an "else: properties: resets: false"? Or do other devices actually have resets too?
> > >
> > > It is not required as resets are optional for RZ/T2H and RZ/N2H.
> > > RZ/T2H and N2H does not have Resets.
> >
> > This is a contradiction. Either they are optional for these platforms or the platforms do not have
> > resets. Cannot be both!
>
> Some RSCI IP SoCs has resets and some does not have. From RSCI IP point of view
> this property is optional.
>
> I just try to avoid complex if else statements in dt schema by adding
> Per SoC properties.
>
> If you prefer else statements for resets, I can add that as well. Please let me know.

I would prefer that you do that, yes.

Attachment: signature.asc
Description: PGP signature