MLK-17074-10 soc: imx8: pm-domains: fix missing full intialization for root domain...
authorDong Aisheng <aisheng.dong@nxp.com>
Mon, 27 Nov 2017 12:12:36 +0000 (20:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:49:59 +0000 (14:49 -0500)
commita60ae0ae9750d25e6262d584665eae19cad680f5
tree1cdc730430bdad42596090b3e577197511a4a51d
parent7de7717b3db40b3e1433ddfecd68bfbd761937ec
MLK-17074-10 soc: imx8: pm-domains: fix missing full intialization for root domain nodes

Current power domain driver only setup all domain callbacks during second
level power domains intialization. However, there're also some root power
domain nodes having valid SC resource handler which may be used by device
as well. Missing to setup them may result in some features lost on these
domains.
e.g.
pd_dc0: PD_DC_0 {
compatible = "nxp,imx8-pd";
reg = <SC_R_DC_0>;
#power-domain-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
...
}

Reviewed-by: Frank Li <frank.li@nxp.com>
Reviewed-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/soc/imx/pm-domains.c