本帖最后由 Wonderself 于 2016-3-15 09:50 编辑
这是uboot参数:
"fb0base=0x27b00000 " \
"video=mxcfb0:dev=ldb,LDB-XGA,if=RGB8888,bpp=32 fbmem=32M\0" \
kernel dtsi配置:
&ldb {
status = "okay";
/* dual-mode;*/
split-mode;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
primary;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn0 {
clock-frequency = <47500000>;
hactive = <960>;
vactive = <720>;
hback-porch = <50>;
hfront-porch = <10>;
vback-porch = <40>;
vfront-porch = <20>;
hsync-len = <1>;
vsync-len = <1>;
};
};
};
lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";
display-timings {
native-mode = <&timing1>;
timing1: hsd100pxn1 {
clock-frequency = <47500000>;
hactive = <960>;
vactive = <720>;
hback-porch = <50>;
hfront-porch = <10>;
vback-porch = <40>;
vfront-porch = <20>;
hsync-len = <1>;
vsync-len = <1>;
};
};
};
};
|