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(); #ifdef CONFIG_REGULATOR_LP8720 subpm_lp8720_init(); #endif platform_add_devices(hub_devices, ARRAY_SIZE(hub_devices)); //--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2012.03.21] - When added to the board-ku5900-peripherals.c will be rollback.(TBD) //#ifdef CONFIG_TOUCHSCREEN_HUB_SYNAPTICS #if defined(CONFIG_TOUCHSCREEN_HUB_SYNAPTICS) || defined(CONFIG_TOUCHSCREEN_KU5900_SYNAPTICS) hub_synaptics_dev_init(); #endif //--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2012.03.21]- When added to the board-ku5900-peripherals.c will be rollback.(TBD) /* 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 */ omap_serial_board_init(omap_serial_platform_data); #ifdef CONFIG_INPUT_HALLEFFECT_BU52014HV sniper_hall_effect_init(); #endif #ifdef CONFIG_PANEL_HUB hub_display_init(); #endif usb_musb_init(&musb_board_data); enable_board_wakeup_source(); //--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2012.03.27] - CAM from GB hub_cam_init(); //--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2012.03.27] - CAM from GB #ifdef CONFIG_LGE_SPI hub_ipc_spi_init(); #endif //--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2012.03.29] - TDMB #ifdef CONFIG_LGE_BROADCAST_TDMB hub_tdmb_spi_init(); #endif //--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2012.03.29] - 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*/ }