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

dt-bindings: usb: renesas,usbhs: Add RZ/T2H and RZ/N2H support

Document the USBHS controller for the Renesas RZ/T2H (r9a09g077) and
RZ/N2H (r9a09g087) SoCs. While the USBHS block is similar to the one found
on the RZ/G2L SoC, it differs slightly in terms of interrupt configuration,
clock/reset requirements, and register bit definitions. Due to these
differences, a new compatible string `renesas,usbhs-r9a09g077` is
introduced for the RZ/T2H SoC.

The USBHS controller on the RZ/N2H (r9a09g087) SoC is identical to that on
the RZ/T2H, so it uses the `renesas,usbhs-r9a09g077` compatible string as
a fallback.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250805114730.2491238-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lad Prabhakar and committed by
Greg Kroah-Hartman
e58ebd14 784ad808

+25 -3
+25 -3
Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
··· 59 59 - renesas,usbhs-r8a77995 # R-Car D3 60 60 - const: renesas,rcar-gen3-usbhs 61 61 62 + - const: renesas,usbhs-r9a09g077 # RZ/T2H 63 + 64 + - items: 65 + - const: renesas,usbhs-r9a09g087 # RZ/N2H 66 + - const: renesas,usbhs-r9a09g077 # RZ/T2H 67 + 62 68 reg: 63 69 maxItems: 1 64 70 ··· 147 141 required: 148 142 - resets 149 143 else: 150 - properties: 151 - interrupts: 152 - maxItems: 1 144 + if: 145 + properties: 146 + compatible: 147 + contains: 148 + const: renesas,usbhs-r9a09g077 149 + then: 150 + properties: 151 + resets: false 152 + clocks: 153 + maxItems: 1 154 + interrupts: 155 + items: 156 + - description: USB function interrupt USB_FI 157 + - description: USB function DMA0 transmit completion interrupt USB_FDMA0 158 + - description: USB function DMA1 transmit completion interrupt USB_FDMA1 159 + else: 160 + properties: 161 + interrupts: 162 + maxItems: 1 153 163 154 164 additionalProperties: false 155 165