[PATCH v2] usb: gadget: dwc2: Move dr_mode check from of_to_plat() to bind()
Mattijs Korpershoek
mkorpershoek at kernel.org
Fri Jan 30 09:02:13 CET 2026
Hi,
On Thu, 29 Jan 2026 19:52:05 +0000, Jonas Karlman wrote:
> Rockchip RK3288 and RK3506 contain two DWC2 USB controllers, typically
> one controller use dr_mode=otg and the other one use dr_mode=host.
>
> With USB_GADGET_DWC2_OTG, DM_USB_GADGET and USB_DWC2 enabled this result
> in the dwc2-udc-otg driver binding to both controllers, however only one
> will probe due to use of dr_mode=host on the other one.
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] usb: gadget: dwc2: Move dr_mode check from of_to_plat() to bind()
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/e69841fa71d67c560d767b786f956bb6f2873130
--
Mattijs
More information about the U-Boot
mailing list