From: Prashanth K <prashanth.k@oss.qualcomm.com>
To: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Manivannan Sadhasivam <mani@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
linux-kernel@vger.kernel.org,
Prashanth K <prashanth.k@oss.qualcomm.com>
Subject: [PATCH v3 0/2] Add the PM suspend/resume callbacks for qmp phys
Date: Wed, 2 Dec 2026 15:38:13 +0530 [thread overview]
Message-ID: <20261202100815.3144017-1-prashanth.k@oss.qualcomm.com> (raw)
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
next reply other threads:[~2026-12-02 10:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 10:08 Prashanth K [this message]
2026-12-02 10:08 ` [PATCH v3 1/2] phy: qcom: qmp-usb: Add PM suspend/resume callbacks Prashanth K
2026-12-02 10:08 ` [PATCH v3 2/2] phy: qcom: qmp-combo: " Prashanth K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202100815.3144017-1-prashanth.k@oss.qualcomm.com \
--to=prashanth.k@oss.qualcomm.com \
--cc=kishon@kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mani@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®