]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadf2fffb086d36e83f32e988e592e0b2525d674b
tree878d7bb291637e29cc24e1126463efb272ed5265
parentde73612f49640c7d56923dd5cc5276a91ea9dfcd
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