mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
usb: dwc2: change compatible st,stm32mp1-hsotg to st,stm32mp15-hsotg
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>
This commit is contained in:
parent
cec804251d
commit
db8fb2ffc4
@ -228,6 +228,3 @@
|
|||||||
resets = <&rcc UART8_R>;
|
resets = <&rcc UART8_R>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbotg_hs {
|
|
||||||
compatible = "st,stm32mp1-hsotg", "snps,dwc2";
|
|
||||||
};
|
|
||||||
|
@ -1176,7 +1176,7 @@ static int dwc2_udc_otg_remove(struct udevice *dev)
|
|||||||
static const struct udevice_id dwc2_udc_otg_ids[] = {
|
static const struct udevice_id dwc2_udc_otg_ids[] = {
|
||||||
{ .compatible = "snps,dwc2" },
|
{ .compatible = "snps,dwc2" },
|
||||||
{ .compatible = "brcm,bcm2835-usb" },
|
{ .compatible = "brcm,bcm2835-usb" },
|
||||||
{ .compatible = "st,stm32mp1-hsotg",
|
{ .compatible = "st,stm32mp15-hsotg",
|
||||||
.data = (ulong)dwc2_set_stm32mp1_hsotg_params },
|
.data = (ulong)dwc2_set_stm32mp1_hsotg_params },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user