I use is the kernel of linux3.10.53,i have two display device ,mipi disaplay 720*1280 and lcd 800*600,fb0 and video16 are corresponding,fb1 ~ fb3 and video17 ~ video19 not correspond,How to make them one-to-one correspondence?
mxcfb1: fb@0 { | ||
compatible = "fsl,mxc_sdc_fb"; | ||
disp_dev = "mipi_dsi"; | ||
interface_pix_fmt = "RGB24"; | ||
mode_str ="TRULY-WVGA"; | ||
default_bpp = <24>; | ||
int_clk = <0>; | ||
late_init = <0>; | ||
status = "disabled"; | ||
}; | ||
mxcfb2: fb@1 { | ||
compatible = "fsl,mxc_sdc_fb"; | ||
disp_dev = "lcd"; | ||
interface_pix_fmt = "RGB24"; | ||
mode_str ="800x600M@60"; | ||
default_bpp = <24>; | ||
int_clk = <0>; | ||
late_init = <0>; | ||
status = "disabled"; | ||
}; |
you should set them in the uboot line, fb0 is relevent to mxcfb0,fb1 is relevent to fb0's overlay fb, fb2 is relevent to mxcfb1.
for more detailed for these, you also can use the command as below:
cat /sys/class/video4linux/video17/name
cat /sys/class/graphsics/fb0/mode