]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: simple: Add AM-1280800W8TZQW-T00H
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Fri, 15 May 2026 08:22:01 +0000 (10:22 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 26 May 2026 14:00:32 +0000 (16:00 +0200)
Add Ampire, AM-1280800W8TZQW-T00H 10.1" TFT LCD panel timings.

Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260515082232.1766586-2-dario.binacchi@amarulasolutions.com
drivers/gpu/drm/panel/panel-simple.c

index 2fbb9dff0a34df45db67f301d61090e8b685330e..5119e42b203ec2002d5906b4694d53f9046fdbc1 100644 (file)
@@ -820,6 +820,31 @@ static const struct panel_desc ampire_am_1280800n3tzqw_t00h = {
        .connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct drm_display_mode ampire_am_1280800w8tzqw_t00h_mode = {
+       .clock = 72400,
+       .hdisplay = 1280,
+       .hsync_start = 1280 + 40,
+       .hsync_end = 1280 + 40 + 80,
+       .htotal = 1280 + 40 + 80 + 40,
+       .vdisplay = 800,
+       .vsync_start = 800 + 10,
+       .vsync_end = 800 + 10 + 18,
+       .vtotal = 800 + 10 + 18 + 10,
+};
+
+static const struct panel_desc ampire_am_1280800w8tzqw_t00h = {
+       .modes = &ampire_am_1280800w8tzqw_t00h_mode,
+       .num_modes = 1,
+       .bpc = 8,
+       .size = {
+               .width = 217,
+               .height = 136,
+       },
+       .bus_flags = DRM_BUS_FLAG_DE_HIGH,
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+       .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct drm_display_mode ampire_am_480272h3tmqw_t01h_mode = {
        .clock = 9000,
        .hdisplay = 480,
@@ -5588,6 +5613,9 @@ static const struct of_device_id platform_of_match[] = {
        {
                .compatible = "ampire,am-1280800n3tzqw-t00h",
                .data = &ampire_am_1280800n3tzqw_t00h,
+       }, {
+               .compatible = "ampire,am-1280800w8tzqw-t00h",
+               .data = &ampire_am_1280800w8tzqw_t00h,
        }, {
                .compatible = "ampire,am-480272h3tmqw-t01h",
                .data = &ampire_am_480272h3tmqw_t01h,