Hi Guanqiong,
I am using kernel 3.10.17 which has device tree concept and i have changed according to my need .
In LCD I am using mxcfb2 framebuffer:
mxcfb3: fb@2 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
interface_pix_fmt = "RGB24";
mode_str ="CLAA-WVGA";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
For HDMI i am using mxcfb1 :
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 = "okay";
};
For IPU and Device ID assignment in LCD case :
lcd@0 {
compatible = "fsl,lcd";
ipu_id = <0>;
disp_id = <0>;
default_ifmt = "RGB24";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1_1>;
status = "okay";
};
For IPU and Device ID assignment in case of HDMI:
&hdmi_core {
ipu_id = <0>;
disp_id = <1>;
status = "okay";
};
And for blanking if i use echo 1 > /sys/class/graphics/fb0/blank it controls both display.