ARM: imx: Add anatop initialization for i.MX SoCs
i.MX SoCs needs anatop for suspend/resume, add anatop initialization for them. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
8cb7f0e456
commit
23b3047588
|
@ -60,6 +60,7 @@ static void __init imx6sl_init_machine(void)
|
|||
|
||||
of_platform_default_populate(NULL, NULL, parent);
|
||||
|
||||
imx_anatop_init();
|
||||
if (cpu_is_imx6sl())
|
||||
imx6sl_fec_init();
|
||||
imx_anatop_init();
|
||||
|
|
|
@ -80,6 +80,7 @@ static void __init imx6sx_init_machine(void)
|
|||
|
||||
of_platform_default_populate(NULL, NULL, parent);
|
||||
|
||||
imx_anatop_init();
|
||||
imx6sx_enet_init();
|
||||
imx_anatop_init();
|
||||
imx6sx_pm_init();
|
||||
|
|
|
@ -64,6 +64,7 @@ static void __init imx6ul_init_machine(void)
|
|||
pr_warn("failed to initialize soc device\n");
|
||||
|
||||
of_platform_default_populate(NULL, NULL, parent);
|
||||
imx_anatop_init();
|
||||
imx6ul_enet_init();
|
||||
imx_anatop_init();
|
||||
imx6ul_pm_init();
|
||||
|
|
|
@ -124,6 +124,7 @@ static void __init imx7d_init_machine(void)
|
|||
imx_anatop_init();
|
||||
of_platform_default_populate(NULL, NULL, parent);
|
||||
imx7d_pm_init();
|
||||
imx_anatop_init();
|
||||
imx7d_enet_init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue