Skip to content

Commit c957b7d

Browse files
Icenowykishon
authored andcommitted
phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY
Allwinner A64 SoC features a switchable PHY0 like the one in H3, which can switch between a MUSB controller and a pair of OHCI/EHCI controller. Enable PHY0 route auto switching for A64. Signed-off-by: Icenowy Zheng <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent 441a681 commit c957b7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/phy/phy-sun4i-usb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ static const struct sun4i_usb_phy_cfg sun50i_a64_cfg = {
858858
.phyctl_offset = REG_PHYCTL_A33,
859859
.dedicated_clocks = true,
860860
.enable_pmu_unk1 = true,
861+
.phy0_dual_route = true,
861862
};
862863

863864
static const struct of_device_id sun4i_usb_phy_of_match[] = {

0 commit comments

Comments
 (0)