usb: of: add functions to bind a companion controller
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 21 Feb 2017 10:59:47 +0000 (19:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:24:48 +0000 (13:24 +0900)
commit5095cb89c62acc78b4cfaeb9a4072979d010510a
tree1ce6f59d08f8cd1e4fff9f67f93e6f931aff4233
parentcfd6ed4537a9e938fa76facecd4b9cd65b6d1563
usb: of: add functions to bind a companion controller

EHCI controllers will have a companion controller. However, on platform
bus, there was difficult to bind them in previous code. So, this
patch adds helper functions to bind them using a "companion" property.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/generic.txt
drivers/usb/core/of.c
include/linux/usb/of.h