Re: [PATCH] Avoid delay when initializing USB peripheral by dwc2

2021-03-18 Thread Marek Vasut
On 3/17/21 4:52 PM, João Loureiro wrote: When `usb start` is called on the terminal, the dwc2 driver will try to start every USB device as host first, even if it is explicitly configured as peripheral in the device tree (dr_mode = "peripheral"). So to avoid an unwanted 15 seconds delay when init

[PATCH] Avoid delay when initializing USB peripheral by dwc2

2021-03-17 Thread João Loureiro
When `usb start` is called on the terminal, the dwc2 driver will try to start every USB device as host first, even if it is explicitly configured as peripheral in the device tree (dr_mode = "peripheral"). So to avoid an unwanted 15 seconds delay when initializing the usb (one second per channel =

[PATCH] Avoid delay when initializing USB peripheral by dwc2

2021-03-17 Thread João Loureiro
From: João Loureiro When `usb start` is called on the terminal, the dwc2 driver will try to start every USB device as host first, even if it is explicitly configured as peripheral in the device tree (dr_mode = "peripheral"). So to avoid an unwanted 15 seconds delay when initializing the usb (one