FROMLIST: usb: dwc3: make usb2 phy utmi interface configurable
authorWilliam Wu <william.wu@rock-chips.com>
Wed, 3 Aug 2016 11:01:52 +0000 (19:01 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 17 Aug 2016 10:32:33 +0000 (18:32 +0800)
commit5d3af4826be2dde5bec88ff17b5007b2a1b52300
tree333c00a0f37515baa395d5f3237b62c9a9ad97cc
parent27f83eeb6b42631a4c9f18bf001e8ea914de7506
FROMLIST: usb: dwc3: make usb2 phy utmi interface configurable

Support to configure the UTMI+ PHY with an 8- or 16-bit
interface via DT. The UTMI+ PHY interface is a hardware
capability, and it's platform dependent. Normally, the
PHYIF can be configured during coreconsultant.

But for some specific USB cores(e.g. rk3399 SoC DWC3),
the default PHYIF configuration value is false, so we
need to reconfigure it by software.

Change-Id: I5c5a44dcd9ef4c3b8f2b722cd066819a2983fcfc
Signed-off-by: William Wu <william.wu@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Documentation/devicetree/bindings/usb/generic.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h