|
发表于 2016-1-15 19:19:52
只看该作者
5#
多谢,改过DTS以后屏幕终于有输出了。但是可能是平台的问题,我需要设置的H proch特别大。
我屏幕是320*320的,但是H-proch要设置到200左右。disp_mipi_init: mipi_dsi_init{
compatible = "rockchip,mipi_dsi_init";
rockchip,screen_init = <1>;
rockchip,dsi_lane = <1>;
rockchip,dsi_hs_clk = <200>;
rockchip,mipi_dsi_num = <1>;
};
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>;
color-mode = <COLOR_RGB>;
clock-frequency = <10000000>;
hactive = <320>;
vactive = <320>;
hsync-len = <90>;
hback-porch = <210>;
hfront-porch = <210>;
vsync-len = <2>;
vback-porch = <11>;
vfront-porch = <10>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <0>;
pixelclk-active = <1>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
};
|
|