Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add the PM suspend/resume callbacks for qmp phys
@ 2026-12-02 10:08 Prashanth K
  2026-12-02 10:08 ` [PATCH v3 1/2] phy: qcom: qmp-usb: Add PM suspend/resume callbacks Prashanth K
       [not found] ` <20261202100815.3144017-3-prashanth.k@oss.qualcomm.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Prashanth K @ 2026-12-02 10:08 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I
  Cc: Konrad Dybcio, Manivannan Sadhasivam, linux-arm-msm, linux-phy,
	linux-kernel, Prashanth K

Currently the phy clocks are left ON during system suspend, this leading to
power leakages. Prevent this by disabling the phy clocks during PM suspend.
Achieve this by reusing the RT suspend/resume callbacks for PM operations.

Changes in v3:
 - Use DEFINE_RUNTIME_DEV_PM_OPS macro for the dev_pm_ops.
 - Line to v2: https://lore.kernel.org/all/20261113103111.156476-1-prashanth.k@oss.qualcomm.com/

Changes in v2:
 - Added pm_runtime_force_suspend for pm callbacks.
 - Added mutex to prevent race between typec/mux callbacks with suspend/resume.
 - Link to v1: https://lore.kernel.org/all/20261022104321.306679-1-prashanth.k@oss.qualcomm.com/



Prashanth K (2):
  phy: qcom: qmp-usb: Add PM suspend/resume callbacks
  phy: qcom: qmp-combo: Add PM suspend/resume callbacks

 drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 13 ++++++++-----
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c   |  9 ++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.34.1


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-02 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 10:08 [PATCH v3 0/2] Add the PM suspend/resume callbacks for qmp phys Prashanth K
2026-12-02 10:08 ` [PATCH v3 1/2] phy: qcom: qmp-usb: Add PM suspend/resume callbacks Prashanth K
     [not found] ` <20261202100815.3144017-3-prashanth.k@oss.qualcomm.com>
2026-12-02 10:34   ` [PATCH v3 2/2] phy: qcom: qmp-combo: " sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox