I.MX6 lvds dts设置问题?大神请进!!!

szhebin 2017-03-29 11:00:49
最近在使用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
希望大神搭救
...全文
1325 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
szypf 2017-03-29
  • 打赏
  • 举报
回复
这个是盈鹏飞公司的产品吧!私信我。。。QQ:1032626987

1,025

社区成员

发帖
与我相关
我的任务
社区描述
Linux /Unix kernel支持不同的硬件体系,X86, ARM, MIPS, 等等
社区管理员
  • CPU和硬件区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧