usb: dwc3: make usb2 phy interface configurable in DT
authorWu Liang feng <wulf@rock-chips.com>
Thu, 24 Mar 2016 07:38:02 +0000 (15:38 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 24 Mar 2016 08:37:59 +0000 (16:37 +0800)
commit2ef6df639e07b312f9cde351ba4a5d28c0009a82
treedd195c9d62f2deeba558d545f1b96b81832479e1
parentea8f0b113f549f7f89041890212136bcd13a3772
usb: dwc3: make usb2 phy interface configurable in DT

Add snps,phyif_utmi_16_bits devicetree property. USB2 phy
interface is hardware property, and it's platform dependent,
so we need to configure it in devicetree to set the core to
support a UTMI+ PHY with an 8- or 16-bit interface.

And according to dwc3 databook, the GUSB2PHYCFG.USBTRDTIM
must set to the required values for the usb2 phy interface.

Change-Id: If1c636edc6be3c9a79b4b0b89737a925d8dd3abe
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/platform_data.h