Example #1
0
void __init msm8974_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
	lge_add_diag_devices();

#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_devices();
#endif
}
void __init msm8974_add_drivers(void)
{
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_lpmrs_module_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
/*                                                                    */
#if defined (CONFIG_BCMDHD)
	init_bcm_wifi();
#endif
/*                                                                    */
}
void __init msm8974_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
#ifdef CONFIG_BRICKED_THERMAL
	msm_thermal_init(&msm_thermal_pdata);
#else
	msm_thermal_device_init();
#endif

#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	lge_add_diag_devices();
#endif
#ifdef CONFIG_MACH_MSM8974_G2_VZW
	lge_add_android_usb_devices();
#endif
/* LGE_CHANGE_S, [WiFi][[email protected]], 2013-01-22, Wifi Bring Up */
#if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/* LGE_CHANGE_E, [WiFi][[email protected]], 2013-01-22, Wifi Bring Up */
#if defined(CONFIG_LCD_KCAL)
/* LGE_CHANGE_S
* change code for LCD KCAL
* 2013-05-08, [email protected]
*/
	lge_add_lcd_kcal_devices();
#endif /* CONFIG_LCD_KCAL */
}
void __init msm8974_add_drivers(void)
{
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_lpmrs_module_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
#ifdef CONFIG_INTELLI_THERMAL
	msm_thermal_init(NULL);
#else
 	msm_thermal_device_init();
#endif
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	lge_add_diag_devices();
#endif
#ifdef CONFIG_MACH_MSM8974_G2_VZW
	lge_add_android_usb_devices();
#endif
/*                                                                    */
#if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/*                                                                    */
#if defined(CONFIG_LCD_KCAL)
/*             
                          
                                
*/
	lge_add_lcd_kcal_devices();
#endif /* CONFIG_LCD_KCAL */
}
void __init msm8974_add_drivers(void)
{
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_lpmrs_module_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
#ifdef CONFIG_INTELLI_THERMAL
	msm_thermal_init(NULL);
#else
	msm_thermal_device_init();
#endif
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
/*                                                                    */
#if defined (CONFIG_BCMDHD) || defined (CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/*                                                                    */
#if defined(CONFIG_LCD_KCAL)
/*             
                          
                                
*/
	lge_add_lcd_kcal_devices();
#endif // CONFIG_LCD_KCAL

#if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER)
	lge_battery_id_devices();
#endif
}
void __init msm8974_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
/*                                                                    */
#if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/*                                                                    */
#if defined(CONFIG_LCD_KCAL)
/*             
                          
                                
*/
	lge_add_lcd_kcal_devices();
#endif /* CONFIG_LCD_KCAL */

#if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER)
	lge_battery_id_devices();
#endif
#if defined(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_VU3EVB)
	vu3ebv_init_input();
#endif
}
void __init msm8974_add_drivers(void)
{
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_lpmrs_module_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
/* LGE_CHANGE_S, [WiFi][[email protected]], 2013-01-22, Wifi Bring Up */
#if defined (CONFIG_BCMDHD) || defined (CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/* LGE_CHANGE_E, [WiFi][[email protected]], 2013-01-22, Wifi Bring Up */
#if defined(CONFIG_LCD_KCAL)
/* LGE_CHANGE_S
* change code for LCD KCAL
* 2013-05-08, [email protected]
*/
	lge_add_lcd_kcal_devices();
#endif // CONFIG_LCD_KCAL

#if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER)
	lge_battery_id_devices();
#endif
#if defined(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_VU3EVB)
	vu3ebv_init_input();
#endif
}
void __init msm8974_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	msm_spm_device_init();
	krait_power_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8974_rumi_clock_init_data);
	else
		msm_clock_init(&msm8974_clock_init_data);
	tsens_tm_init_driver();
#ifdef CONFIG_BRICKED_THERMAL
	msm_thermal_init(&msm_thermal_pdata);
#else
 	msm_thermal_device_init();
#endif
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
/*                                                                    */
#if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/*                                                                    */
/* LGE_CHANGE_E, [WiFi][[email protected]], 2013-01-22, Wifi Bring Up */
#ifdef CONFIG_LCD_KCAL
	kcal_ctrl_init();
#endif

#if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER)
	lge_battery_id_devices();
#endif
}