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 G133HAN01

This adds support for the AU Optronics G133HAN01 13.3" 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
697035c6 4ae13e48

+39
+7
Documentation/devicetree/bindings/display/panel/auo,g133han01.txt
··· 1 + AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "auo,g133han01" 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
··· 555 555 }, 556 556 }; 557 557 558 + static const struct display_timing auo_g133han01_timings = { 559 + .pixelclock = { 134000000, 141200000, 149000000 }, 560 + .hactive = { 1920, 1920, 1920 }, 561 + .hfront_porch = { 39, 58, 77 }, 562 + .hback_porch = { 59, 88, 117 }, 563 + .hsync_len = { 28, 42, 56 }, 564 + .vactive = { 1080, 1080, 1080 }, 565 + .vfront_porch = { 3, 8, 11 }, 566 + .vback_porch = { 5, 14, 19 }, 567 + .vsync_len = { 4, 14, 19 }, 568 + }; 569 + 570 + static const struct panel_desc auo_g133han01 = { 571 + .timings = &auo_g133han01_timings, 572 + .num_timings = 1, 573 + .bpc = 8, 574 + .size = { 575 + .width = 293, 576 + .height = 165, 577 + }, 578 + .delay = { 579 + .prepare = 200, 580 + .enable = 50, 581 + .disable = 50, 582 + .unprepare = 1000, 583 + }, 584 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, 585 + }; 586 + 558 587 static const struct drm_display_mode auo_t215hvn01_mode = { 559 588 .clock = 148800, 560 589 .hdisplay = 1920, ··· 1706 1677 }, { 1707 1678 .compatible = "auo,b133xtn01", 1708 1679 .data = &auo_b133xtn01, 1680 + }, { 1681 + .compatible = "auo,g133han01", 1682 + .data = &auo_g133han01, 1709 1683 }, { 1710 1684 .compatible = "auo,t215hvn01", 1711 1685 .data = &auo_t215hvn01,