void __init exynos5_universal5260_power_init(void)
{
#ifdef CONFIG_EXYNOS_THERMAL
	exynos_tmu_set_platdata(&exynos5_tmu_data);
#endif

	platform_add_devices(universal5260_power_devices,
			ARRAY_SIZE(universal5260_power_devices));
#ifdef CONFIG_ARM_EXYNOS_MP_CPUFREQ
	init_mp_cpumask_set();
#endif
}
Example #2
0
void __init exynos5_universal5420_power_init(void)
{
#ifdef CONFIG_EXYNOS_THERMAL
    exynos_tmu_set_platdata(&exynos5_tmu_data);
#endif

#ifdef CONFIG_ARM_EXYNOS5420_BUS_DEVFREQ
    s3c_set_platdata(&smdk5420_qos_mif_pd, sizeof(struct exynos_devfreq_platdata),
                     &exynos5_mif_devfreq);
    s3c_set_platdata(&smdk5420_qos_int_pd, sizeof(struct exynos_devfreq_platdata),
                     &exynos5_int_devfreq);
#endif

    platform_add_devices(universal5420_power_devices,
                         ARRAY_SIZE(universal5420_power_devices));
}
void __init exynos5_smdk5420_power_init(void)
{
	exynos5_hs_i2c0_set_platdata(NULL);
	i2c_register_board_info(4, hs_i2c_devs0, ARRAY_SIZE(hs_i2c_devs0));
#ifdef CONFIG_EXYNOS_THERMAL
	exynos_tmu_set_platdata(&exynos5_tmu_data);
#endif

#ifdef CONFIG_ARM_EXYNOS5420_BUS_DEVFREQ
	s3c_set_platdata(&smdk5420_qos_mif_pd, sizeof(struct exynos_devfreq_platdata),
			&exynos5_mif_devfreq);
	s3c_set_platdata(&smdk5420_qos_int_pd, sizeof(struct exynos_devfreq_platdata),
			&exynos5_int_devfreq);
#endif

	platform_add_devices(smdk5420_power_devices,
			ARRAY_SIZE(smdk5420_power_devices));
}