aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-04-08 10:52:33 -0400
committerThierry Reding <treding@nvidia.com>2015-08-14 15:35:33 -0400
commitd718d79e57039ccf59f638efe7c9ede2bfabc6f1 (patch)
tree7636fa2862ed11fda37fee97f476fe5abb72ecff /drivers/gpu/drm
parentd901d2ba8a1577ea213e4c4e22e9ca1f67db61dd (diff)
drm/panel: simple: Add support for AUO B080UAN01
The AUO B080UAN01 is an 8.0" WUXGA TFT LCD panel connected using four DSI lanes. It can be supported by the simple-panel driver. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 39e9dffe07d9..2bf2c47e29bf 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1175,6 +1175,34 @@ struct panel_desc_dsi {
1175 unsigned int lanes; 1175 unsigned int lanes;
1176}; 1176};
1177 1177
1178static const struct drm_display_mode auo_b080uan01_mode = {
1179 .clock = 154500,
1180 .hdisplay = 1200,
1181 .hsync_start = 1200 + 62,
1182 .hsync_end = 1200 + 62 + 4,
1183 .htotal = 1200 + 62 + 4 + 62,
1184 .vdisplay = 1920,
1185 .vsync_start = 1920 + 9,
1186 .vsync_end = 1920 + 9 + 2,
1187 .vtotal = 1920 + 9 + 2 + 8,
1188 .vrefresh = 60,
1189};
1190
1191static const struct panel_desc_dsi auo_b080uan01 = {
1192 .desc = {
1193 .modes = &auo_b080uan01_mode,
1194 .num_modes = 1,
1195 .bpc = 8,
1196 .size = {
1197 .width = 108,
1198 .height = 272,
1199 },
1200 },
1201 .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS,
1202 .format = MIPI_DSI_FMT_RGB888,
1203 .lanes = 4,
1204};
1205
1178static const struct drm_display_mode lg_ld070wx3_sl01_mode = { 1206static const struct drm_display_mode lg_ld070wx3_sl01_mode = {
1179 .clock = 71000, 1207 .clock = 71000,
1180 .hdisplay = 800, 1208 .hdisplay = 800,
@@ -1262,6 +1290,9 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
1262 1290
1263static const struct of_device_id dsi_of_match[] = { 1291static const struct of_device_id dsi_of_match[] = {
1264 { 1292 {
1293 .compatible = "auo,b080uan01",
1294 .data = &auo_b080uan01
1295 }, {
1265 .compatible = "lg,ld070wx3-sl01", 1296 .compatible = "lg,ld070wx3-sl01",
1266 .data = &lg_ld070wx3_sl01 1297 .data = &lg_ld070wx3_sl01
1267 }, { 1298 }, {