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_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();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_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
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	lge_add_diag_devices();
#endif
/*                                                                    */
#if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE)
	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();
	msm_thermal_device_init();
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
	lge_add_diag_devices();
#endif
/*                                                                       */
#if defined (CONFIG_BCMDHD) || defined (CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/*                                                                       */
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_devices();
#endif

}
/*
 * Used to satisfy dependencies for devices that need to be
 * run early or in a particular order. Most likely your device doesn't fall
 * into this category, and thus the driver should not be added here. The
 * EPROBE_DEFER can satisfy most dependency problems.
 */
void __init msm8916_add_drivers(void)
{
	msm_smd_init();
	msm_rpm_driver_init();
	msm_spm_device_init();
	msm_pm_sleep_status_init();
#ifdef CONFIG_LGE_LCD_TUNING
	 lge_add_lcd_ctrl_devices();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	 lge_add_android_usb_devices();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	 lge_add_diag_devices();
#endif
#if defined(CONFIG_LCD_KCAL)
	 lge_add_lcd_kcal_devices();
#endif
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#if defined(CONFIG_PRE_SELF_DIAGNOSIS)
	lge_add_pre_selfd_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();
#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_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();
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	lge_add_diag_devices();
#endif
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_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
#ifdef CONFIG_LGE_QSDL_SUPPORT
	lge_add_qsdl_device();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_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();
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
/* LGE_CHANGE_S, [WiFi][[email protected]], 2013-01-28, Wifi Bring Up */
#if defined (CONFIG_BCMDHD) || defined (CONFIG_BCMDHD_MODULE)
	init_bcm_wifi();
#endif
/* LGE_CHANGE_E, [WiFi][[email protected]], 2013-01-28, 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
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_devices();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
	lge_add_diag_devices();
#endif
}
示例#9
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();
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
	lge_add_diag_devices();
#endif
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
#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
#ifdef CONFIG_LGE_QSDL_SUPPORT
	lge_add_qsdl_device();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_devices();
#endif
}
/*
 * Used to satisfy dependencies for devices that need to be
 * run early or in a particular order. Most likely your device doesn't fall
 * into this category, and thus the driver should not be added here. The
 * EPROBE_DEFER can satisfy most dependency problems.
 */
void __init msm8226_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_spm_device_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	qpnp_regulator_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8226_rumi_clock_init_data);
	else
		msm_clock_init(&msm8226_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#if defined(CONFIG_ANDROID_RAM_CONSOLE)
	lge_add_persistent_device();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
    lge_android_usb_init();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SPR
	lge_add_diag_devices();
#endif
	 #if defined(CONFIG_LCD_KCAL)
	 lge_add_lcd_kcal_devices();
#endif
#if defined ( CONFIG_BCMDHD ) 
	init_bcm_wifi();
#endif

#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif

#ifdef CONFIG_LGE_ENABLE_MMC_STRENGTH_CONTROL
    lge_add_mmc_strength_devices();
#endif

}
void __init msm8974_add_drivers(void)
{
	msm_smem_init();
	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
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	lge_add_diag_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_LGE_PM_BATTERY_ID_CHECKER)
	lge_battery_id_devices();
#endif
}