[PATCH] usb: dwc3-generic: use DR_MODE_OTG when dr_mode isn't specified

Marek Vasut marex at denx.de
Wed Oct 16 13:22:47 CEST 2024


On 10/16/24 10:26 AM, Neil Armstrong wrote:
> The USB DRD bindingsa at [1] are clear, if not specified the dr_mode
> property defaults to otg, and this is how Linux behaves.
> 
> A cleanup is ongoing on the Linux Device Trees to remove dr_mode when
> set to "otg", so take this in account and do not fail anymore when
> dr_mode isn't specified in the glue or dwc3 node.
> 
> [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/usb-drd.yaml
> 
> Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
Is there a matching Linux kernel commit which implements this behavior 
in Linux ?


More information about the U-Boot mailing list