usb: xhci-dwc3: Add USB2 PHY configuration
authorMark Kettenis <kettenis@openbsd.org>
Sun, 30 Jun 2019 16:01:55 +0000 (18:01 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
commit062790f461312f1b954ae876f85da8f6ce5fcc73
tree08387c88327ced8fc54ee35c88329dafc4bdebab
parentaaa8d6b1492297821c52bdc5074156a40198f300
usb: xhci-dwc3: Add USB2 PHY configuration

Configure USB2 PHY register based on "phy_type" property and
handle all the quirks that are relevant for Rockchip RK3399 SoCs.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/usb/host/xhci-dwc3.c