|
发表于 2015-2-15 16:48:26
只看该作者
6#
- /*添加完Data Type的代码如下
- * arch/arm/boot/dts/lcd-swi045-mipi.dtsi
- * author:
- * create date: 2015-02-04
- * lcd model: SWI4.5''
- * resolution: 480x854
- * mipi channel: single
- */
- / {
- /* about mipi */
- disp_mipi_init: mipi_dsi_init{
- compatible = "rockchip,mipi_dsi_init";
- rockchip,screen_init = <1>;
- rockchip,dsi_lane = <2>;
- rockchip,dsi_hs_clk = <940>;
- 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 = <&gpio0 GPIO_B5 GPIO_ACTIVE_LOW>;
- rockchip,delay = <100>;
- };
- lcd_en:lcd_en {
- rockchip,power_type = <GPIO>;
- gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
- rockchip,delay = <10>;
- };
- lcd_cs:lcd_cs {
- rockchip,power_type = <GPIO>;
- gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
- rockchip,delay = <10>;
- };
- 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 {
- rockchip,cmd_debug = <0>;
- compatible = "rockchip,screen-on-cmds";
- rockchip,on-cmds1 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds2 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xff 0x80 0x09 0x01>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds3 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds4 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xff 0x80 0x09>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds5 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds6 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xf5 0x01 0x18 0x02 0x18 0x10 0x18 0x02 0x18 0x0e 0x18 0x0f 0x20>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds7 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds8 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xf5 0x02 0x18 0x08 0x18 0x06 0x18 0x0d 0x18 0x0b 0x18>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds9 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds10 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xf5 0x10 0x18 0x01 0x18 0x14 0x18 0x14 0x18>; //0xff
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds11 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xb0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds12 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xf5 0x14 0x18 0x12 0x18 0x13 0x18 0x11 0x18 0x13 0x18 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds13 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds14 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc0 0x00 0x58 0x00 0x14 0x16>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds15 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x8b>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds16 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb0 0x40>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds17 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc6>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds18 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb0 0x03>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds19 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xb4>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds20 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc0 0x10>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds21 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x82>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds22 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc5 0xa3>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds23 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds24 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc5 0x96 0x38>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds25 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds26 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xd8 0x9f 0x9f>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds27 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds28 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xd9 0x82>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds29 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x81>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds30 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc1 0x66>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds31 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds32 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc1 0xea>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds33 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa1>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds34 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc1 0x08>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds35 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x89>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds36 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc4 0x08>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds37 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa3>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds38 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc0 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds39 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds40 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc4 0x30>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds41 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x8a>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds42 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc4 0x40>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds43 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x81>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds44 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc4 0x83>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds45 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x92>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds46 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc5 0x01 0x03>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds47 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xb1>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds48 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc5 0xa9 0x15 0x00 0x15 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds49 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds50 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc5 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds51 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds52 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb3 0x02>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds53 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x92>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds54 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb3 0x45>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds55 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x40>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds56 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb3 0x45>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds57 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds58 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc0 0x00 0x44 0x00 0x00 0x00 0x03>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds59 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa6>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds60 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc1 0x01 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds61 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds62 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x85 0x03 0x00 0x84 0x03 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds63 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds64 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x33 0x5c 0x00 0x33 0x5d 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds65 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds66 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x38 0x03 0x03 0x56 0x00 0x00 0x00 0x38 0x02 0x03 0x57 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds67 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xb0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds68 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x38 0x01 0x03 0x58 0x00 0x00 0x00 0x38 0x00 0x03 0x59 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds69 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds70 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x30 0x00 0x03 0x5a 0x00 0x00 0x00 0x30 0x01 0x03 0x5b 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds71 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xd0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds72 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xce 0x30 0x02 0x03 0x5c 0x00 0x00 0x00 0x30 0x03 0x03 0x5d 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds73 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc7>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds74 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xcf 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds75 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds76 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcb 0x00 0x00 0x00 0x00 0x54 0x54 0x54 0x54 0x00 0x54 0x00 0x54 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds77 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xd0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds78 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x54 0x54 0x54 0x00 0x54>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds79 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xe0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds80 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcb 0x00 0x54 0x00 0x00 0x00 0x00 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds81 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x80>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds82 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x00 0x00 0x00 0x00 0x0c 0x0a 0x10 0x0e 0x00 0x02>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds83 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x90>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds84 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x00 0x06 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0b>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds85 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds86 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x09 0x0f 0x0d 0x00 0x01 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds87 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xb0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds88 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x00 0x00 0x00 0x00 0x0d 0x0f 0x09 0x0b 0x00 0x05>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds89 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds90 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0e>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds91 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xd0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds92 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xcc 0x10 0x0a 0x0c 0x00 0x06 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds93 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds94 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xe1 0x01 0x0b 0x11 0x0d 0x06 0x0f 0x0b 0x0a 0x04 0x07 0x0f 0x08 0x0f 0x0f 0x09 0x06>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds95 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds96 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xe2 0x01 0x0c 0x12 0x0d 0x06 0x0e 0x0b 0x0a 0x03 0x07 0x0e 0x09 0x0f 0x0f 0x09 0x06>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds97 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa0>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds98 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xc1 0xea>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds99 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xa6>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds100 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xc1 0x01 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds101 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0xc6>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds102 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0xb0 0x03>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds103 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x00 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds104 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x39 0xff 0xff 0xff 0xff>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds105 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x35 0x00>;
- rockchip,cmd_delay = <0>;
- };
- rockchip,on-cmds106 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x11>;
- rockchip,cmd_delay = <120>;
- };
- rockchip,on-cmds107 {
- compatible = "rockchip,on-cmds";
- rockchip,cmd_type = <LPDT>;
- rockchip,dsi_id = <0>;
- rockchip,cmd = <0x15 0x29>;
- rockchip,cmd_delay = <120>;
- };
- };
- 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 = <30000000>;
- hactive = <854>;
- vactive = <480>;
- hback-porch = <40>;
- hfront-porch = <50>;
- vback-porch = <10>;
- vfront-porch = <4>;
- hsync-len = <8>;
- vsync-len = <7>;
- hsync-active = <0>;
- vsync-active = <0>;
- de-active = <0>;
- pixelclk-active = <0>;
- swap-rb = <0>;
- swap-rg = <0>;
- swap-gb = <0>;
- };
- };
- };
复制代码
以上为dtsi的配置。另外我试着抓出fb0中的图片,发现其分辨率变为480x800。
|
|