[RFC PATCH 0/2] Introduce multi PM domains helpers

From: Daniel Baluta
Date: Mon Mar 02 2020 - 15:57:43 EST


From: Daniel Baluta <daniel.baluta@xxxxxxx>

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.

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 | 54 +++------------------
3 files changed, 118 insertions(+), 48 deletions(-)

--
2.17.1