Re: [PATCH v10 09/14] usb: of: add an API to get OTG device from USB controller node

2016-06-13 Thread Roger Quadros
On 13/06/16 11:13, Jun Li wrote: > Hi > >> diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c >> index e3d0161..d7ec471 100644 >> --- a/drivers/usb/common/common.c >> +++ b/drivers/usb/common/common.c >> @@ -238,6 +238,33 @@ int of_usb_update_otg_caps(struct device_node *np,

RE: [PATCH v10 09/14] usb: of: add an API to get OTG device from USB controller node

2016-06-13 Thread Jun Li
Hi > diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c > index e3d0161..d7ec471 100644 > --- a/drivers/usb/common/common.c > +++ b/drivers/usb/common/common.c > @@ -238,6 +238,33 @@ int of_usb_update_otg_caps(struct device_node *np, } >

[PATCH v10 09/14] usb: of: add an API to get OTG device from USB controller node

2016-06-10 Thread Roger Quadros
The OTG controller and the USB controller can be linked via the 'otg-controller' property in the USB controller's device node. of_usb_get_otg() can be used to get the OTG controller device from the USB controller's device node. Signed-off-by: Roger Quadros Acked-by: Peter Chen