ARM: OMAP: DRA7: Enable PM framework initializations
authorAmbresh K <ambresh@ti.com>
Fri, 23 Aug 2013 10:05:08 +0000 (04:05 -0600)
committerPaul Walmsley <paul@pwsan.com>
Fri, 23 Aug 2013 10:29:37 +0000 (04:29 -0600)
Initialise powerdomains, clockdomains, and hwmod frameworks.

Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[paul@pwsan.com: updated to apply]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/prm44xx.c

index 3656b8009a1cd0bb4c09f8a64def5180a6099965..ff2113ce40141ab87001c912b3924fe1803cdec3 100644 (file)
@@ -665,6 +665,11 @@ void __init dra7xx_init_early(void)
        omap2_set_globals_prcm_mpu(OMAP2_L4_IO_ADDRESS(OMAP54XX_PRCM_MPU_BASE));
        omap_prm_base_init();
        omap_cm_base_init();
+       omap44xx_prm_init();
+       dra7xx_powerdomains_init();
+       dra7xx_clockdomains_init();
+       dra7xx_hwmod_init();
+       omap_hwmod_init_postsetup();
 }
 #endif
 
index 15271b6d205f6a224a3048b88622c3934e5b9a9c..03a603476cfc451790cc02294d950fc6cab1abcf 100644 (file)
@@ -660,7 +660,7 @@ static struct prm_ll_data omap44xx_prm_ll_data = {
 
 int __init omap44xx_prm_init(void)
 {
-       if (!cpu_is_omap44xx() && !soc_is_omap54xx())
+       if (!cpu_is_omap44xx() && !soc_is_omap54xx() && !soc_is_dra7xx())
                return 0;
 
        return prm_register(&omap44xx_prm_ll_data);