From 0fc41ea361c79175f2076a349a0ba0dcc7e71131 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 2 Nov 2012 16:18:26 +0100 Subject: colibri_t20: android: 720p as default none VGA TFTLCD resolution Using 720p as Android's default none VGA TFTLCD resolution allows for the default tablet mode layout to be run which makes most sense for evaluation purpose on regular monitors. --- arch/arm/mach-tegra/board-colibri_t20-panel.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/arm/mach-tegra/board-colibri_t20-panel.c') diff --git a/arch/arm/mach-tegra/board-colibri_t20-panel.c b/arch/arm/mach-tegra/board-colibri_t20-panel.c index 2237c2aa768f..fd58890e1395 100644 --- a/arch/arm/mach-tegra/board-colibri_t20-panel.c +++ b/arch/arm/mach-tegra/board-colibri_t20-panel.c @@ -240,6 +240,7 @@ static struct tegra_dc_mode colibri_t20_panel_modes[] = { .v_front_porch = 10, /* lower_margin */ }, #else /* TEGRA_FB_VGA */ +#ifndef CONFIG_ANDROID { /* 800x480@60 (e.g. EDT ET070080DH6) */ .pclk = 32460000, @@ -291,6 +292,7 @@ static struct tegra_dc_mode colibri_t20_panel_modes[] = { .h_front_porch = 64, .v_front_porch = 3, }, +#endif /* CONFIG_ANDROID */ { /* 1280x720@70 */ .pclk = 86400000, @@ -328,8 +330,13 @@ static struct tegra_fb_data colibri_t20_fb_data = { .xres = 640, .yres = 480, #else /* TEGRA_FB_VGA */ +#ifndef CONFIG_ANDROID .xres = 800, .yres = 480, +#else /* CONFIG_ANDROID */ + .xres = 1280, + .yres = 720, +#endif /* CONFIG_ANDROID */ #endif /* TEGRA_FB_VGA */ .bits_per_pixel = 32, .flags = TEGRA_FB_FLIP_ON_PROBE, -- cgit v1.2.3