]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: simple: add JuTouch JT101TM023
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 21 Aug 2025 07:55:30 +0000 (09:55 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 1 Oct 2025 07:12:23 +0000 (09:12 +0200)
Add JuTouch Technology JT101TM023 10" 1280x800 LVDS panel support.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250821-v6-17-topic-imx8mp-skov-dts-jutouch-10inch-v1-3-b492ef807d12@pengutronix.de
drivers/gpu/drm/panel/panel-simple.c

index 0019de93be1b663f55b04160606363cd043ab38b..da6b71b70a463400fcc45006788f87e97b0c148c 100644 (file)
@@ -2889,6 +2889,38 @@ static const struct panel_desc innolux_zj070na_01p = {
        },
 };
 
+static const struct display_timing jutouch_jt101tm023_timing = {
+       .pixelclock = { 66300000, 72400000, 78900000 },
+       .hactive = { 1280, 1280, 1280 },
+       .hfront_porch = { 12, 72, 132 },
+       .hback_porch = { 88, 88, 88 },
+       .hsync_len = { 10, 10, 48 },
+       .vactive = { 800, 800, 800 },
+       .vfront_porch = { 1, 15, 49 },
+       .vback_porch = { 23, 23, 23 },
+       .vsync_len = { 5, 6, 13 },
+       .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+                DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc jutouch_jt101tm023 = {
+       .timings = &jutouch_jt101tm023_timing,
+       .num_timings = 1,
+       .bpc = 8,
+       .size = {
+               .width = 217,
+               .height = 136,
+       },
+       .delay = {
+               .enable = 50,
+               .disable = 50,
+       },
+       .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 koe_tx14d24vm1bpa_timing = {
        .pixelclock = { 5580000, 5850000, 6200000 },
        .hactive = { 320, 320, 320 },
@@ -5208,6 +5240,9 @@ static const struct of_device_id platform_of_match[] = {
        }, {
                .compatible = "innolux,zj070na-01p",
                .data = &innolux_zj070na_01p,
+       }, {
+               .compatible = "jutouch,jt101tm023",
+               .data = &jutouch_jt101tm023,
        }, {
                .compatible = "koe,tx14d24vm1bpa",
                .data = &koe_tx14d24vm1bpa,