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

From: Rob Herring
Date: Wed May 04 2016 - 09:15:40 EST


On Mon, May 02, 2016 at 03:18:52PM +0300, Roger Quadros wrote:
> The OTG controller and the USB controller an 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 <rogerq@xxxxxx>
> ---
> Documentation/devicetree/bindings/usb/generic.txt | 3 +++
> drivers/usb/common/common.c | 27 +++++++++++++++++++++++
> include/linux/usb/of.h | 9 ++++++++
> 3 files changed, 39 insertions(+)

Acked-by: Rob Herring <robh@xxxxxxxxxx>