int __init tablet_panel_init(void)
{
	if (omap_is_board_version(OMAP4_TABLET_1_0) ||
	    omap_is_board_version(OMAP4_TABLET_1_1) ||
	    omap_is_board_version(OMAP4_TABLET_1_2)) {
		tablet_dsi_panel.x_res	= 1024;
		tablet_dsi_panel.y_res	= 768;
	}

	tablet_lcd_init();
	tablet_hdmi_mux_init();

	omap_vram_set_sdram_vram(TABLET_FB_RAM_SIZE, 0);
	omapfb_set_platform_data(&tablet_fb_pdata);

	omap_display_init(&tablet_dss_data);
	platform_device_register(&omap4_tablet_disp_led);

	return 0;
}
static struct omap_tablet_panel_data *get_panel_data(enum omap_44xx_tablet_panel_type panel_type)
{

	if (omap_android_display_is_default(&tablet_hdmi_device)) {
		return &panel_data_hdmi_default_display;
	}

	switch (panel_type) {
	case TC35876x_SAMSUNG_HYDIS_WUXGA: /* HYDIS & Samsung equivalent */
		return &panel_data_tc35876x_samhyd_wuxga;
		break;
	case TC35876x_SHARP_LQ101K1LYxx_WXGA:
	default:
		if (omap_is_board_version(OMAP4_TABLET_1_0) ||
		    omap_is_board_version(OMAP4_TABLET_1_1) ||
		    omap_is_board_version(OMAP4_TABLET_1_2)) {
			lcd_tc35876x_sharp_lq101k1lyxx.panel.timings.x_res = 1024;
			lcd_tc35876x_sharp_lq101k1lyxx.panel.timings.y_res = 768;
		}
		return &panel_data_tc35876x_sharp_lq101k1lyxx;
	}
}