Beispiel #1
0
void __init black_peripherals_init(void)
{
	black_mmc1_gpio_init();
	omap_i2c_init();
	platform_add_devices(black_devices, ARRAY_SIZE(black_devices));

//--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2011.07.11] - Merged from black_gb_docomo
	black_synaptics_dev_init();
//--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2011.07.11]- Merged from black_gb_docomo

/* 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_BLACK
	black_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]
	black_cam_init();

#ifdef CONFIG_LGE_SPI
	black_ipc_spi_init();
#endif

//--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2011.07.01] - TDMB
#ifdef CONFIG_SPI_TDMB
	black_tdmb_spi_init();
#endif

/* S, 20110810, [email protected], Enable Fuelgauge. */
#if defined (CONFIG_FUELGAUGE_MAX17043)
	max17043_init();
#endif
/* E, 20110810, [email protected], Enable Fuelgauge. */

//--[[ LGE_UBIQUIX_MODIFIED_START : [email protected] [2011.07.11] - Black Key Touch & Key Touch LED
#if defined (CONFIG_LEDS_BD2802_LGE)
	bd2802_init();
#endif
//--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2011.07.11]- Black Key Touch & Key Touch LED

//--]] LGE_UBIQUIX_MODIFIED_END : [email protected] [2011.07.01] - TDMB
}
static int __init sniper_rev_bc_dev_init(void)
{
	max17043_init();
	bd2802_init();
	return 0;
}
Beispiel #3
0
static int __init black_dev_init(void)
{
	max17043_init();
	bd2802_init();
	return 0;
}