Beispiel #1
0
/**
 * omap_serial_init() - initialize all supported serial ports
 *
 * Initializes all available UARTs.
 * Platforms can call this function when they want to have default behaviour
 * for serial ports (e.g initialize them all as serial ports).
 */
void __init omap_serial_init(void)
{
	//omap_mux_init_signal("abe_dmic_clk1.uart4_cts", OMAP_MUX_MODE5);
	//omap_mux_init_signal("abe_dmic_din1.uart4_rts", OMAP_MUX_MODE5);
	
	//omap_mux_init_signal("uart3_cts_rctx.uart1_tx", OMAP_MUX_MODE1);
    //omap_mux_init_signal("mcspi1_cs1.uart1_rx", OMAP_MUX_MODE1 |OMAP_PIN_INPUT);
	  omap_serial_board_init(NULL);
}
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
}
Beispiel #3
0
/**
 * omap_serial_init() - initialize all supported serial ports
 *
 * Initializes all available UARTs.
 * Platforms can call this function when they want to have default behaviour
 * for serial ports (e.g initialize them all as serial ports).
 */
void __init omap_serial_init(void)
{
	omap_serial_board_init(NULL);
}