On 4/13/2016 11:52 AM, Dinh Nguyen wrote:
> On 04/13/2016 11:23 AM, Stefan Wahren wrote:
>
>>> + hsotg->reset = devm_reset_control_get(hsotg->dev, "dwc2");
>>
>> shouldn't this be documented in
>> Documentation/devicetree/bindings/usb/dwc2.txt ?
>>
>
> Sure, I can document it.
>
>>> + if
On 04/13/2016 11:23 AM, Stefan Wahren wrote:
>> +hsotg->reset = devm_reset_control_get(hsotg->dev, "dwc2");
>
> shouldn't this be documented in
> Documentation/devicetree/bindings/usb/dwc2.txt ?
>
Sure, I can document it.
>> +if (IS_ERR(hsotg->reset)) {
>> +
Hi Dinh,
> From: Dinh Nguyen
>
> Allow for platforms that have a reset controller driver in place to bring the
> USB IP out of reset.
>
> Signed-off-by: Dinh Nguyen
> diff --git a/drivers/usb/dwc2/platform.c