谢谢~~
下面是我修改的:
&ldb {
516 status = "okay";
517 split-mode;
518
519 lvds-channel@0 {
520 fsl,data-mapping = "spwg";
521 fsl,data-width = <24>;
522 status = "okay";
523
524 display-timings {
525 native-mode = <&timing0>;
526 timing0: hsd100pxn1 {
527 clock-frequency = <71100000>;
528 hactive = <1024>;
529 vactive = <768>;
530 hback-porch = <220>;
531 hfront-porch = <40>;
532 vback-porch = <21>;
533 vfront-porch = <7>;
534 hsync-len = <60>;
535 vsync-len = <10>;
536 };
537 };
538 };
539
540 lvds-channel@1 {
541 fsl,data-mapping = "spwg";
542 fsl,data-width = <24>;
543 primary;
544 status = "okay";
545
546 display-timings {
547 native-mode = <&timing1>;
548 timing1: hsd100pxn1 {
549 clock-frequency = <71100000>;
550 hactive = <1024>;
551 vactive = <768>;
552 hback-porch = <220>;
553 hfront-porch = <40>;
554 vback-porch = <21>;
555 vfront-porch = <7>;
556 hsync-len = <60>;
557 vsync-len = <10>;
558 };
559 };
560 };
561 };
uboot的配置参数:
setenv lvds_args 'video=mxcfb0:dev=ldb,LDB-XGA,if=RGB24'
setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${lvds_args} root={mmcroot}'
setenv mmcroot '/dev/mmcblk3p2 rootwait rw rootfstype=ext3'
结果测得lvds输出口的频率不是71.1MHz,能帮我看看我这样改的有问题吗?
弄了好久。。。。谢谢谢谢!!!!
|