void __init ti81xx_init_late(void) { omap_mux_late_init(); omap2_common_pm_late_init(); omap3_pm_init(); omap2_clk_enable_autoidle_all(); }
void __init ti81xx_init_late(void) { omap_mux_late_init(); omap2_common_pm_late_init(); #if 0 omap3_pm_init(); #endif }
void __init am35xx_init_late(void) { omap_common_late_init(); omap3_pm_init(); omap2_clk_enable_autoidle_all(); }
void __init am35xx_init_late(void) { omap_mux_late_init(); omap2_common_pm_late_init(); omap3_pm_init(); }
void __init omap3630_init_late(void) { omap_mux_late_init(); omap2_common_pm_late_init(); omap3_pm_init(); }
static int __init omap_pm_init(void) { int error = -1; if (cpu_is_omap24xx()) error = omap2_pm_init(); if (cpu_is_omap34xx()) error = omap3_pm_init(); if (error) { printk(KERN_ERR "omap2|3_pm_init failed: %d\n", error); return error; } /* disabled till drivers are fixed */ enable_dyn_sleep = 0; error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr); if (error) printk(KERN_ERR "sysfs_create_file failed: %d\n", error); error = sysfs_create_file(power_kobj, &clocks_off_while_idle_attr.attr); if (error) printk(KERN_ERR "sysfs_create_file failed: %d\n", error); error = sysfs_create_file(power_kobj, &enable_off_mode_attr.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } error = sysfs_create_file(power_kobj, &vdd1_opps_vsel.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } error = sysfs_create_file(power_kobj, &dsp_opps_rate.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } #ifdef CONFIG_OMAP_PM_SRF error = sysfs_create_file(power_kobj, &vdd1_opp_attr.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } error = sysfs_create_file(power_kobj, &vdd2_opp_attr.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } error = sysfs_create_file(power_kobj, &vdd1_lock_attr.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } error = sysfs_create_file(power_kobj, &vdd2_lock_attr.attr); if (error) { printk(KERN_ERR "sysfs_create_file failed: %d\n", error); return error; } #endif voltage_off_while_idle = 0; /* Going to 0V on anything under ES2.1 will eventually cause a crash */ if (omap_rev() > OMAP3430_REV_ES2_0) { error = sysfs_create_file(power_kobj, &voltage_off_while_idle_attr.attr); if (error) printk(KERN_ERR "sysfs_create_file failed: %d\n", error); } return error; }