AnsweredAssumed Answered

IMX6DL LVDS+HDMI同显问题

Question asked by Liang JiaXing on Dec 5, 2019
Latest reply on Jul 8, 2020 by Qiang Li - Mpu Se

BSP:4.1.15-1.2.0

Kernel:4.1.15

 

dts文件:BLTP01lvds_lvds_hdmi.dts、blt-p01-test.dtsi

 

当设置fb0为ldb的时候,lvds能正常显示1920x1080

当设置fb0为hdmi的时候,hdmi能正常显示1920x1080

但是就是不能同时显示,求指导

Qiang Li - Mpu Se

 

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB24";
default_bpp = <32>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};

 

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

 

&ldb {
status = "okay";
split-mode;

#if 1
lvds-channel@0 {
fsl,data-mapping = "spwg";
//fsl,data-mapping = "jeida";
fsl,data-width = <24>;
crtc = "ipu1-di0";
status = "okay";
primary;

display-timings {
native-mode = <&timing0>;
timing0: LM215WF3 {
clock-frequency = <72000000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <48>;
hfront-porch = <48>;
vback-porch = <8>;
vfront-porch = <8>;
hsync-len = <32>;
vsync-len = <4>;
};
};
};
#endif

#if 1
lvds-channel@1 {
crtc = "ipu1-di1";
};
#endif

};

 

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

Outcomes