Skip to content

Commit

Permalink
AUO-K190x: Add resolutions for portrait displays
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Stübner authored and Tomi Valkeinen committed Apr 4, 2013
1 parent fd3871a commit b61f232
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/video/auo_k190x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

/*
Expand Down
2 changes: 2 additions & 0 deletions include/video/auo_k190xfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b61f232

Please sign in to comment.