]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: simple: Add Raystar RFF500F-AWH-DNN panel entry
authorFabio Estevam <festevam@gmail.com>
Sat, 15 Nov 2025 02:58:27 +0000 (23:58 -0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 19 Nov 2025 16:08:46 +0000 (17:08 +0100)
Add support for the Raystar RFF500F-AWH-DNN 5.0" TFT 840x480 LVDS panel.

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

index bdb53824e3edd30209e0346a75b3ea4811008845..b26b682826bca23ae0efa116cfd19442f828790f 100644 (file)
@@ -4106,6 +4106,30 @@ static const struct panel_desc qishenglong_gopher2b_lcd = {
        .connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
+static const struct display_timing raystar_rff500f_awh_dnn_timing = {
+       .pixelclock = { 23000000, 25000000, 27000000 },
+       .hactive = { 800, 800, 800 },
+       .hback_porch = { 4, 8, 48 },
+       .hfront_porch = { 4, 8, 48 },
+       .hsync_len = { 2, 4, 8 },
+       .vactive = { 480, 480, 480 },
+       .vback_porch = { 4, 8, 12 },
+       .vfront_porch = { 4, 8, 12 },
+       .vsync_len = { 2, 4, 8 },
+};
+
+static const struct panel_desc raystar_rff500f_awh_dnn = {
+       .timings = &raystar_rff500f_awh_dnn_timing,
+       .num_timings = 1,
+       .bpc = 8,
+       .size = {
+               .width = 108,
+               .height = 65,
+       },
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+       .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct display_timing rocktech_rk043fn48h_timing = {
        .pixelclock = { 6000000, 9000000, 12000000 },
        .hactive = { 480, 480, 480 },
@@ -5409,6 +5433,9 @@ static const struct of_device_id platform_of_match[] = {
        }, {
                .compatible = "qishenglong,gopher2b-lcd",
                .data = &qishenglong_gopher2b_lcd,
+       }, {
+               .compatible = "raystar,rff500f-awh-dnn",
+               .data = &raystar_rff500f_awh_dnn,
        }, {
                .compatible = "rocktech,rk043fn48h",
                .data = &rocktech_rk043fn48h,