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

drm/panel: Add support for Chunghwa CLAA070WP03XG panel

The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be
supported by the simple panel driver.

Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Randy Li and committed by
Thierry Reding
2cb35c80 05ec0e45

+34
+7
Documentation/devicetree/bindings/display/panel/chunghwa,claa070wp03xg.txt
··· 1 + Chunghwa Picture Tubes Ltd. 7" WXGA TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "chunghwa,claa070wp03xg" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+27
drivers/gpu/drm/panel/panel-simple.c
··· 610 610 }, 611 611 }; 612 612 613 + static const struct drm_display_mode chunghwa_claa070wp03xg_mode = { 614 + .clock = 66770, 615 + .hdisplay = 800, 616 + .hsync_start = 800 + 49, 617 + .hsync_end = 800 + 49 + 33, 618 + .htotal = 800 + 49 + 33 + 17, 619 + .vdisplay = 1280, 620 + .vsync_start = 1280 + 1, 621 + .vsync_end = 1280 + 1 + 7, 622 + .vtotal = 1280 + 1 + 7 + 15, 623 + .vrefresh = 60, 624 + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, 625 + }; 626 + 627 + static const struct panel_desc chunghwa_claa070wp03xg = { 628 + .modes = &chunghwa_claa070wp03xg_mode, 629 + .num_modes = 1, 630 + .bpc = 6, 631 + .size = { 632 + .width = 94, 633 + .height = 150, 634 + }, 635 + }; 636 + 613 637 static const struct drm_display_mode chunghwa_claa101wa01a_mode = { 614 638 .clock = 72070, 615 639 .hdisplay = 1366, ··· 1678 1654 }, { 1679 1655 .compatible = "avic,tm070ddh03", 1680 1656 .data = &avic_tm070ddh03, 1657 + }, { 1658 + .compatible = "chunghwa,claa070wp03xg", 1659 + .data = &chunghwa_claa070wp03xg, 1681 1660 }, { 1682 1661 .compatible = "chunghwa,claa101wa01a", 1683 1662 .data = &chunghwa_claa101wa01a