mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
phy: rockchip: inno-usb2: fix suspend control for rk3568 phy0 host port
RK3568 USB2.0 PHY0 Host port is used for USB3.0 Host interface. When USB3.0 Host controller is working at super speed, it may still need the USB2.0 PHY0 to work in normal mode and get clks from the PHY0. So we select PHY suspend control from USB3.O Host controller utmi interface. Change-Id: I66df057e200d04f66082257d26120764c54af3cf Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -2833,7 +2833,8 @@ static const struct rockchip_usb2phy_cfg rk3568_phy_cfgs[] = {
|
||||
.utmi_ls = { 0x00c0, 5, 4, 0, 1 },
|
||||
},
|
||||
[USB2PHY_PORT_HOST] = {
|
||||
.phy_sus = { 0x0004, 8, 0, 0x1d2, 0x1d1 },
|
||||
/* Select suspend control from controller */
|
||||
.phy_sus = { 0x0004, 8, 0, 0x1d2, 0x1d2 },
|
||||
.ls_det_en = { 0x0080, 1, 1, 0, 1 },
|
||||
.ls_det_st = { 0x0084, 1, 1, 0, 1 },
|
||||
.ls_det_clr = { 0x0088, 1, 1, 0, 1 },
|
||||
|
||||
Reference in New Issue
Block a user