|
发表于 2020-1-17 14:05:59
只看该作者
7#
调试出来了,应该还是和屏本身的参数有关。手册显示频率58MHz~78MHz。duallvds接口clock-frequency=<148000000>,这种条件下只显示开机logo,后面的就不显示了,移动鼠标串口中断提示“rockchip-vop ff940000.vop: Failed to attach iommu device”。频率改成clock-frequency=<130000000>,图像正常显示。插上HDMI接口,两个显示器能够同时显示。最后设置如下
436 timing0: timing0 {
437 //screen-type = <SCREEN_DUAL_LVDS>;
438 //lvds-format = <LVDS_8BIT_1>;
439 //color-mode = <COLOR_RGB>;
440 //out-face = <OUT_P888>;
441
442 //freq set 65M*2, used to hdmi and duallvds
443 clock-frequency = <130000000>;//duallvds,freq*2
444
445 hactive = <1920>;
446 vactive = <1080>;
447
448 hback-porch = <70>;
449 hfront-porch = <200>;
450
451 vback-porch = <30>;
452 vfront-porch = <40>;
453
454 hsync-len = <10>;
455 vsync-len = <20>;
456
457 hsync-active = <0>;
458 vsync-active = <0>;
459
460 de-active = <1>;
461 pixelclk-active = <0>; //if set 1,period double
462 };
屏是京东方的32寸双lvds反射屏(没有背光),型号GP320FHB-N10-6MP0/1
|
|