summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-03-22 15:17:32 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-04 13:08:07 +0300
commitb61f232ff09b6cff22d5186001027438c620da39 (patch)
tree58a6d77d46436f40346e78e647ec6cc004aa6127
parentfd3871aa5c0d108b89858263254b49d9bca2dc53 (diff)
downloadop-kernel-dev-b61f232ff09b6cff22d5186001027438c620da39.zip
op-kernel-dev-b61f232ff09b6cff22d5186001027438c620da39.tar.gz
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>
-rw-r--r--drivers/video/auo_k190x.c8
-rw-r--r--include/video/auo_k190xfb.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/video/auo_k190x.c b/drivers/video/auo_k190x.c
index baf213c..b1f19b2 100644
--- a/drivers/video/auo_k190x.c
+++ b/drivers/video/auo_k190x.c
@@ -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,
+ },
};
/*
diff --git a/include/video/auo_k190xfb.h b/include/video/auo_k190xfb.h
index ad7bc51..ac329ee 100644
--- a/include/video/auo_k190xfb.h
+++ b/include/video/auo_k190xfb.h
@@ -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
OpenPOWER on IntegriCloud