aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-simple.c
diff options
context:
space:
mode:
authorAlex Gonzalez <alex.gonzalez@digi.com>2018-10-25 11:09:30 -0400
committerThierry Reding <treding@nvidia.com>2018-12-03 11:04:48 -0500
commit4fb86404a977b932eed56c0dd0954f6225eee3eb (patch)
tree0d52533c476a2f9280a5cd3970eef2575657a6d1 /drivers/gpu/drm/panel/panel-simple.c
parent3a936bc2869667d7768f2266d14c4c49a849ffbe (diff)
drm/panel: simple: Add AUO G101EVN010 panel support
The change adds support for the AU Optronics G101EVN010 10.1" TFT LCD panel. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Reviewed-by: Rob Herring <robh@kernel.org> [treding@nvidia.com: sort new entry alphabetically] Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/1540480173-12009-2-git-send-email-alex.gonzalez@digi.com
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 5fbee837b0db..9c69e739a524 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -618,6 +618,30 @@ static const struct panel_desc auo_g070vvn01 = {
618 }, 618 },
619}; 619};
620 620
621static const struct drm_display_mode auo_g101evn010_mode = {
622 .clock = 68930,
623 .hdisplay = 1280,
624 .hsync_start = 1280 + 82,
625 .hsync_end = 1280 + 82 + 2,
626 .htotal = 1280 + 82 + 2 + 84,
627 .vdisplay = 800,
628 .vsync_start = 800 + 8,
629 .vsync_end = 800 + 8 + 2,
630 .vtotal = 800 + 8 + 2 + 6,
631 .vrefresh = 60,
632};
633
634static const struct panel_desc auo_g101evn010 = {
635 .modes = &auo_g101evn010_mode,
636 .num_modes = 1,
637 .bpc = 6,
638 .size = {
639 .width = 216,
640 .height = 135,
641 },
642 .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
643};
644
621static const struct drm_display_mode auo_g104sn02_mode = { 645static const struct drm_display_mode auo_g104sn02_mode = {
622 .clock = 40000, 646 .clock = 40000,
623 .hdisplay = 800, 647 .hdisplay = 800,
@@ -2494,6 +2518,9 @@ static const struct of_device_id platform_of_match[] = {
2494 .compatible = "auo,g070vvn01", 2518 .compatible = "auo,g070vvn01",
2495 .data = &auo_g070vvn01, 2519 .data = &auo_g070vvn01,
2496 }, { 2520 }, {
2521 .compatible = "auo,g101evn010",
2522 .data = &auo_g101evn010,
2523 }, {
2497 .compatible = "auo,g104sn02", 2524 .compatible = "auo,g104sn02",
2498 .data = &auo_g104sn02, 2525 .data = &auo_g104sn02,
2499 }, { 2526 }, {