[U-Boot] [PATCH] usb: dwc2_udc_otg: Add gotgctl customization
Marek Vasut
marex at denx.de
Mon Mar 19 09:52:11 UTC 2018
On 03/19/2018 09:05 AM, Patrice CHOTARD wrote:
> Hi Marek
Hi,
> On 03/16/2018 05:28 PM, Marek Vasut wrote:
>> On 03/16/2018 01:27 PM, Patrice Chotard wrote:
>>> Allow passing in a custom configuration of the gotgctl
>>> register via platform data.
>>> This allows for example to override the A/B session valid signals
>>> by setting AvalidOvEn / AvalidOvVal and BvalidOvEn / BvalidOvVal
>>> bits in GOTGCTL reg.
>>
>> If you need to override those, doesn't it mean the device is broken?
>
> We have a board with a specific wiring. Forcing A/B session valid
> signals is the solution to make device mode working on this setup.
Meaning your OTG ID detection is broken, right ?
>> btw can we start moving this to DT instead ?
>
> Yes for sure, i will send a v2
Thanks
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list