Commit b61f232ff09b6cff22d5186001027438c620da39

Authored by Heiko Stübner
Committed by Tomi Valkeinen
1 parent fd3871aa5c

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>

Showing 2 changed files with 10 additions and 0 deletions Side-by-side Diff

drivers/video/auo_k190x.c
... ... @@ -40,6 +40,14 @@
40 40 .w = 1024,
41 41 .h = 768,
42 42 },
  43 + [AUOK190X_RESOLUTION_600_800] = {
  44 + .w = 600,
  45 + .h = 800,
  46 + },
  47 + [AUOK190X_RESOLUTION_768_1024] = {
  48 + .w = 768,
  49 + .h = 1024,
  50 + },
43 51 };
44 52  
45 53 /*
include/video/auo_k190xfb.h
... ... @@ -22,6 +22,8 @@
22 22 */
23 23 #define AUOK190X_RESOLUTION_800_600 0
24 24 #define AUOK190X_RESOLUTION_1024_768 1
  25 +#define AUOK190X_RESOLUTION_600_800 4
  26 +#define AUOK190X_RESOLUTION_768_1024 5
25 27  
26 28 /*
27 29 * struct used by auok190x. board specific stuff comes from *board