]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: simple: Add Powertip PH800480T032-ZHC19 panel
authorFlorijan Plohl <florijan.plohl@norik.com>
Tue, 17 Feb 2026 12:37:59 +0000 (13:37 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Mar 2026 13:26:00 +0000 (14:26 +0100)
Add support for the Powertip PH800480T032-ZHC19 7" (800x480) parallel
LCD-TFT panel.

Signed-off-by: Florijan Plohl <florijan.plohl@norik.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260217123759.169317-2-florijan.plohl@norik.com
drivers/gpu/drm/panel/panel-simple.c

index 59603579bd5096f854e6249d4f931cac9c237cf8..f79796387c58872c4e606e66f18e6b43b935f4e7 100644 (file)
@@ -4075,6 +4075,33 @@ static const struct panel_desc powertip_ph800480t013_idf02  = {
        .connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
+static const struct drm_display_mode powertip_ph800480t032_zhc19_mode = {
+       .clock = 27200,
+       .hdisplay = 800,
+       .hsync_start = 800 + 52,
+       .hsync_end = 800 + 52 + 2,
+       .htotal = 800 + 52 + 2 + 44,
+       .vdisplay = 480,
+       .vsync_start = 480 + 7,
+       .vsync_end = 480 + 7 + 2,
+       .vtotal = 480 + 7 + 2 + 2,
+};
+
+static const struct panel_desc powertip_ph800480t032_zhc19 = {
+       .modes = &powertip_ph800480t032_zhc19_mode,
+       .num_modes = 1,
+       .bpc = 8,
+       .size = {
+               .width = 152,
+               .height = 91,
+       },
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+       .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+               DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+               DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+       .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
 static const struct drm_display_mode primeview_pm070wl4_mode = {
        .clock = 32000,
        .hdisplay = 800,
@@ -5488,6 +5515,9 @@ static const struct of_device_id platform_of_match[] = {
        }, {
                .compatible = "powertip,ph800480t013-idf02",
                .data = &powertip_ph800480t013_idf02,
+       }, {
+               .compatible = "powertip,ph800480t032-zhc19",
+               .data = &powertip_ph800480t032_zhc19,
        }, {
                .compatible = "primeview,pm070wl4",
                .data = &primeview_pm070wl4,