Re: [PATCH v7 12/14] usb: hcd: Adapt to OTG core

2016-05-11 Thread Peter Chen
On Mon, May 02, 2016 at 03:18:55PM +0300, Roger Quadros wrote: > Introduce usb_otg_add/remove_hcd() for use by host > controllers that are part of OTG/dual-role port. > > Non Device tree platforms can use the otg_dev argument > to specify the OTG controller device. If otg_dev is NULL > then the de

[PATCH v7 12/14] usb: hcd: Adapt to OTG core

2016-05-02 Thread Roger Quadros
Introduce usb_otg_add/remove_hcd() for use by host controllers that are part of OTG/dual-role port. Non Device tree platforms can use the otg_dev argument to specify the OTG controller device. If otg_dev is NULL then the device tree node's otg-controller property is used to get the otg_dev device.