[PATCH 0/8] Add suspend and resume support for phy-cadence-torrent and phy-j721e-wiz

From: Thomas Richard
Date: Tue Apr 16 2024 - 08:53:05 EST


The patches of this series were originally in the series "Add suspend to
ram support for PCIe on J7200" [1].
They were moved in a separate series as requested by the PHY maintainer.
This series adds suspend and resume support for the phy-cadence-torrent and
phy-j721e-wiz drivers.

Compared to the PCIe series v4 [1], these PHY patches were rebased on Linux
v6.9-rc1.
The only change is for the patch "phy: cadence-torrent: extract calls to
clk_get from cdns_torrent_clk". Now the cadence-torrent driver supports
dual reference clock, so the patch was updated consequently.

[1] https://lore.kernel.org/all/20240102-j7200-pcie-s2r-v4-0-6f1f53390c85@xxxxxxxxxxx/

Regards,

Thomas

Signed-off-by: Thomas Richard <thomas.richard@xxxxxxxxxxx>
---
Thomas Richard (8):
phy: ti: phy-j721e-wiz: use dev_err_probe() instead of dev_err()
phy: ti: phy-j721e-wiz: split wiz_clock_init() function
phy: ti: phy-j721e-wiz: add resume support
phy: cadence-torrent: extract calls to clk_get from cdns_torrent_clk
phy: cadence-torrent: register resets even if the phy is already configured
phy: cadence-torrent: add already_configured to struct cdns_torrent_phy
phy: cadence-torrent: remove noop_ops phy operations
phy: cadence-torrent: add suspend and resume support

drivers/phy/cadence/phy-cadence-torrent.c | 140 +++++++++++++++++++++---------
drivers/phy/ti/phy-j721e-wiz.c | 133 +++++++++++++++++-----------
2 files changed, 182 insertions(+), 91 deletions(-)
---
base-commit: b6b2d5379911df41ad51f7773ed98ef18b939258
change-id: 20240412-j7200-phy-s2r-708ea63aea78

Best regards,
--
Thomas Richard <thomas.richard@xxxxxxxxxxx>