[PATCH V2 0/2] phy: xilinx: phy-zynqmp: dynamic clock support

From: Piyush Mehta
Date: Tue Jun 13 2023 - 10:05:35 EST


This patch of the series adds the following supports:
- Runtime PM support:
Added runtime power management support to power saving during the
suspend and resume calls.

- Dynamic clock support:
Current zynqmp-phy driver, by default all the clock enabled for all
the lanes, that consumes power even PHY is active or idle.
So, the dynamic clock feature will be enabled clock only for active
PHY in the phy_init and disabled in phy_exit. Clock enabling is not
required at multiple times. Activation of PHY depends on the peripheral
DT node status (status = "okay";).

---
Changes in V2:
- Addressed Vinod Koul review comments:
- Added runtime PM support - "DEFINE_RUNTIME_DEV_PM_OPS" MACRO used.
- Updated commit message for dynamic clock support.

Link: https://lore.kernel.org/all/MN2PR12MB43339B1089E1CF552152DA2D881A9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/#t
---

Piyush Mehta (2):
phy: xilinx: add runtime PM support
phy: xilinx: phy-zynqmp: dynamic clock support for power-save

drivers/phy/xilinx/phy-zynqmp.c | 90 +++++++++++++++------------------
1 file changed, 40 insertions(+), 50 deletions(-)

--
2.25.1