/* common functions */ void __init lge_add_lcd_devices(void) { if(ebi2_tovis_panel_data.initialized) ebi2_tovis_power_save(1); fb_register_client(&jump_fb_event_notifier); platform_device_register(&ebi2_tovis_panel_device); msm_fb_add_devices(); lge_add_gpio_i2c_device(jump_init_i2c_backlight); }
void __init lge_add_lcd_devices(void) { if(ebi2_tovis_panel_data.initialized) ebi2_tovis_power_save(1); fb_register_client(&e0eu_fb_event_notifier); platform_add_devices(e0eu_panel_devices, ARRAY_SIZE(e0eu_panel_devices)); msm_fb_add_devices(); lge_add_gpio_i2c_device(msm7x27a_e0eu_init_i2c_backlight); }
void __init msm_fb_add_devices(void) { if (ebi2_tovis_panel_data.initialized) ebi2_tovis_power_save(1); fb_register_client(&v1_fb_event_notifier); platform_add_devices(msm_fb_devices, ARRAY_SIZE(msm_fb_devices)); platform_add_devices(v1_panel_devices, ARRAY_SIZE(v1_panel_devices)); msm_fb_register_device("mdp", &mdp_pdata); #ifdef CONFIG_FB_MSM_EBI2 msm_fb_register_device("ebi2", 0); #endif #if defined(CONFIG_BACKLIGHT_LGE_RT8966) msm7x27a_v1_init_backlight(); #endif }
void __init msm_fb_add_devices(void) { if(ebi2_tovis_panel_data.initialized) ebi2_tovis_power_save(1); fb_register_client(&v3eu_fb_event_notifier); platform_add_devices(msm_fb_devices, ARRAY_SIZE(msm_fb_devices)); platform_add_devices(v3eu_panel_devices, ARRAY_SIZE(v3eu_panel_devices)); msm_fb_register_device("mdp", &mdp_pdata); msm_fb_register_device("lcdc", 0); #ifdef CONFIG_FB_MSM_EBI2 msm_fb_register_device("ebi2", 0); #endif #ifdef CONFIG_FB_MSM_MIPI_DSI msm_fb_register_device("mipi_dsi", &mipi_dsi_pdata); #endif lge_add_gpio_i2c_device(msm7x27a_v3eu_init_i2c_backlight); }