i.MX8MP LVDS Panel Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MP LVDS Panel Problem

2,129 Views
yumi_wang
Contributor II

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
2 Replies

1,489 Views
yumi_wang
Contributor II

hi, 

i modify "imx8mp-evk-jdi-wuxga-lvds-panel.dts"  then solve it.

&ldb {
/*fsl,dual-channel; <-----must remove , because use panel vl050-8048yl-c02*/

lvds-channel@0 {
fsl,data-mapping = "jeida";

 

1,496 Views
embdev1
Contributor I

I am facing a similar issue. Pls, let me know if you are able to solve this problem. Thanks.

0 Kudos