[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200304121943.28989-1-daniel.baluta@oss.nxp.com>
Date: Wed, 4 Mar 2020 14:19:41 +0200
From: Daniel Baluta <daniel.baluta@....nxp.com>
To: rjw@...ysocki.net, len.brown@...el.com,
ranjani.sridharan@...ux.intel.com
Cc: daniel.baluta@....nxp.com, aisheng.dong@....com,
ulf.hansson@...aro.org, festevam@...il.com,
alsa-devel@...a-project.org, linux-pm@...r.kernel.org,
gregkh@...uxfoundation.org, s.hauer@...gutronix.de,
khilman@...nel.org, linux-kernel@...r.kernel.org,
daniel.baluta@....com, pierre-louis.bossart@...ux.intel.com,
paul.olaru@....com, linux-imx@....com, kernel@...gutronix.de,
shawnguo@...nel.org, shengjiu.wang@....com,
linux-arm-kernel@...ts.infradead.org
Subject: [RFC PATCH v2 0/2] Introduce multi PM domains helpers
From: Daniel Baluta <daniel.baluta@....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
Powered by blists - more mailing lists