|
发表于 2017-5-9 17:27:18
只看该作者
沙发
本帖最后由 y2000yt 于 2017-5-10 09:27 编辑
我看屏幕的手册,参数配置和实际中差异很大,如果按手册,不能正常显示界面,屏幕参数是720*1280的,手册给的配置如下:
但是实际配置如下 才能显示整个屏幕,手册给的pclock为8~30Mhz
disp_timings: display-timings {
native-mode = <&timing0>;
compatible = "rockchip,display-timings";
timing0: timing0 {
screen-type = <SCREEN_MIPI>; //
lvds-format = <LVDS_8BIT_2>; //
out-face = <OUT_P888>; //屏的接线格式
clock-frequency = <120000000>; //
hactive = <1440>; //
vactive = <1280>; //
hback-porch = <11>; //
hfront-porch = <16>; /
vback-porch = <11>;
vfront-porch = <16>;
hsync-len = <5>; //水平同步信号
vsync-len = <5>;
hsync-active = <0>; /
vsync-active = <0>;
de-active = <0>; //
pixelclk-active = <0>; /
swap-rb = <0>; //
swap-rg = <0>;
swap-gb = <0>;
请问这是为什么?
|
|