usb: dwc3: make usb2 phy utmi interface configurable
authorWilliam Wu <william.wu@rock-chips.com>
Tue, 16 Aug 2016 14:44:38 +0000 (22:44 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:11 +0000 (12:13 +0300)
commit32f2ed864dd523bca2ee804effa9f3f43aa03ba6
tree878d7bb291637e29cc24e1126463efb272ed5265
parent16199f33893922db8de8d3460384291b853051ec
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.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/usb/generic.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h