I.MX6 lvds dts设置问题?大神请进!!!
最近在使用X鹏飞公司的产品进行软件开发,遇到了问题,请大神们指点。
最近将imx6dl旧版bsp包(android4.0.4)移植到android5.1下,使用lvds1通道,lvds屏显示输出一片白。dts下配置:
aliases {
mxcfb0 = &mxcfb1;
}
mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <600>;
hback-porch = <110>;
hfront-porch = <110>;
vback-porch = <17>;
vfront-porch = <17>;
hsync-len = <100>;
vsync-len = <4>;
};
};
};
lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
primary;
status = "okay";
display-timings {
native-mode = <&timing1>;
timing1: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <600>;
hback-porch = <110>;
hfront-porch = <110>;
vback-porch = <17>;
vfront-porch = <17>;
hsync-len = <100>;
vsync-len = <4>;
};
};
};
};
&ldb {
lvds-channel@0 {
crtc = "ipu1-di0";
};
lvds-channel@1 {
crtc = "ipu1-di1";
};
启动参数:
console=ttymxc0,115200 androidboot.selinux=disabled init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1 ff video=mxcfb2 ff video=mxcfb3 ff vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
希望大神搭救