Message ID | 20240515095133.745492-6-a-bhatia1@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/panel: simple: Add Panels and Panel Vendors | expand |
On 15/05/2024 11:51, Aradhya Bhatia wrote: > Add support for Microtips Technology USA 13-101HIECAF0-C 10.1", > 1920x1200, 8-bit TFT LCD with LVDS interface, LED backlight and touch > support (ILITEK 2511). > > [0]: Panel Datasheet > https://simplespec.microtipsusa.com/uploads/spec/datasheetFile/2588/13-101HIEBCAF0-S_V1.1_20221104.pdf > > Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com> > --- > drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 10e974bffd28..3a0d8f0ff267 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -3055,6 +3055,35 @@ static const struct panel_desc logicpd_type_28 = { > .connector_type = DRM_MODE_CONNECTOR_DPI, > }; > > +static const struct drm_display_mode microtips_mf_101hiebcaf0_c_mode = { > + .clock = 150275, > + .hdisplay = 1920, > + .hsync_start = 1920 + 32, > + .hsync_end = 1920 + 32 + 52, > + .htotal = 1920 + 32 + 52 + 24, > + .vdisplay = 1200, > + .vsync_start = 1200 + 24, > + .vsync_end = 1200 + 24 + 8, > + .vtotal = 1200 + 24 + 8 + 3, > +}; > + > +static const struct panel_desc microtips_mf_101hiebcaf0_c = { > + .modes = µtips_mf_101hiebcaf0_c_mode, > + .bpc = 8, > + .num_modes = 1, > + .size = { > + .width = 217, > + .height = 136, > + }, > + .delay = { > + .prepare = 50, > + .disable = 50, > + }, > + .bus_flags = DRM_BUS_FLAG_DE_HIGH, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, > + .connector_type = DRM_MODE_CONNECTOR_LVDS, > +}; > + > static const struct drm_display_mode mitsubishi_aa070mc01_mode = { > .clock = 30400, > .hdisplay = 800, > @@ -4694,6 +4723,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "logictechno,lttd800480070-l6wh-rt", > .data = &logictechno_lttd800480070_l6wh_rt, > + }, { > + .compatible = "microtips,mf-101hiebcaf0", > + .data = µtips_mf_101hiebcaf0_c, > }, { > .compatible = "mitsubishi,aa070mc01-ca1", > .data = &mitsubishi_aa070mc01, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 10e974bffd28..3a0d8f0ff267 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3055,6 +3055,35 @@ static const struct panel_desc logicpd_type_28 = { .connector_type = DRM_MODE_CONNECTOR_DPI, }; +static const struct drm_display_mode microtips_mf_101hiebcaf0_c_mode = { + .clock = 150275, + .hdisplay = 1920, + .hsync_start = 1920 + 32, + .hsync_end = 1920 + 32 + 52, + .htotal = 1920 + 32 + 52 + 24, + .vdisplay = 1200, + .vsync_start = 1200 + 24, + .vsync_end = 1200 + 24 + 8, + .vtotal = 1200 + 24 + 8 + 3, +}; + +static const struct panel_desc microtips_mf_101hiebcaf0_c = { + .modes = µtips_mf_101hiebcaf0_c_mode, + .bpc = 8, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode mitsubishi_aa070mc01_mode = { .clock = 30400, .hdisplay = 800, @@ -4694,6 +4723,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "logictechno,lttd800480070-l6wh-rt", .data = &logictechno_lttd800480070_l6wh_rt, + }, { + .compatible = "microtips,mf-101hiebcaf0", + .data = µtips_mf_101hiebcaf0_c, }, { .compatible = "mitsubishi,aa070mc01-ca1", .data = &mitsubishi_aa070mc01,
Add support for Microtips Technology USA 13-101HIECAF0-C 10.1", 1920x1200, 8-bit TFT LCD with LVDS interface, LED backlight and touch support (ILITEK 2511). [0]: Panel Datasheet https://simplespec.microtipsusa.com/uploads/spec/datasheetFile/2588/13-101HIEBCAF0-S_V1.1_20221104.pdf Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com> --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)