[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <TYBPR01MB534186DAE4EE2599520865E4D8329@TYBPR01MB5341.jpnprd01.prod.outlook.com>
Date: Fri, 28 Oct 2022 04:17:24 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"pabeni@...hat.com" <pabeni@...hat.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>
CC: "netdev@...r.kernel.org" <netdev@...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 v5 1/3] dt-bindings: net: renesas: Document Renesas
Ethernet Switch
Hi Krzysztof,
> From: Krzysztof Kozlowski, Sent: Friday, October 28, 2022 10:28 AM
>
> On 27/10/2022 09:40, Yoshihiro Shimoda wrote:
> > Document Renesas Etherent Switch for R-Car S4-8 (r8a779f0).
> >
> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
> > ---
>
> > +
> > + ethernet-ports:
> > + type: object
> > + additionalProperties: false
> > +
> > + properties:
> > + '#address-cells':
> > + description: Port number of ETHA (TSNA).
> > + const: 1
> > +
> > + '#size-cells':
> > + const: 0
> > +
> > + patternProperties:
> > + "^port@[0-9a-f]+$":
> > + type: object
> > + $ref: /schemas/net/ethernet-controller.yaml#
> > + unevaluatedProperties: false
> > +
> > + properties:
> > + reg:
> > + description:
> > + Port number of ETHA (TSNA).
>
> I think you need here "maxItems: 1" as no schema sets the limit. I did
> not notice it before.
I got it. I'll add it on v6.
Best regards,
Yoshihiro Shimoda
> > +
> > + phys:
> > + maxItems: 1
> > + description:
> > + Phandle of an Ethernet SERDES.
> > +
>
> Best regards,
> Krzysztof
Powered by blists - more mailing lists