twx-linux/drivers/phy
Piyush Mehta 24775bfdf4 phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume
[ Upstream commit 5af9b304bc6010723c02f74de0bfd24ff19b1a10 ]

On a few Kria KR260 Robotics Starter Kit the PS-GEM SGMII linkup is not
happening after the resume. This is because serdes registers are reset
when FPD is off (in suspend state) and needs to be reprogrammed in the
resume path with the same default initialization as done in the first
stage bootloader psu_init routine.

To address the failure introduce a set of serdes registers to be saved in
the suspend path and then restore it on resume.

Fixes: 4a33bea00314 ("phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver")
Signed-off-by: Piyush Mehta <piyush.mehta@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1722837547-2578381-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-04 13:28:25 +02:00
..
allwinner
amlogic
broadcom
cadence phy: cadence-torrent: Check return value on register read 2024-08-03 08:54:35 +02:00
freescale phy: fsl-imx8mq-usb: fix tuning parameter name 2024-09-04 13:28:24 +02:00
hisilicon
ingenic
intel
lantiq
marvell phy: marvell: a3700-comphy: Fix hardcoded array size 2024-05-02 16:32:48 +02:00
mediatek phy: mediatek: mipi: mt8183: fix minimal supported frequency 2024-01-10 17:16:57 +01:00
microchip
motorola
mscc
qualcomm phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy 2024-06-12 11:12:14 +02:00
ralink
renesas phy: renesas: rcar-gen3-usb2: Fix returning wrong error code 2024-02-16 19:10:42 +01:00
rockchip phy: rockchip: naneng-combphy: Fix mux on rk3588 2024-05-02 16:32:48 +02:00
samsung
socionext
st
starfive
sunplus phy: sunplus: return negative error code in sp_usb_phy_probe 2024-01-10 17:16:57 +01:00
tegra phy: tegra: xusb: Add API to retrieve the port number of phy 2024-04-03 15:28:28 +02:00
ti phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered 2024-05-02 16:32:49 +02:00
xilinx phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume 2024-09-04 13:28:25 +02:00
Kconfig
Makefile
phy-can-transceiver.c
phy-core-mipi-dphy.c
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c