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

2024-10-17 Thread Neil Armstrong
On 17/10/2024 15:52, Marek Vasut wrote: On 10/17/24 1:07 PM, Caleb Connolly wrote: On 16/10/2024 10:26, Neil Armstrong via groups.io 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. I guess this is (kind of?

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

2024-10-17 Thread Marek Vasut
On 10/17/24 1:07 PM, Caleb Connolly wrote: On 16/10/2024 10:26, Neil Armstrong via groups.io 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. I guess this is (kind of?) a subset of https://lore.kernel.org/u-

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

2024-10-17 Thread Caleb Connolly
On 16/10/2024 10:26, Neil Armstrong via groups.io 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. I guess this is (kind of?) a subset of https://lore.kernel.org/u-boot/20240621021135.1600847-2-caleb.conno..

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

2024-10-16 Thread Neil Armstrong
Hi, On 16/10/2024 13:22, Marek Vasut wrote: 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 "ot

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

2024-10-16 Thread Marek Vasut
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 an

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

2024-10-16 Thread Neil Armstrong
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