IMX6Q Linux MIPI LCD + HDMI

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

IMX6Q Linux MIPI LCD + HDMI

971 Views
chenjt
Contributor I

i want to use mipi LCD + HDMI 

mipi LCD :1024x600 

HDMI 1920x1080

device tree: 

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "mipi_dsi";
interface_pix_fmt = "RGB24";
mode_str = "ST7701S-WVGA";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};

mxcfb2: fb@1 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "hdmi";
interface_pix_fmt = "RGB24";
mode_str ="1920x1080M@60";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};

&hdmi_core {
ipu_id = <0>;
disp_id = <0>;
status = "okay";
};


&mipi_csi {
status = "okay";
ipu_id = <0>;
csi_id = <1>;
v_channel = <0>;
lanes = <2>;
};

i add  

video=mxcfb0:dev=mipi_dsi,ST7701S-WVGA,if=RGB24 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32,if=RGB24

into uboot env

------------

the result is MIPI can display but HDMI can't.

 cat /sys/class/graphics/fb0/mode  ==>> U:1024x600p-60
cat /sys/class/graphics/fb2/mode   ==>>  U:1920x1080p-60

i use kernel version is : 3.14.52

Has anyone encountered such  problem? 

it was ipu_id  problem ?

Hope someone can help me .

Labels (2)
0 Kudos
2 Replies

765 Views
wjy
Contributor I

I use kernel version is : 4.1.15.This version also can not realize Mipi and HDMI displayed simultaneously by modifying the device tree.
was ipu_id and disp_id 's problem ?
Is there anything else that needs to be modified?

0 Kudos

869 Views
jimmychan
NXP TechSupport
NXP TechSupport

BSP L3.14.52 is too old. Please try the newer version of BSP.

0 Kudos