Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: renesas,usb-xhci: Document RZ/V2M support

Document the RZ/V2M SoC bindings.
The RZ/V2M SoC is a little different to the R-Car implementations.
You can access the registers associated with the currently set DRD mode,
therefore as part of init, we have to set the DRD mode to host.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230121145853.4792-2-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Biju Das and committed by
Greg Kroah-Hartman
e696d70f 331df1f3

+37 -4
+37 -4
Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml
··· 10 10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 11 11 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 12 12 13 - allOf: 14 - - $ref: "usb-xhci.yaml" 15 - 16 13 properties: 17 14 compatible: 18 15 oneOf: ··· 34 37 - renesas,xhci-r8a77965 # R-Car M3-N 35 38 - renesas,xhci-r8a77990 # R-Car E3 36 39 - const: renesas,rcar-gen3-xhci # R-Car Gen3 and RZ/G2 40 + - items: 41 + - enum: 42 + - renesas,r9a09g011-xhci # RZ/V2M 43 + - renesas,r9a09g055-xhci # RZ/V2MA 44 + - const: renesas,rzv2m-xhci # RZ/{V2M, V2MA} 37 45 38 46 reg: 39 47 maxItems: 1 ··· 47 45 maxItems: 1 48 46 49 47 clocks: 50 - maxItems: 1 48 + minItems: 1 49 + items: 50 + - description: Main clock for host 51 + - description: Register access clock 52 + 53 + clock-names: 54 + minItems: 1 55 + items: 56 + - const: axi 57 + - const: reg 51 58 52 59 phys: 53 60 maxItems: 1 ··· 78 67 - clocks 79 68 - power-domains 80 69 - resets 70 + 71 + allOf: 72 + - $ref: usb-xhci.yaml 73 + 74 + - if: 75 + properties: 76 + compatible: 77 + contains: 78 + enum: 79 + - renesas,rzv2m-xhci 80 + then: 81 + properties: 82 + clocks: 83 + minItems: 2 84 + clock-names: 85 + minItems: 2 86 + required: 87 + - clock-names 88 + else: 89 + properties: 90 + clocks: 91 + maxItems: 1 81 92 82 93 unevaluatedProperties: false 83 94