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 G185HAN01

This adds support for the AU Optronics G185HAN01 18.5" LVDS FullHD TFT
LCD panel, which can be supported by the simple panel driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Lucas Stach and committed by
Thierry Reding
8c31f603 697035c6

+39
+7
Documentation/devicetree/bindings/display/panel/auo,g185han01.txt
··· 1 + AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "auo,g185han01" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+32
drivers/gpu/drm/panel/panel-simple.c
··· 584 584 .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, 585 585 }; 586 586 587 + static const struct display_timing auo_g185han01_timings = { 588 + .pixelclock = { 120000000, 144000000, 175000000 }, 589 + .hactive = { 1920, 1920, 1920 }, 590 + .hfront_porch = { 18, 60, 74 }, 591 + .hback_porch = { 12, 44, 54 }, 592 + .hsync_len = { 10, 24, 32 }, 593 + .vactive = { 1080, 1080, 1080 }, 594 + .vfront_porch = { 6, 10, 40 }, 595 + .vback_porch = { 2, 5, 20 }, 596 + .vsync_len = { 2, 5, 20 }, 597 + }; 598 + 599 + static const struct panel_desc auo_g185han01 = { 600 + .timings = &auo_g185han01_timings, 601 + .num_timings = 1, 602 + .bpc = 8, 603 + .size = { 604 + .width = 409, 605 + .height = 230, 606 + }, 607 + .delay = { 608 + .prepare = 50, 609 + .enable = 200, 610 + .disable = 110, 611 + .unprepare = 1000, 612 + }, 613 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 614 + }; 615 + 587 616 static const struct drm_display_mode auo_t215hvn01_mode = { 588 617 .clock = 148800, 589 618 .hdisplay = 1920, ··· 1738 1709 }, { 1739 1710 .compatible = "auo,g133han01", 1740 1711 .data = &auo_g133han01, 1712 + }, { 1713 + .compatible = "auo,g185han01", 1714 + .data = &auo_g185han01, 1741 1715 }, { 1742 1716 .compatible = "auo,t215hvn01", 1743 1717 .data = &auo_t215hvn01,