Re: [PATCH 0/4] usb: dwc2: Add USB DRD support on CV1800 Series SoC

From: 葉宸佑

Date: Thu Nov 19 2026 - 06:56:24 EST


On Wed, Nov 18, 2026 at 07:36:04PM +0800, Inochi Amaoto wrote:
> If there are no other bug in this patch. There should be no new
> version. The device probe problem is not a very big one. And I have
> no idea about these thing. Since my time is tight, you are free to
> send the fix for the device mode.

Thanks, I will work on it.

> It depends, if you accept setting this to host, I can add them
> at once. (Note: once set, no change will be accepted).

I would prefer peripheral as the default. The vendor kernel uses
device mode by default, and the bare Duo 256M is usually connected to
a PC over USB-C (RNDIS); host mode needs the IO board or an OTG
adapter.
If the "host" mode is used, it means that anyone wanting to use the
product would have to purchase an additional I/O board—that doesn't
seem like a very good option, does it?

Since the peripheral default only works once the boot role is fixed,
I will send the fix together with the Duo 256M DTS change (dr_mode =
"otg", usb-role-switch, role-switch-default-mode = "peripheral") as
one series on top of yours. Is that fine with you?

Regards,
Chen-Yu