]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: simple: Add Innolux G150XGE-L05 panel entry
authorFabio Estevam <festevam@nabladev.com>
Fri, 2 Jan 2026 14:17:06 +0000 (11:17 -0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 13 Jan 2026 08:52:25 +0000 (09:52 +0100)
Add support for the Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel.

Signed-off-by: Fabio Estevam <festevam@nabladev.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260102141706.36842-2-festevam@gmail.com
drivers/gpu/drm/panel/panel-simple.c

index 3acc9f3dac16af9efc39a037de6fe5123da80fd4..c606e5932ca75a7acd22de4c6fd2f11160461d78 100644 (file)
@@ -2836,6 +2836,32 @@ static const struct panel_desc innolux_g121xce_l01 = {
        .connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct display_timing innolux_g150xge_l05_timing = {
+       .pixelclock   = { 53350000, 65000000, 80000000 },
+       .hactive      = { 1024, 1024, 1024 },
+       .hfront_porch = { 58, 160, 288 },
+       .hback_porch  = { 58, 160, 288 },
+       .hsync_len    = { 1, 1, 1 },
+       .vactive      = { 768, 768, 768 },
+       .vfront_porch = { 6, 19, 216 },
+       .vback_porch  = { 6, 19, 216 },
+       .vsync_len    = { 1, 1, 1 },
+       .flags        = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g150xge_l05 = {
+       .timings = &innolux_g150xge_l05_timing,
+       .num_timings = 1,
+       .bpc = 8,
+       .size = {
+               .width  = 304,
+               .height = 228,
+       },
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+       .bus_flags = DRM_BUS_FLAG_DE_HIGH,
+       .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct display_timing innolux_g156hce_l01_timings = {
        .pixelclock = { 120000000, 141860000, 150000000 },
        .hactive = { 1920, 1920, 1920 },
@@ -5314,6 +5340,9 @@ static const struct of_device_id platform_of_match[] = {
        }, {
                .compatible = "innolux,g121xce-l01",
                .data = &innolux_g121xce_l01,
+       }, {
+               .compatible = "innolux,g150xge-l05",
+               .data = &innolux_g150xge_l05,
        }, {
                .compatible = "innolux,g156hce-l01",
                .data = &innolux_g156hce_l01,