Message ID | 20180702123423.55630-1-manu@freebsd.org |
---|---|
State | Accepted |
Commit | ff5d5cc2331033c8a6987bb644827b52484160d9 |
Delegated to: | Marek Vasut |
Headers | show |
Series | [U-Boot] usb: dwc2: Add brcm,bcm2708-usb compatible | expand |
On 07/02/2018 02:34 PM, Emmanuel Vadot wrote: > When using CONFIG_OF_BOARD on rpi to use the dtb provided by the > RaspberryPi Fundation, the compatible string isn't the same, resulting > in not-functional usb from u-boot. > > Signed-off-by: Oleksandr Tymoshenko <gonzo@FreeBSD.org> > Signed-off-by: Emmanuel Vadot <manu@freebsd.org> > --- > drivers/usb/host/dwc2.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c > index dd956110fc..cbe065bbaf 100644 > --- a/drivers/usb/host/dwc2.c > +++ b/drivers/usb/host/dwc2.c > @@ -1314,6 +1314,7 @@ struct dm_usb_ops dwc2_usb_ops = { > > static const struct udevice_id dwc2_usb_ids[] = { > { .compatible = "brcm,bcm2835-usb" }, > + { .compatible = "brcm,bcm2708-usb" }, > { .compatible = "snps,dwc2" }, > { } > }; > Applied, thanks
diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index dd956110fc..cbe065bbaf 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -1314,6 +1314,7 @@ struct dm_usb_ops dwc2_usb_ops = { static const struct udevice_id dwc2_usb_ids[] = { { .compatible = "brcm,bcm2835-usb" }, + { .compatible = "brcm,bcm2708-usb" }, { .compatible = "snps,dwc2" }, { } };