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

drm/panel: simple: Add AM-1280800N3TZQW-T00H

Add Ampire, AM-1280800N3TZQW-T00H 10.1" TFT LCD panel timings.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200829163328.249211-2-jagan@amarulasolutions.com

authored by

Jagan Teki and committed by
Sam Ravnborg
bca684e6 a8f94c4a

+29
+29
drivers/gpu/drm/panel/panel-simple.c
··· 659 659 drm_panel_unprepare(&panel->base); 660 660 } 661 661 662 + static const struct drm_display_mode ampire_am_1280800n3tzqw_t00h_mode = { 663 + .clock = 71100, 664 + .hdisplay = 1280, 665 + .hsync_start = 1280 + 40, 666 + .hsync_end = 1280 + 40 + 80, 667 + .htotal = 1280 + 40 + 80 + 40, 668 + .vdisplay = 800, 669 + .vsync_start = 800 + 3, 670 + .vsync_end = 800 + 3 + 10, 671 + .vtotal = 800 + 3 + 10 + 10, 672 + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, 673 + }; 674 + 675 + static const struct panel_desc ampire_am_1280800n3tzqw_t00h = { 676 + .modes = &ampire_am_1280800n3tzqw_t00h_mode, 677 + .num_modes = 1, 678 + .bpc = 6, 679 + .size = { 680 + .width = 217, 681 + .height = 136, 682 + }, 683 + .bus_flags = DRM_BUS_FLAG_DE_HIGH, 684 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 685 + .connector_type = DRM_MODE_CONNECTOR_LVDS, 686 + }; 687 + 662 688 static const struct drm_display_mode ampire_am_480272h3tmqw_t01h_mode = { 663 689 .clock = 9000, 664 690 .hdisplay = 480, ··· 3901 3875 3902 3876 static const struct of_device_id platform_of_match[] = { 3903 3877 { 3878 + .compatible = "ampire,am-1280800n3tzqw-t00h", 3879 + .data = &ampire_am_1280800n3tzqw_t00h, 3880 + }, { 3904 3881 .compatible = "ampire,am-480272h3tmqw-t01h", 3905 3882 .data = &ampire_am_480272h3tmqw_t01h, 3906 3883 }, {