i.MX8MP LVDS Panel Problem

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX8MP LVDS Panel Problem

32 Views
yumi_wang
Contributor I

i use i.MX8MP + Android 11 

1. in imx8mp-evk-jdi-wuxga-lvds-panel.dts add : 

lvds0_panel {

                        compatible = "vxt, vl050-8048nt-c02" ;

2. in  simple_panel.c add:

static const struct drm_display_mode vl050_8048nt_c02_mode = {
.clock = 33333,
.hdisplay = 800,
.hsync_start = 800 + 210 ,
.hsync_end = 800 + 210 + 20 ,
.htotal = 800 + 210 + 20 + 46,
.vdisplay = 480,
.vsync_start = 480 + 22 ,
.vsync_end = 480 + 22 + 10 ,
.vtotal = 480 + 22 + 10 + 23,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,

};

static const struct panel_desc vl050_8048nt_c02 = {
.modes = &vl050_8048nt_c02_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 120,
.height = 76,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE,
};

panel spec is resolution 800*480 , so i  write resolution 800*480 in simple_panel.c , 

But the real display seems to be half, what should I do about this problem?

VXT_LVDS.png

 

 

 

 

 

0 Kudos
0 Replies