From: Daniel Baluta <daniel.baluta@oss.nxp.com>
To: rjw@rjwysocki.net, len.brown@intel.com,
ranjani.sridharan@linux.intel.com
Cc: daniel.baluta@oss.nxp.com, aisheng.dong@nxp.com,
ulf.hansson@linaro.org, festevam@gmail.com,
alsa-devel@alsa-project.org, linux-pm@vger.kernel.org,
gregkh@linuxfoundation.org, s.hauer@pengutronix.de,
khilman@kernel.org, linux-kernel@vger.kernel.org,
daniel.baluta@nxp.com, pierre-louis.bossart@linux.intel.com,
paul.olaru@nxp.com, linux-imx@nxp.com, kernel@pengutronix.de,
shawnguo@kernel.org, shengjiu.wang@nxp.com,
linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v2 0/2] Introduce multi PM domains helpers
Date: Wed, 4 Mar 2020 14:19:41 +0200 [thread overview]
Message-ID: <20200304121943.28989-1-daniel.baluta@oss.nxp.com> (raw)
From: Daniel Baluta <daniel.baluta@nxp.com>
i.MX8QXP/i.MX8QM has IPs that need multiple power domains to be up
in order to work. In order to help drivers, we introduce multi PM
domains helpers that are able to activate/deactivate multi PM domains.
First patch introduces the helpers and second patch demonstrates how
a driver can use them instead of hardcoding the PM domains handling.
Changes since v1: (addressed Ranjani's comments)
- enhanced description for dev_multi_pm_attach return value
- renamed exit_unroll_pm label to exit_detach_pm
Daniel Baluta (2):
PM / domains: Introduce multi PM domains helpers
ASoC: SOF: Use multi PM domains helpers
drivers/base/power/common.c | 93 +++++++++++++++++++++++++++++++++++++
include/linux/pm_domain.h | 19 ++++++++
sound/soc/sof/imx/imx8.c | 60 ++++--------------------
3 files changed, 121 insertions(+), 51 deletions(-)
--
2.17.1
next reply other threads:[~2020-03-04 12:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-04 12:19 Daniel Baluta [this message]
2020-03-04 12:19 ` [RFC PATCH v2 1/2] PM / domains: Introduce multi PM domains helpers Daniel Baluta
2020-04-21 14:00 ` Ulf Hansson
2020-04-21 14:18 ` Daniel Baluta
2020-03-04 12:19 ` [RFC PATCH v2 2/2] ASoC: SOF: Use " Daniel Baluta
2020-03-04 17:37 ` [RFC PATCH v2 0/2] Introduce " Ranjani Sridharan
2020-03-30 8:38 ` Daniel Baluta
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=20200304121943.28989-1-daniel.baluta@oss.nxp.com \
--to=daniel.baluta@oss.nxp.com \
--cc=aisheng.dong@nxp.com \
--cc=alsa-devel@alsa-project.org \
--cc=daniel.baluta@nxp.com \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=kernel@pengutronix.de \
--cc=khilman@kernel.org \
--cc=len.brown@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=paul.olaru@nxp.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=ranjani.sridharan@linux.intel.com \
--cc=rjw@rjwysocki.net \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=shengjiu.wang@nxp.com \
--cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).