|
发表于 2015-1-24 11:55:58
只看该作者
22#
比较长 我把整个屏参贴上来把,请看!
disp_mipi_init: mipi_dsi_init{
compatible = "rockchip,mipi_dsi_init";
rockchip,screen_init = <1>;
rockchip,dsi_lane = <4>;
rockchip,dsi_hs_clk = <964>;
rockchip,mipi_dsi_num = <2>;
};
disp_mipi_power_ctr: mipi_power_ctr {
compatible = "rockchip,mipi_power_ctr";
mipi_lcd_rst:mipi_lcd_rst{
compatible = "rockchip,lcd_rst";
rockchip,gpios = <&gpio2 GPIO_B7 GPIO_ACTIVE_HIGH>;
rockchip,delay = <100>;
};
/*mipi_lcd_en:mipi_lcd_en {
compatible = "rockchip,lcd_en";
rockchip,gpios = <&gpio0 GPIO_C1 GPIO_ACTIVE_HIGH>;
rockchip,delay = <100>;
};*/
};
disp_mipi_init_cmds: screen-on-cmds {
compatible = "rockchip,screen-on-cmds";
rockchip,cmd_debug = <1>;
rockchip,on-cmds1 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xB0 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds2 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD6 0x01>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds3 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xB4 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds4 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xB3 0x14 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds5 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xB6 0x3A 0xC3 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds6 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xBE 0x04>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds7 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC3 0x00 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds8 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC5 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds9 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC0 0x00 0x00 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds10 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC1 0x04 0x61 0x00 0x30 0x29 0x10 0x19 0x63 0x61 0xB4 0xE6 0xDC 0x7B 0xEF 0x39 0xD7 0xDA 0x08 0x8C 0xB1 0x08 0x54 0x82 0x00 0x00 0x00 0x00 0x00 0x02 0x63 0x27 0x03 0x00 0xFF 0x11>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds11 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC2 0x08 0x0A 0x00 0x08 0x08 0xF0 0x00 0x04 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds12 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC4 0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x05 0x01 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds13 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC6 0x5A 0x00 0x2D 0x03 0x01 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x06 0x15 0x08 0x5A>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds14 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC7 0x02 0x0D 0x14 0x1E 0x2C 0x3B 0x46 0x57 0x3C 0x44 0x50 0x5D 0x68 0x6F 0x7B 0x02 0x0D 0x14 0x1E 0x2C 0x3B 0x46 0x57 0x3C 0x44 0x50 0x5D 0x68 0x6F 0x7B 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds15 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xC8 0x01 0x00 0xFE 0x02 0xFB 0xB0 0x00 0x00 0x00 0x02 0xFD 0xFC 0x00 0x00 0xF9 0x02 0x02 0xFC 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds16 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xCB 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x54 0xE0 0x07 0x2A 0xE0 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds17 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xCC 0x32>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds18 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD7 0x82 0xFF 0x21 0x8E 0x8C 0xF1 0x87 0x3F 0x7E 0x10 0x00 0x00 0x8F>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds19 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD9 0x00 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds20 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD0 0x11 0x17 0x14 0xFD>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds21 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD2 0xCD 0x2B 0x2B 0x33 0x12 0x33 0x33 0x33 0x77 0x77 0x33 0x33 0x33 0x00 0x00 0x00 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds22 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xD5 0x06 0x00 0x00 0x01 0x49 0x01 0x49>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds23 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x29 0xE5 0x00 0x00 0x08 0x10 0x00>;
rockchip,cmd_delay = <0>;
};
rockchip,on-cmds24 { //video
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x39 0x11>;
rockchip,cmd_delay = <250>;
};
rockchip,on-cmds25 {
compatible = "rockchip,on-cmds";
rockchip,cmd_type = <LPDT>;
rockchip,dsi_id = <0>;
rockchip,cmd = <0x39 0x29>;
rockchip,cmd_delay = <30>;
};
};
disp_timings: display-timings {
native-mode = <&timing0>;
compatible = "rockchip,display-timings";
timing0: timing0 {
screen-type = <SCREEN_DUAL_MIPI>;
lvds-format = <LVDS_8BIT_2>;
out-face = <OUT_P888>;
clock-frequency = <256000000>;
hactive = <1440>;
vactive = <2560>;
hback-porch = <80>;
hfront-porch = <154>;
vback-porch = <6>;
vfront-porch = <8>;
hsync-len = <20>;
vsync-len = <2>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
}; |
|