]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: dwc3-generic: Use combined glue and ctrl node for RK3588
authorJonas Karlman <jonas@kwiboo.se>
Sun, 12 Nov 2023 15:25:25 +0000 (15:25 +0000)
committerMarek Vasut <marex@denx.de>
Fri, 1 Dec 2023 13:06:12 +0000 (14:06 +0100)
Like Rockchip RK3328 and RK3568, the RK3588 also have a single node to
represent the glue and ctrl for USB 3.0.

Use rk_ops as driver data to select correct ctrl node for RK3588 DWC3.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/dwc3/dwc3-generic.c

index 744fde80694845edff3afddfe6ca31557383efff..6fb2de8a5acef3ba237039acb8e41190556e2ff0 100644 (file)
@@ -610,6 +610,7 @@ static const struct udevice_id dwc3_glue_ids[] = {
        { .compatible = "rockchip,rk3328-dwc3", .data = (ulong)&rk_ops },
        { .compatible = "rockchip,rk3399-dwc3" },
        { .compatible = "rockchip,rk3568-dwc3", .data = (ulong)&rk_ops },
+       { .compatible = "rockchip,rk3588-dwc3", .data = (ulong)&rk_ops },
        { .compatible = "qcom,dwc3" },
        { .compatible = "fsl,imx8mp-dwc3", .data = (ulong)&imx8mp_ops },
        { .compatible = "fsl,imx8mq-dwc3" },