]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
usb: renesas_usbhs: Add support for RZ/T2H SoC
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 5 Aug 2025 11:47:30 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Aug 2025 14:55:22 +0000 (16:55 +0200)
Add support for the Renesas RZ/T2H (r9a09g077) SoC by adding a compatible
string to the usbhs_of_match table. The USBHS controller on the RZ/T2H is
functionally similar to the one found on the RZ/G2L. While there are minor
differences in register fields (for example, the AWAIT[8:13] bits in
SYSCFG1 register), the current driver does not configure these, allowing
reuse of the existing usbhs_rzg2l_plat_info for the RZ/T2H.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20250805114730.2491238-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c

index 18a6ef4dce517f0cef418f386c7ae5f97db59031..8f536f2c500f7b8da6ac44adaa5200fe8f92d609 100644 (file)
@@ -579,6 +579,10 @@ static const struct of_device_id usbhs_of_match[] = {
                .compatible = "renesas,usbhs-r9a07g054",
                .data = &usbhs_rzg2l_plat_info,
        },
+       {
+               .compatible = "renesas,usbhs-r9a09g077",
+               .data = &usbhs_rzg2l_plat_info,
+       },
        {
                .compatible = "renesas,rcar-gen2-usbhs",
                .data = &usbhs_rcar_gen2_plat_info,