[PATCH] usb: dwc2: change compatible st,stm32mp1-hsotg to st,stm32mp15-hsotg

Marek Vasut marex at denx.de
Tue Feb 9 11:39:56 CET 2021


On 2/9/21 11:14 AM, Patrick Delaunay wrote:
Hi,

[...]

> diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c
> index e3871e381e..ecac80fc11 100644
> --- a/drivers/usb/gadget/dwc2_udc_otg.c
> +++ b/drivers/usb/gadget/dwc2_udc_otg.c
> @@ -1176,7 +1176,7 @@ static int dwc2_udc_otg_remove(struct udevice *dev)
>   static const struct udevice_id dwc2_udc_otg_ids[] = {
>   	{ .compatible = "snps,dwc2" },
>   	{ .compatible = "brcm,bcm2835-usb" },
> -	{ .compatible = "st,stm32mp1-hsotg",
> +	{ .compatible = "st,stm32mp15-hsotg",
>   	  .data = (ulong)dwc2_set_stm32mp1_hsotg_params },

I have to point out the obvious, DT is ABI, this breaks ABI. However, do 
we care about out-of-tree DTs here ?


More information about the U-Boot mailing list