Skip to content

Commit

Permalink
dt-bindings: usb: renesas,usbhs: Document RZ/G2L bindings
Browse files Browse the repository at this point in the history
Document RZ/G2L (R9A07G044L) SoC bindings.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210727185527.19907-6-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Biju Das authored and Greg Kroah-Hartman committed Aug 5, 2021
1 parent 9c0edd5 commit 177cd47
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -108,6 +111,25 @@ 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:
Expand Down

0 comments on commit 177cd47

Please sign in to comment.