summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-colibri_t20-panel.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-11-02 16:18:26 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-11-02 16:18:26 +0100
commit0fc41ea361c79175f2076a349a0ba0dcc7e71131 (patch)
tree3f52d0ac6312f4183335bdec0875ffd9d0bbbf52 /arch/arm/mach-tegra/board-colibri_t20-panel.c
parent9c65a818d937d564902a156c3c5030d815e5ca22 (diff)
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.
Diffstat (limited to 'arch/arm/mach-tegra/board-colibri_t20-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-colibri_t20-panel.c7
1 files changed, 7 insertions, 0 deletions
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,