AUO-K190x: Add resolutions for portrait displays
authorHeiko Stübner <heiko@sntech.de>
Fri, 22 Mar 2013 14:17:32 +0000 (15:17 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 10:08:07 +0000 (13:08 +0300)
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>
drivers/video/auo_k190x.c
include/video/auo_k190xfb.h

index baf213cdbe3d97313faf40ac5f0e91c3c77e1466..b1f19b266da70d291ffce72e51a275a82f0536fb 100644 (file)
@@ -40,6 +40,14 @@ static struct panel_info panel_table[] = {
                .w = 1024,
                .h = 768,
        },
+       [AUOK190X_RESOLUTION_600_800] = {
+               .w = 600,
+               .h = 800,
+       },
+       [AUOK190X_RESOLUTION_768_1024] = {
+               .w = 768,
+               .h = 1024,
+       },
 };
 
 /*
index ad7bc51bee9ae5cf5a1e8570035658611c01d12a..ac329ee1d753f894e006ead445407c685fd68268 100644 (file)
@@ -22,6 +22,8 @@
  */
 #define AUOK190X_RESOLUTION_800_600            0
 #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