|
360x360 圆形 LCD 显示问题求解
发表于 2015-9-10 09:50:16
浏览:24259
|
回复:19
打印
只看该作者
[复制链接]
楼主
各位大神,
我有一片 360x360 1.5” 圆形 LCD , IC:NT35350使用 MIPI 1 对数据线(C+/C-、D0+/D0-) DataRate: 230Mbps 怎么搞画面都只有一半颜色也不正确, 求解!
disp_mipi_init: mipi_dsi_init{
compatible = "rockchip,mipi_dsi_init";
rockchip,screen_init = <1>;
rockchip,dsi_lane = <1>;
rockchip,dsi_hs_clk = <230>;
rockchip,mipi_dsi_num = <1>;
};
disp_mipi_init_cmds: screen-on-cmds {
rockchip,cmd_debug = <0>;
compatible = "rockchip,screen-on-cmds";
rockchip,on-cmds01 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x15 0xFF 0x10>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds02 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x15 0xBB 0x03>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds03 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x05 0x11>;
rockchip,cmd_delay = <150>;
};
rockchip,on-cmds04 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x05 0x29>;
rockchip,cmd_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 = <9432540>;
hactive = <360>;
vactive = <360>;
hsync-len = <1>; //1
hback-porch = <28>; //28
hfront-porch = <28>; //28
vsync-len = <1>;
vback-porch = <6>; //6
vfront-porch = <10>; //10
hsync-active = <1>;
vsync-active = <1>;
de-active = <0>;
pixelclk-active = <1>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
};
|
|