Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-23 Thread Stefan Wahren
Hi John, > John Youn hat am 23. August 2016 um 20:37 > geschrieben: > > > > How about we fall back to smaller defaults if the original values > fail? And don't configure more than the amount of endpoints. this sounds good. I would prefer to calculate the estimated gadget fifo size before conf

Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-23 Thread John Youn
On 8/22/2016 9:41 PM, Stefan Wahren wrote: > Hi John, > >> John Youn hat am 23. August 2016 um 00:08 >> geschrieben: >> >> >> On 8/22/2016 1:47 PM, Stefan Wahren wrote: >>> Hi John, >>> John Youn hat am 22. August 2016 um 22:06 geschrieben: On 8/20/2016 6:03 AM, Stefan W

Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-22 Thread Stefan Wahren
Hi John, > John Youn hat am 23. August 2016 um 00:08 > geschrieben: > > > On 8/22/2016 1:47 PM, Stefan Wahren wrote: > > Hi John, > > > >> John Youn hat am 22. August 2016 um 22:06 > >> geschrieben: > >> > >> > >> On 8/20/2016 6:03 AM, Stefan Wahren wrote: > >>> Hi John, > >>> > >>> > >> > >>

Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-22 Thread John Youn
On 8/22/2016 1:47 PM, Stefan Wahren wrote: > Hi John, > >> John Youn hat am 22. August 2016 um 22:06 >> geschrieben: >> >> >> On 8/20/2016 6:03 AM, Stefan Wahren wrote: >>> Hi John, >>> >>> >> >> Hi Stefan, >> >> Why doesn't DT work? I think all the properties are there to set >> these. > > it o

Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-22 Thread Stefan Wahren
Hi John, > John Youn hat am 22. August 2016 um 22:06 > geschrieben: > > > On 8/20/2016 6:03 AM, Stefan Wahren wrote: > > Hi John, > > > > > > Hi Stefan, > > Why doesn't DT work? I think all the properties are there to set > these. it only works for the future releases, not for existing DT

Re: [Bug] usb: dwc2: host function broken in OTG mode on bcm283x

2016-08-22 Thread John Youn
On 8/20/2016 6:03 AM, Stefan Wahren wrote: > Hi John, > > on bcm2835 in OTG mode the USB host function broken (USB devices don't > enumerate) with the following settings: > > CONFIG_USB=y > CONFIG_USB_OTG=y > CONFIG_USB_DWC2=y > CONFIG_USB_DWC2_DUAL_ROLE=y > CONFIG_USB_PHY=y > CONFIG_NOP_USB_XCEI