On Mon, Jul 19, 2021 at 01:19:37PM +0100, Biju Das wrote: > Document RZ/G2L (R9A07G044L) SoC bindings. > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > --- > v3->v4: > * Added maxitems in interrupt property as per Rob's suggestion. > v3: > * Updated the bindings as per the USBPHY control IP. > --- > .../bindings/usb/renesas,usbhs.yaml | 22 +++++++++++++++++-- > 1 file changed, 20 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml > index ad73339ffe1d..a85ad392d443 100644 > --- a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml > +++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml > @@ -17,7 +17,9 @@ properties: > - const: renesas,rza1-usbhs > > - items: > - - const: renesas,usbhs-r7s9210 # RZ/A2 > + - enum: > + - renesas,usbhs-r7s9210 # RZ/A2 > + - renesas,usbhs-r9a07g044 # RZ/G2{L,LC} > - const: renesas,rza2-usbhs > > - items: > @@ -59,7 +61,8 @@ properties: > - description: USB 2.0 clock selector > > interrupts: > - maxItems: 1 > + minItems: 1 > + maxItems: 4 > > renesas,buswait: > $ref: /schemas/types.yaml#/definitions/uint32 > @@ -108,6 +111,21 @@ required: > - clocks > - interrupts > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: renesas,usbhs-r9a07g044 > + then: > + properties: > + interrupts: > + items: > + - description: U2P_IXL_INT > + - description: U2P_INT_DMA[0] > + - description: U2P_INT_DMA[1] > + - description: U2P_INT_DMAERR else: properties: interrupts: maxItems: 1 > + > additionalProperties: false > > examples: > -- > 2.17.1 > >