On Wed, Jul 15, 2026 at 02:34:48PM -0400, [email protected] wrote: > From: Frank Li <[email protected]> > > Add support for WKS101WX001-WCT panel, which is an industrial-grade > 10.1-inch IPS TFT LCD capacitive touch screen display module. > > Signed-off-by: Frank Li <[email protected]> > --- > change in v2 > - update height to 135 from 136 (sashiko) > --- > drivers/gpu/drm/panel/panel-simple.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c > b/drivers/gpu/drm/panel/panel-simple.c > index c09bf3db5e78a..73a21303a612a 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -5171,6 +5171,34 @@ static const struct panel_desc vl050_8048nt_c01 = { > .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE, > }; > > +static const struct drm_display_mode waiken_101wx001_mode = { > + .clock = 71100, > + .hdisplay = 1280, > + .hsync_start = 1280 + 70, > + .hsync_end = 1280 + 70 + 10, > + .htotal = 1280 + 70 + 10 + 80, > + .vdisplay = 800, > + .vsync_start = 800 + 10, > + .vsync_end = 800 + 10 + 3, > + .vtotal = 800 + 10 + 3 + 10, > + .width_mm = 217, > + .height_mm = 135, > + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, > +}; > + > +static const struct panel_desc waiken_101wx001_panel = { > + .modes = &waiken_101wx001_mode, > + .num_modes = 1, > + .bpc = 6, > + .size = { > + .width = 217, > + .height = 135, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
I find a panel specification in link [1] and guess it's for this panel. It indicates that each color component width is 8 in 'RGB Input Interface Description' table. [1] https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Optimizing-eLCDIF-throughput/m-p/982741/highlight/true?profile.language=en#M5348 > + .connector_type = DRM_MODE_CONNECTOR_DPI, Seems that the panel also supports LVDS input according to the specification, since it mentions 'RGB or LVDS Interface'? > + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, > +}; > + > static const struct drm_display_mode waveshare_28_lcd_mode = { > .clock = 50000, > .hdisplay = 480, > @@ -6155,6 +6183,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "vxt,vl050-8048nt-c01", > .data = &vl050_8048nt_c01, > + }, { > + .compatible = "waiken,101wx001", > + .data = &waiken_101wx001_panel, > }, { > .compatible = "waveshare,2.8inch-panel", > .data = &waveshare_28_lcd_panel > > -- > 2.43.0 > -- Regards, Liu Ying
