示例#1
0
void __init zoom_display_init(enum omap_dss_venc_type venc_type)
{
	zoom_tv_device.phy.venc.type = venc_type;
	omap_display_init(&zoom_dss_data);
	spi_register_board_info(nec_8048_spi_board_info,
				ARRAY_SIZE(nec_8048_spi_board_info));
	zoom_lcd_tv_panel_init();
}
void __init zoom_peripherals_init(void)
{
	twl4030_get_scripts(&zoom_t2scripts_data);
	omap_i2c_init();
	platform_add_devices(zoom_board_devices,
			ARRAY_SIZE(zoom_board_devices));
	synaptics_dev_init();
	omap_serial_init();
#if defined(CONFIG_MACH_OMAP_ZOOM3) || defined(CONFIG_MACH_OMAP_ZOOM2)
	zoom_lcd_tv_panel_init();
#endif
	usb_musb_init(&musb_board_data);
	enable_board_wakeup_source();
	zoom2_cam_init();
#ifdef CONFIG_PANEL_SIL9022
	config_hdmi_gpio();
	zoom_hdmi_reset_enable(1);
#endif
}