Skip to contentSkip to conversation

AUO-K190x: Add resolutions for portrait displays

PATCH New Heiko Stübner 1 participant 1 message Mar 22, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 9/9 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.

---
 drivers/video/auo_k190x.c   |    8 ++++++++
 include/video/auo_k190xfb.h |    2 ++
 2 files changed, 10 insertions(+), 0 deletions(-)
drivers/video/auo_k190x.c +8 -0
index 87cff5b..3bb32c2 100644
@@ -39,6 +39,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,
+	},
 };
 
 /*
include/video/auo_k190xfb.h +2 -0
index ad7bc51..ac329ee 100644
@@ -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
Signature · 1 line
1.7.2.3