|
rk3288 reload lcd调试时显示图片被压缩到一半
发表于 2016-9-20 14:54:04
浏览:6687
|
回复:1
打印
只看该作者
[复制链接]
楼主
LCD的配置如下:
/ {
/* about mipi */
disp_mipi_init: mipi_dsi_init{
compatible = "rockchip,mipi_dsi_init";
rockchip,screen_init = <1>;
rockchip,dsi_lane = <4>;
rockchip,dsi_hs_clk = <170>; //1000
rockchip,mipi_dsi_num = <1>;
};
disp_mipi_power_ctr: mipi_power_ctr {
compatible = "rockchip,mipi_power_ctr";
mipi_lcd_rst:mipi_lcd_rst{
compatible = "rockchip,lcd_rst";
rockchip,gpios = <&gpio8 GPIO_A6 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
};
/......初始化代码省略了,太多了....../
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 = <15000000>; //120000000
hactive = <720>; //720
vactive = <1280>;//1280
hsync-len = <33>; //33
hback-porch = <100>; //100
hfront-porch = <100>; //100
vsync-len = <2>;//2
vback-porch = <30>;//30
vfront-porch = <20>;//20
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
};
因为使用飞线,所以rockchip,dsi_hs_clk = <170>; 频率较低。clock-frequency = <15000000>; 频率也很低(远低于IC手册上的要求)。背光和LCD电源都是单独供了电,没有配置。
显示的图片:
。 IC手册对bit rate的要求为
请问hg有哪位知道,频率配置的这么低会导到图片中的现象吗?或有没调试时碰到过类似的现象的给点意见,谢谢!
|
|