Re: [PATCH] usb: dwc2: disable erroneous overcurrent condition

2017-10-17 Thread Minas Harutyunyan
On 10/16/2017 8:40 PM, Marek Vasut wrote: > On 10/16/2017 03:57 PM, Dinh Nguyen wrote: >> For the case where an external VBUS is used, we should enable the external >> VBUS comparator in the driver. This would prevent an unnecessary >> overcurrent error which would then disable the host port. >> >>

Re: [PATCH] usb: dwc2: disable erroneous overcurrent condition

2017-10-16 Thread Marek Vasut
On 10/16/2017 03:57 PM, Dinh Nguyen wrote: > For the case where an external VBUS is used, we should enable the external > VBUS comparator in the driver. This would prevent an unnecessary > overcurrent error which would then disable the host port. > > This patch uses the standard 'disable-over-curr

[PATCH] usb: dwc2: disable erroneous overcurrent condition

2017-10-16 Thread Dinh Nguyen
For the case where an external VBUS is used, we should enable the external VBUS comparator in the driver. This would prevent an unnecessary overcurrent error which would then disable the host port. This patch uses the standard 'disable-over-current' binding to allow of the option of disabling the