linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] Introduce multi PM domains helpers
@ 2020-03-04 12:19 Daniel Baluta
  2020-03-04 12:19 ` [RFC PATCH v2 1/2] PM / domains: " Daniel Baluta
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Daniel Baluta @ 2020-03-04 12:19 UTC (permalink / raw)
  To: rjw, len.brown, ranjani.sridharan
  Cc: daniel.baluta, aisheng.dong, ulf.hansson, festevam, alsa-devel,
	linux-pm, gregkh, s.hauer, khilman, linux-kernel, daniel.baluta,
	pierre-louis.bossart, paul.olaru, linux-imx, kernel, shawnguo,
	shengjiu.wang, linux-arm-kernel

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


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

end of thread, other threads:[~2020-04-21 14:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04 12:19 [RFC PATCH v2 0/2] Introduce multi PM domains helpers Daniel Baluta
2020-03-04 12:19 ` [RFC PATCH v2 1/2] PM / domains: " 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

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).