MLK-22360 soc: imx8qm/imx8qxp: Fix power state of parent power domains
authorRanjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
Wed, 17 Jul 2019 16:33:46 +0000 (11:33 -0500)
committerRanjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
Mon, 5 Aug 2019 18:11:32 +0000 (13:11 -0500)
commit6dab3e0175ec61b01fa2a6bf9b2d1411beed0ef0
treea7cf3b90112fe24fa1c8d2a0d53a8a0685de86c0
parent33f93a21cfbf2af6299631035829d2539e67ba76
MLK-22360 soc: imx8qm/imx8qxp: Fix power state of parent power domains

Fix power state of parent power domains that have no device
associated with them.

Current power domain driver does not work well in two cases:
1. A device is controlled by multiple power domains
2. Multiple devices are controlled by a single power domain that
is dependent on another power domain(s).

This patch attempts to fix these two issues.

Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
drivers/soc/imx/pm-domain-imx8.h
drivers/soc/imx/pm-domains.c