[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230613140250.3018947-1-piyush.mehta@amd.com>
Date: Tue, 13 Jun 2023 19:32:48 +0530
From: Piyush Mehta <piyush.mehta@....com>
To: <anurag.kumar.vulisha@...inx.com>,
<laurent.pinchart@...asonboard.com>, <vkoul@...nel.org>,
<kishon@...nel.org>, <michal.simek@....com>
CC: <linux-kernel@...r.kernel.org>, <linux-phy@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>, <git@....com>,
Piyush Mehta <piyush.mehta@....com>
Subject: [PATCH V2 0/2] phy: xilinx: phy-zynqmp: dynamic clock support
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@MN2PR12MB4333.namprd12.prod.outlook.com/#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
Powered by blists - more mailing lists