Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-12-09 Thread Marek Vasut
On 12/9/20 6:04 PM, Patrick DELAUNAY wrote: Hi, [...] I add a new property to be backward compatible (even it the combinaison is less clear) I protect regulator function call to avoid compilation issue for other platform. PS: after reading the refmanual, I also split VALOEN and VALOVAL bit

Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-12-09 Thread Patrick DELAUNAY
Hi Marek, On 12/9/20 5:22 PM, Patrick DELAUNAY wrote: -Original Message- From: Marek Vasut Sent: mardi 20 octobre 2020 12:21 On 10/16/20 6:32 PM, Patrick DELAUNAY wrote: Hi Marek, Hi, [...] On 10/15/20 2:49 PM, Patrick Delaunay wrote: On some board, the ID pin is not connected

Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-21 Thread Patrice CHOTARD
Hi Patrick On 10/15/20 2:49 PM, Patrick Delaunay wrote: > On some board, the ID pin is not connected so the B session must be > overridden with "u-boot,force_b_session_valid" but the VBus sensing > must continue to be handle. > > To managed it, this patch adds a new DT field >

Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-20 Thread Marek Vasut
On 10/16/20 6:32 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, [...] On 10/15/20 2:49 PM, Patrick Delaunay wrote: > On some board, the ID pin is not connected so the B session must be > overridden with "u-boot,force_b_session_valid" but the VBus sensing > must continue to be

RE: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-16 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: jeudi 15 octobre 2020 19:39 > > On 10/15/20 6:52 PM, Patrick DELAUNAY wrote: > > Hi, > > [...] > > >> On 10/15/20 2:49 PM, Patrick Delaunay wrote: > >>> On some board, the ID pin is not connected so the B session must be > >>> overridden with

Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-15 Thread Marek Vasut
On 10/15/20 6:52 PM, Patrick DELAUNAY wrote: Hi, [...] >> On 10/15/20 2:49 PM, Patrick Delaunay wrote: >>> On some board, the ID pin is not connected so the B session must be >>> overridden with "u-boot,force_b_session_valid" but the VBus sensing >>> must continue to be handle. >>> >>> To

RE: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-15 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: jeudi 15 octobre 2020 15:08 > > On 10/15/20 2:49 PM, Patrick Delaunay wrote: > > On some board, the ID pin is not connected so the B session must be > > overridden with "u-boot,force_b_session_valid" but the VBus sensing > > must continue to be handle. > >

Re: [PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-15 Thread Marek Vasut
On 10/15/20 2:49 PM, Patrick Delaunay wrote: > On some board, the ID pin is not connected so the B session must be > overridden with "u-boot,force_b_session_valid" but the VBus sensing > must continue to be handle. > > To managed it, this patch adds a new DT field > "u-boot,force-vbus-detection"

[PATCH] usb: dwc2: add "u-boot,force-vbus-detection" for stm32

2020-10-15 Thread Patrick Delaunay
On some board, the ID pin is not connected so the B session must be overridden with "u-boot,force_b_session_valid" but the VBus sensing must continue to be handle. To managed it, this patch adds a new DT field "u-boot,force-vbus-detection" to use with "u-boot,force_b_session_valid"