On 12/16/25 8:45 PM, Kaustabh Chakraborty wrote:
On 2025-12-16 11:13, Marek Vasut wrote:
On 10/17/25 5:30 PM, Kaustabh Chakraborty wrote:
Documentation [1] states that the default value of the dr_mode property
is "otg". In this driver however, this case is not handled. Add simple
logic to fall back to USB_DR_MODE_OTG if its reported to be
USB_DR_MODE_UNKNOWN.
Link:
https://elixir.bootlin.com/u-boot/v2025.10/source/dts/upstream/Bindings/usb/usb-drd.yaml#L23
[1]
Signed-off-by: Kaustabh Chakraborty <[email protected]>
How does the driver end up with "unknown" state in the first place ? What is
triggering this problem ? (this should be in the commit message)
When dr_mode is not defined in the device tree node.
It isn't marked as a mandatory node, and defaults to OTG. That's the
reason in the commit.
I will add this info in the commit message then.
Understood, thank you for the clarification.
+CC Ilias, I think Jerome was also syncing DWC3 recently ?