Re: [PATCH] usb: dwc3: respect role-switch-default-mode

2024-06-24 Thread Marek Vasut
On 6/24/24 1:41 PM, Caleb Connolly wrote: Hi Marek, On 24/06/2024 02:33, Marek Vasut wrote: On 6/21/24 4:11 AM, Caleb Connolly wrote: * Factor out the common pattern of checking the dr_mode property on    the usb node and it's parent * Respect the usb-role-switch property, rather than requirin

Re: [PATCH] usb: dwc3: respect role-switch-default-mode

2024-06-24 Thread Caleb Connolly
Hi Marek, On 24/06/2024 02:33, Marek Vasut wrote: On 6/21/24 4:11 AM, Caleb Connolly wrote: * Factor out the common pattern of checking the dr_mode property on    the usb node and it's parent * Respect the usb-role-switch property, rather than requiring dr_mode be    set * Override OTG mode wit

Re: [PATCH] usb: dwc3: respect role-switch-default-mode

2024-06-23 Thread Marek Vasut
On 6/21/24 4:11 AM, Caleb Connolly wrote: * Factor out the common pattern of checking the dr_mode property on the usb node and it's parent * Respect the usb-role-switch property, rather than requiring dr_mode be set * Override OTG mode with the value in role-switch-default-mode The devicet

[PATCH] usb: dwc3: respect role-switch-default-mode

2024-06-20 Thread Caleb Connolly
* Factor out the common pattern of checking the dr_mode property on the usb node and it's parent * Respect the usb-role-switch property, rather than requiring dr_mode be set * Override OTG mode with the value in role-switch-default-mode The devicetree bindings don't dictate that dr_mode is a r