From: Peng Fan <peng.fan@nxp.com>
To: Ulf Hansson <ulf.hansson@linaro.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>, Pavel Machek <pavel@kernel.org>,
Peter Chen <peter.chen@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Xu Yang <xu.yang_2@nxp.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org, imx@lists.linux.dev,
arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Peng Fan <peng.fan@nxp.com>
Subject: [PATCH v2 0/3] pmdomain: core: Introduce device_set/get_out_band_wakeup
Date: Fri, 01 Aug 2025 12:34:21 +0800 [thread overview]
Message-ID: <20250801-pm-v2-0-97c8fb2a433c@nxp.com> (raw)
This is pick up of [1] which does not have response in about 5 months.
This V2 patchset
- includes usb driver changes(patch 2,3) to give people a full picture on how it is used.
- Rebased next-20250729 to resolve conflicts
To i.MX95, USB2 and USB3 are in HSIOMIX, but there is always on logic
to make USB2 and USB3 has wakeup capability when HSIOMIX power domain
is in off state. Otherwise the HSIOMIX will be kept on when
USB2 and USB3 are configured to be wakeup source and Linux suspended.
With this patchset, HSIOMIX could be powered off and Linux could still
be woke up by USB hotplug event.
Patch 1 introduces device_set/get_out_band_wakeup
Patch 2 and 3 are drivers changes to use device_set_out_band_wakeup
[1]https://lore.kernel.org/linux-pm/20250311083239.3336439-1-peng.fan@oss.nxp.com/
More old discussions:
https://lore.kernel.org/linux-pm/20250311083239.3336439-1-peng.fan@oss.nxp.com/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
pmdomain: core: Introduce device_set/get_out_band_wakeup()
usb: chipidea: ci_hdrc_imx: Set out of band wakeup for i.MX95
usb: dwc3: imx8mp: Set out of band wakeup for i.MX95
drivers/pmdomain/core.c | 6 ++++--
drivers/usb/chipidea/ci_hdrc_imx.c | 8 ++++++++
drivers/usb/dwc3/dwc3-imx8mp.c | 4 ++++
include/linux/pm.h | 1 +
include/linux/pm_wakeup.h | 17 +++++++++++++++++
include/linux/usb/chipidea.h | 1 +
6 files changed, 35 insertions(+), 2 deletions(-)
---
base-commit: 54efec8782214652b331c50646013f8526570e8d
change-id: 20250729-pm-243ff7097e44
Best regards,
--
Peng Fan <peng.fan@nxp.com>
next reply other threads:[~2025-08-01 4:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-01 4:34 Peng Fan [this message]
2025-08-01 4:34 ` [PATCH v2 1/3] pmdomain: core: Introduce device_set/get_out_band_wakeup() Peng Fan
2025-08-22 5:22 ` Peng Fan
2025-08-01 4:34 ` [PATCH v2 2/3] usb: chipidea: ci_hdrc_imx: Set out of band wakeup for i.MX95 Peng Fan
2025-08-06 9:28 ` Xu Yang
2025-08-19 16:21 ` Peng Fan
2025-08-25 5:58 ` Xu Yang
2025-08-01 4:34 ` [PATCH v2 3/3] usb: dwc3: imx8mp: " Peng Fan
2025-08-05 23:40 ` Thinh Nguyen
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=20250801-pm-v2-0-97c8fb2a433c@nxp.com \
--to=peng.fan@nxp.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=arm-scmi@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=lenb@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pavel@kernel.org \
--cc=peter.chen@kernel.org \
--cc=rafael@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=vincent.guittot@linaro.org \
--cc=xu.yang_2@nxp.com \
/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;
as well as URLs for NNTP newsgroup(s).