Browse Source

AUO-K190x: Add resolutions for portrait displays

The controller also contains support for displays in a portrait
orientation and it seems devices which such displays really reached
the market - Pandigital Novell seems to be one example.

Signed-off-by: Heiko Stübner <heiko@sntech.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Heiko Stübner 12 years ago
parent
commit
b61f232ff0
2 changed files with 10 additions and 0 deletions
  1. 8 0
      drivers/video/auo_k190x.c
  2. 2 0
      include/video/auo_k190xfb.h

+ 8 - 0
drivers/video/auo_k190x.c

@@ -40,6 +40,14 @@ static struct panel_info panel_table[] = {
 		.w = 1024,
 		.w = 1024,
 		.h = 768,
 		.h = 768,
 	},
 	},
+	[AUOK190X_RESOLUTION_600_800] = {
+		.w = 600,
+		.h = 800,
+	},
+	[AUOK190X_RESOLUTION_768_1024] = {
+		.w = 768,
+		.h = 1024,
+	},
 };
 };
 
 
 /*
 /*

+ 2 - 0
include/video/auo_k190xfb.h

@@ -22,6 +22,8 @@
  */
  */
 #define AUOK190X_RESOLUTION_800_600		0
 #define AUOK190X_RESOLUTION_800_600		0
 #define AUOK190X_RESOLUTION_1024_768		1
 #define AUOK190X_RESOLUTION_1024_768		1
+#define AUOK190X_RESOLUTION_600_800		4
+#define AUOK190X_RESOLUTION_768_1024		5
 
 
 /*
 /*
  * struct used by auok190x. board specific stuff comes from *board
  * struct used by auok190x. board specific stuff comes from *board