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

2021-03-17 Thread Marek Vasut
On 3/17/21 4:19 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 am unwanted 15 seconds delay when

[PATCH] Avoid delay when inializing 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 am unwanted 15 seconds delay when initializing the usb (one second per chann

Re: [PATCH] Avoid delay when inializing USB peripheral by dwc2.c

2021-03-17 Thread Marek Vasut
On 3/17/21 12:51 PM, João Loureiro wrote: When `usb start` is called, 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, as the documentation explains (`dr_mode = "peripheral"`). So to avoid an unwanted 15 secon