IMX8ULP DSI output waveform is different from imx8mm

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

IMX8ULP DSI output waveform is different from imx8mm

596 Views
tangchao90
Contributor III

i need output 1080p30 by dsi from imx8ulp, my dts configure is 

&dsi {
status = "okay";

panel@0 {
compatible = "hetos,mipi7";
reg = <0>;
port {
panel_in: endpoint {
remote-endpoint = <&mipi_dsi_out>;
};
};
};

ports {
port@1 {
reg = <1>;

mipi_dsi_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};

in fact  i do something in drivers/gpu/drm/panel/panel-simple.c

static const struct drm_display_mode hetos_mipi7_mode = {
        .clock = 74250,
        .hdisplay = 1920,
        .hsync_start = 2008,
        .hsync_end = 2052,
        .htotal = 2200,
        .vdisplay = 1080,
        .vsync_start = 1084,
        .vsync_end = 1089,
        .vtotal = 1125,
};
 
static const struct panel_desc_dsi hetos_mipi7 = {
        .desc = {
                .modes = &hetos_mipi7_mode,
                .num_modes = 1,
                .bpc = 8,
                .size = {
                        .width = 170,
                        .height = 110,
                },
                .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
                .connector_type = DRM_MODE_CONNECTOR_DPI,
        },
        
        .flags = MIPI_DSI_CLOCK_NON_CONTINUOUS | MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | MIPI_DSI_MODE_LPM,
        .format = MIPI_DSI_FMT_RGB888,
        .lanes = 4,
};
but i find it can't work well in my bridge,at the same time it can work well in imx8mm,
i compare imx8ulp with imx8mm in the same configure, i find the waveform is different
imx8mm waveform
tangchao90_0-1744017437541.jpeg

imx8ulp waveform

tangchao90_1-1744017461911.jpeg

i want to now why?

Labels (1)
0 Kudos
Reply
4 Replies

583 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

They have different DSI IP and driver, please try to use DRM_MODE_CONNECTOR_DSI for .connector_type



Best Regards,
Zhiming

0 Kudos
Reply

552 Views
tangchao90
Contributor III

hello 

    My first connector_type is DRM_MODE_CONNECTOR_DSI . but it wasn't effective, i changed it to  DRM_MODE_CONNECTOR_DPI, but the result waveform is the same

0 Kudos
Reply

542 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

The DSI in i.MX8ULP can't support 1080p30.

Zhiming_Liu_0-1744081763880.png

The supported resolution are here:

Zhiming_Liu_1-1744081810993.pngZhiming_Liu_2-1744081819158.pngZhiming_Liu_3-1744081829926.png

 




Best Regards,
Zhiming

595 Views
tangchao90
Contributor III

of course i set the max_height and max_width to 1920 in dcnano-kms.c file

0 Kudos
Reply