]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: dwc2: change compatible st,stm32mp1-hsotg to st,stm32mp15-hsotg
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 9 Feb 2021 10:14:46 +0000 (11:14 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 10 Feb 2021 21:23:35 +0000 (22:23 +0100)
The Linux kernel v5.7-rc1 introduced the compatible "st,stm32mp15-hsotg".

See Linux kernel commit d49850110434 ("dt-bindings: usb: dwc2: add
support for STM32MP15 SoCs USB OTG HS and FS")

This patch updates the supported compatible in DWC2 driver,
removes the add-on done in U-Boot dtsi and keeps the compatible
defined in SOC dtsi arch/arm/dts/stm32mp151.dtsi:

usbotg_hs: usb-otg@49000000 {
compatible = "st,stm32mp15-hsotg", "snps,dwc2";
reg = <0x49000000 0x10000>;
...
};

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15-u-boot.dtsi
drivers/usb/gadget/dwc2_udc_otg.c

index d0aa5eabe5ef054e01f233263f29294b2552c781..43a7909978d8b4020186d395758c20fa8ad10250 100644 (file)
        resets = <&rcc UART8_R>;
 };
 
-&usbotg_hs {
-       compatible = "st,stm32mp1-hsotg", "snps,dwc2";
-};
index e3871e381e1493633432162532367e7717c63199..ecac80fc116666c14c0af42b4d6f4669de0f3f4d 100644 (file)
@@ -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 },
        {},
 };