usb: dwc2: Add original Synopsys compat string
PATCH 1/2 usb: dwc2: Add original Synopsys compat string
Add the Synopsys compatible string. This is used in SoCFPGA DT files.
Signed-off-by Marek Vasut <[email protected]>
--- drivers/usb/host/dwc2.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/dwc2.c +1 -0
@@ -1113,6 +1113,7 @@ struct dm_usb_ops dwc2_usb_ops = {static const struct udevice_id dwc2_usb_ids[] = { { .compatible ="brcm,bcm2835-usb" }, + { .compatible ="snps,dwc2" }, { } };
Signature · 1 line
2.1.4
PATCH 2/2 usb: dwc2: Rename to dwc2_usb
This driver is not used only on exynos, but also on Altera SoCFPGA, HiSilicon SoCs, RPi etc, so rename it accordingly to prevent confusion.
Signed-off-by Marek Vasut <[email protected]>
--- drivers/usb/host/dwc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/dwc2.c +1 -1
@@ -1118,7 +1118,7 @@ static const struct udevice_id dwc2_usb_ids[] = { };U_BOOT_DRIVER (usb_dwc2) = { - .name ="dwc2_exynos" , + .name ="dwc2_usb" , .id =UCLASS_USB , .of_match = dwc2_usb_ids, .ofdata_to_platdata = dwc2_usb_ofdata_to_platdata,
Signature · 1 line
2.1.4
Marek Vasut
AppliedPATCH 1/2 usb: dwc2: Add original Synopsys compat string
In reply to Marek VasutQuoted 3 lines · Marek Vasut
Add the Synopsys compatible string. This is used in SoCFPGA DT files.
Signed-off-by Marek Vasut <[email protected]>
Applied both, thanks.
Best regards,
Marek Vasut