Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp-combo: fix sc8280xp PCS_USB offset

The PCS_USB register block lives at an offset of 0x300 from the PCS
region on SC8280XP so add the missing offset to avoid corrupting
unrelated registers on runtime suspend.

Note that this region should probably be described separately in the
binding.

Fixes: a2e927b0e50d ("phy: qcom-qmp-combo: Add sc8280xp USB/DP combo phys")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220919095700.2228-1-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Johan Hovold and committed by
Vinod Koul
f5d6b5d6 b8ecfbaf

+1
+1
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
··· 1243 1243 .vreg_list = qmp_phy_vreg_l, 1244 1244 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1245 1245 .regs = qmp_v4_usb3phy_regs_layout, 1246 + .pcs_usb_offset = 0x300, 1246 1247 1247 1248 .start_ctrl = SERDES_START | PCS_START, 1248 1249 .pwrdn_ctrl = SW_PWRDN,