void __init hub_peripherals_init(void) { hub_mmc1_gpio_init(); omap_i2c_init(); platform_add_devices(hub_devices, ARRAY_SIZE(hub_devices)); hub_synaptics_dev_init(); // 20100619 [email protected] Hub touchscreen // [email protected] Adapted to new interface of omap_serial_init() in 2.6.35 kernel [START] // omap_serial_init(); omap_serial_init(omap_serial_platform_data); // [email protected] Adapted to new interface of omap_serial_init() in 2.6.35 kernel [END] #ifdef CONFIG_INPUT_HALLEFFECT_BU52014HV sniper_hall_effect_init(); #endif #ifdef CONFIG_PANEL_HUB hub_lcd_tv_panel_init(); #endif usb_musb_init(&musb_board_data); // [email protected] Added function to initialize SYS_NIRQ pin [START] enable_board_wakeup_source(); // [email protected] Added function to initialize SYS_NIRQ pin [END] hub_cam_init(); #ifdef CONFIG_LGE_SPI hub_ipc_spi_init(); #endif //--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] - TDMB #ifdef CONFIG_SPI_TDMB hub_tdmb_spi_init(); #endif //--]] LGE_UBIQUIX_MODIFIED_END : [email protected] - TDMB }
void __init hub_peripherals_init(void) { hub_mmc1_gpio_init(); omap_i2c_init(); subpm_lp8720_init(); platform_add_devices(hub_devices, ARRAY_SIZE(hub_devices)); hub_synaptics_dev_init(); // 20100619 [email protected] Hub touchscreen hub_mcbsp_init(); /* LGE_CHANGE_S, [email protected], 2011-03-03, Porting for MPLv3.3.3 */ #if defined(CONFIG_MPU_SENSORS_MPU3050) || defined(CONFIG_MPU_SENSORS_MPU3050_MODULE) mpu3050_dev_init(); #endif /* LGE_CHANGE_E, [email protected], 2011-03-03, Porting for MPLv3.3.3 */ // [email protected] Adapted to new interface of omap_serial_init() in 2.6.35 kernel [START] // omap_serial_init(); omap_serial_init(omap_serial_platform_data); // [email protected] Adapted to new interface of omap_serial_init() in 2.6.35 kernel [END] #ifdef CONFIG_INPUT_HALLEFFECT_BU52014HV sniper_hall_effect_init(); #endif #ifdef CONFIG_PANEL_HUB hub_lcd_tv_panel_init(); #endif usb_musb_init(&musb_board_data); // [email protected] Added function to initialize SYS_NIRQ pin [START] enable_board_wakeup_source(); // [email protected] Added function to initialize SYS_NIRQ pin [END] hub_cam_init(); #ifdef CONFIG_LGE_SPI hub_ipc_spi_init(); #endif #ifdef CONFIG_SPI_TDMB hub_tdmb_spi_init(); #endif /*LGSI_LGP970_TD#112577_Call Error_Shilpa_27Oct2011_Start*/ omap3_mux_config("OMAP_GPIO_43"); // hwlee for test /*LGSI_LGP970_TD#112577_Call Error_Shilpa_27Oct2011_End*/ }
void __init hub_peripherals_init(void) { sniper_select_magnetic_device(); hub_mmc1_gpio_init(); omap_i2c_init(); subpm_lp8720_init(); platform_add_devices(hub_devices, ARRAY_SIZE(hub_devices)); hub_synaptics_dev_init(); #ifdef CONFIG_TOUCHSCREEN_ANDROID_VIRTUALKEYS sniper_init_android_virtualkeys(); #endif #if defined(CONFIG_MPU_SENSORS_MPU3050) || defined(CONFIG_MPU_SENSORS_MPU3050_MODULE) mpu3050_dev_init(); #endif // omap_serial_init(); omap_serial_init(omap_serial_platform_data); #ifdef CONFIG_INPUT_HALLEFFECT_BU52014HV sniper_hall_effect_init(); #endif #ifdef CONFIG_PANEL_HUB hub_lcd_tv_panel_init(); #endif usb_musb_init(&musb_board_data); enable_board_wakeup_source(); hub_cam_init(); #ifdef CONFIG_LGE_SPI hub_ipc_spi_init(); #endif #ifdef CONFIG_SPI_TDMB hub_tdmb_spi_init(); #endif /*LGSI_LGP970_TD#112577_Call Error_Shilpa_27Oct2011_Start*/ omap3_mux_config("OMAP_GPIO_43"); // hwlee for test /*LGSI_LGP970_TD#112577_Call Error_Shilpa_27Oct2011_End*/ }