OSDN Git Service

phy: sun4i-usb: enable PHY0 dual route for V3s SoC
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 28 Sep 2017 09:33:49 +0000 (17:33 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Oct 2017 05:49:25 +0000 (11:19 +0530)
Allwinner V3s SoC also features the dual route of the first USB PHY.

Enable it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/allwinner/phy-sun4i-usb.c

index 1161e11..a2fbc7b 100644 (file)
@@ -926,6 +926,7 @@ static const struct sun4i_usb_phy_cfg sun8i_v3s_cfg = {
        .phyctl_offset = REG_PHYCTL_A33,
        .dedicated_clocks = true,
        .enable_pmu_unk1 = true,
+       .phy0_dual_route = true,
 };
 
 static const struct sun4i_usb_phy_cfg sun50i_a64_cfg = {