aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-simple.c
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2014-07-31 13:42:12 -0400
committerThierry Reding <treding@nvidia.com>2014-08-06 10:44:15 -0400
commit3e51d609321601627fb571bdc403c330f416d1af (patch)
tree11b81ed0937ef26a06f0b3460ee8960d61718f02 /drivers/gpu/drm/panel/panel-simple.c
parentf673c37ec453ee7fe12cd55d90301cf843ab97f6 (diff)
drm/panel: simple: Add AUO B133HTN01 panel support
The AUO B133HTN01 is a 13.6" FHD TFT LCD panel connecting to an eDP interface and with an integrated LED backlight unit. This panel is used on the Samsung Chromebook 2 (XE503C32). Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 7798bdc9da54..6ae1aada6373 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -377,6 +377,33 @@ static const struct panel_desc auo_b133xtn01 = {
377 }, 377 },
378}; 378};
379 379
380static const struct drm_display_mode auo_b133htn01_mode = {
381 .clock = 150660,
382 .hdisplay = 1920,
383 .hsync_start = 1920 + 172,
384 .hsync_end = 1920 + 172 + 80,
385 .htotal = 1920 + 172 + 80 + 60,
386 .vdisplay = 1080,
387 .vsync_start = 1080 + 25,
388 .vsync_end = 1080 + 25 + 10,
389 .vtotal = 1080 + 25 + 10 + 10,
390 .vrefresh = 60,
391};
392
393static const struct panel_desc auo_b133htn01 = {
394 .modes = &auo_b133htn01_mode,
395 .num_modes = 1,
396 .size = {
397 .width = 293,
398 .height = 165,
399 },
400 .delay = {
401 .prepare = 105,
402 .enable = 20,
403 .unprepare = 50,
404 },
405};
406
380static const struct drm_display_mode chunghwa_claa101wa01a_mode = { 407static const struct drm_display_mode chunghwa_claa101wa01a_mode = {
381 .clock = 72070, 408 .clock = 72070,
382 .hdisplay = 1366, 409 .hdisplay = 1366,
@@ -591,6 +618,9 @@ static const struct of_device_id platform_of_match[] = {
591 .compatible = "auo,b101aw03", 618 .compatible = "auo,b101aw03",
592 .data = &auo_b101aw03, 619 .data = &auo_b101aw03,
593 }, { 620 }, {
621 .compatible = "auo,b133htn01",
622 .data = &auo_b133htn01,
623 }, {
594 .compatible = "auo,b133xtn01", 624 .compatible = "auo,b133xtn01",
595 .data = &auo_b133xtn01, 625 .data = &auo_b133xtn01,
596 }, { 626 }, {