Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: simple: Add support for AUO T215HVN01

The AUO T215HVN01 is a 21.5" FHD (1920x1080) color TFT LCD panel.

This panel is used on the Acer Chromebase 21.5-inch All-in-One (DC221HQ).

Link to spec: http://www.udmgroup.com/ftp/T215HVN01.0.pdf

v2: fix alphabetical order
v3: remove minor revision suffix ".0" and add link to spec
v4: add dt-binding documentation

Signed-off-by: Haixia Shi <hshi@chromium.org>
Tested-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Haixia Shi and committed by
Thierry Reding
7ee933a1 0f9cdd74

+37
+7
Documentation/devicetree/bindings/display/panel/auo,t215hvn01.txt
··· 1 + AU Optronics Corporation 21.5" FHD (1920x1080) color TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "auo,t215hvn01" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+30
drivers/gpu/drm/panel/panel-simple.c
··· 555 555 }, 556 556 }; 557 557 558 + static const struct drm_display_mode auo_t215hvn01_mode = { 559 + .clock = 148800, 560 + .hdisplay = 1920, 561 + .hsync_start = 1920 + 88, 562 + .hsync_end = 1920 + 88 + 44, 563 + .htotal = 1920 + 88 + 44 + 148, 564 + .vdisplay = 1080, 565 + .vsync_start = 1080 + 4, 566 + .vsync_end = 1080 + 4 + 5, 567 + .vtotal = 1080 + 4 + 5 + 36, 568 + .vrefresh = 60, 569 + }; 570 + 571 + static const struct panel_desc auo_t215hvn01 = { 572 + .modes = &auo_t215hvn01_mode, 573 + .num_modes = 1, 574 + .bpc = 8, 575 + .size = { 576 + .width = 430, 577 + .height = 270, 578 + }, 579 + .delay = { 580 + .disable = 5, 581 + .unprepare = 1000, 582 + } 583 + }; 584 + 558 585 static const struct drm_display_mode avic_tm070ddh03_mode = { 559 586 .clock = 51200, 560 587 .hdisplay = 1024, ··· 1625 1598 }, { 1626 1599 .compatible = "auo,b133xtn01", 1627 1600 .data = &auo_b133xtn01, 1601 + }, { 1602 + .compatible = "auo,t215hvn01", 1603 + .data = &auo_t215hvn01, 1628 1604 }, { 1629 1605 .compatible = "avic,tm070ddh03", 1630 1606 .data = &avic_tm070ddh03,