完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
说明:
还是按照老流程调试屏幕:
屏信息: 时序参数数据手册上没有写,问厂商直接要的。 改动: 主dts: diff --git a/arch/arm/boot/dts/rk3288-benebot.dts b/arch/arm/boot/dts/rk3288-benebot.dts index 8f7951e..6681054 100644 --- a/arch/arm/boot/dts/rk3288-benebot.dts +++ b/arch/arm/boot/dts/rk3288-benebot.dts @@ -2,8 +2,13 @@ #include "rk3288.dtsi" + +#include "lcd-mipi.dtsi" + + + / { fiq-debugger { status = "okay"; @@ -429,18 +434,25 @@ //Kris, disable display logo in u-boot. &fb { rockchip,disp-mode = - rockchip,uboot-logo-on = <1>; + rockchip,uboot-logo-on = <0>; }; &rk_screen { display-timings = <&disp_timings>; }; + +&dsihost0{ //一开始忘记打开dsi,导致系统crash. + status = "okay"; +}; + + /*lcdc0 as PRMRY(LCD),lcdc1 as EXTEND(HDMI)*/ &lcdc0 { status = "okay"; rockchip,mirror = rockchip,cabc_mode = <0>; + rockchip,iommu-enabled = <0>; power_ctr: power_ctr { rockchip,debug = <0>; /*lcd_18:lcd18 { @@ -455,14 +467,14 @@ gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>; rockchip,delay = <10>; }; - + /* lcd_cs:lcd_cs { rockchip,power_type = gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>; rockchip,delay = <10>; }; - /*lcd_rst:lcd_rst { + lcd_rst:lcd_rst { rockchip,power_type = gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>; rockchip,delay = <5>; @@ -472,7 +484,7 @@ }; &lcdc1 { - status = "okay"; + status = "disabled"; rockchip,mirror = }; @@ -739,12 +751,12 @@ rk818_ldo4_reg:regulator@7 { regulator-name= "rk818_ldo4"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; //屏要求电源。 + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; regulator-initial-state = <3>; regulator-state-mem { regulator-state-disabled; - regulator-state-uv = <1800000>; + regulator-state-uv = <3300000>; }; }; @@ -847,7 +859,8 @@ }; }; lcd-mipi.dtsi: /* * Copyright (C) 2014 ROCKCHIP, Inc. * Licensed under GPLv2 or later. * author: chenyf@rock-chips.com * create date: 2014-09-11 * resolution: 768 X 1024 * mipi channel: single */ / { /* 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 = <650>; rockchip,mipi_dsi_num = <1>; }; //主dts中也有对相同gpio的控制,使用哪边根据情况决定。 disp_mipi_power_ctr: mipi_power_ctr { compatible = "rockchip,mipi_power_ctr"; mipi_lcd_rst:mipi_lcd_rst{ compatible = "rockchip,lcd_rst"; rockchip,gpios = <&gpio6 GPIO_A7 GPIO_ACTIVE_HIGH>; rockchip,delay = <50>; }; /* 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 = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds2 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE1 0x93>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds3 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE2 0x65>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds4 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE3 0xF8>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds5 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x80 0x03>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds6 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x04>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds7 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x2D 0x03>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds8 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x01>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds9 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x00 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds10 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x01 0x6B>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds11 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x03 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds12 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x04 0x77>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds13 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x17 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds14 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x18 0xAF>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds15 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x19 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds16 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1A 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds17 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1B 0xAF>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds18 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1C 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds19 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1F 0x3E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds20 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x20 0x28>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds21 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x21 0x28>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds22 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x22 0x7E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds23 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x35 0x2C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds24 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x37 0x19>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds25 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x38 0x05>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds26 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x39 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds28 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x3A 0x01>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds29 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x3C 0x90>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds30 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x3D 0xFF>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds31 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x3E 0xFF>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds32 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x3F 0x7F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds33 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x40 0x05>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds35 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x41 0x80>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds36 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x42 0x81>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds37 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x43 0x10>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds38 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x44 0x0B>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds39 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x45 0x28>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds40 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x4B 0x04>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds41 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x55 0x0F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds42 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x57 0x69>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds43 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x59 0x0A>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds44 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5A 0x28>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds45 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5B 0x14>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds46 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5D 0x7C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds47 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5E 0x6A>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds48 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5F 0x5D>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds49 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x60 0x52>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds50 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x61 0x4F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds51 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x62 0x41>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds52 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x63 0x44>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds53 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x64 0x2E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds54 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x65 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds55 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x66 0x45>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds56 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x67 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds57 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x68 0x65>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds58 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x69 0x55>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds59 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6A 0x5F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds60 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6B 0x52>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds61 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6C 0x4E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds62 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6D 0x41>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds63 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6E 0x2D>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds64 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6F 0x12>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds65 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x70 0x7C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds66 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x71 0x6A>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds67 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x72 0x5D>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds68 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x73 0x52>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds69 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x74 0x4F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds70 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x75 0x41>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds71 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x76 0x44>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds72 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x77 0x2E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds73 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x78 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds74 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x79 0x45>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds75 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7A 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds76 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7B 0x65>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds77 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7C 0x55>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds78 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7D 0x5F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds79 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7E 0x52>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds80 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x7F 0x4E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds81 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x80 0x41>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds82 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x81 0x2D>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds83 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x82 0x12>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds84 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x02>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds85 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x00 0x47>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds86 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x01 0x47>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds87 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x02 0x45>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds88 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x03 0x45>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds89 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x04 0x4B>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds90 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x05 0x4B>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds91 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x06 0x49>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds92 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x07 0x49>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds93 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x08 0x1E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds94 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x09 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds95 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0A 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds96 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0B 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds97 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0C 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds98 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0D 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds99 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0E 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds100 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0F 0x41>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds101 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x10 0x43>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds102 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x11 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds103 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x12 0x1E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds104 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x13 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds105 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x14 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds106 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x15 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds107 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x16 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds108 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x17 0x46>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds109 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x18 0x44>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds110 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x19 0x44>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds111 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1A 0x4A>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds112 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1B 0x4A>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds113 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1C 0x48>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds114 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1D 0x48>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds115 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1E 0x1E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds116 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x1F 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds117 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x20 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds118 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x21 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds119 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x22 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds120 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x23 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds121 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x24 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds122 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x25 0x40>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds123 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x26 0x42>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds124 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x27 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds125 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x28 0x1E>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds126 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x29 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds127 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x2A 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds128 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x2B 0x1F>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds129 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x58 0x40>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds130 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x59 0x00>; rockchip,cmd_delay = <50>; }; rockchip,on-cmds131 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5A 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds132 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5B 0x30>; rockchip,cmd_delay = <50>; }; rockchip,on-cmds133 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5C 0x03>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds134 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5D 0x30>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds136 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5E 0x01>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds137 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x5F 0x02>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds138 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x63 0x10>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds139 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x64 0x7C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds140 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x67 0x73>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds141 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x68 0x05>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds142 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x69 0x10>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds143 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6A 0x7C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds144 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6B 0x08>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds145 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6C 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds146 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6D 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds147 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6E 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds148 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x6F 0x88>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds1481 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xe0 0x01>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds1482 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0e 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds1483 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xe0 0x03>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds1484 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x98 0x3f>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds149 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x04>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds150 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x09 0x11>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds151 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x0E 0x48>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds152 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x2B 0x2B>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds153 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x2E 0x44>; rockchip,cmd_delay = <0>; }; /*bist mode*/ /* rockchip,on-cmds1561 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x01>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds1562 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0x4A 0x35>; rockchip,cmd_delay = <0>; };*/ rockchip,on-cmds154 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE0 0x00>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds155 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE6 0x02>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds156 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x15 0xE7 0x0C>; rockchip,cmd_delay = <0>; }; rockchip,on-cmds157 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x05 0x11>; rockchip,cmd_delay = <120>; }; rockchip,on-cmds158 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = rockchip,dsi_id = <0>; rockchip,cmd = <0x05 0x29>; rockchip,cmd_delay = <50>; }; }; disp_timings: display-timings { native-mode = <&timing0>; compatible = "rockchip,display-timings"; timing0: timing0 { screen-type = lvds-format = out-face = clock-frequency = <63700000>; hactive = <768>; vactive = <1024>; hback-porch = <16>; hfront-porch = <32>; vback-porch = <8>; vfront-porch = <16>; hsync-len = <16>; vsync-len = <4>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; swap-rb = <0>; swap-rg = <0>; swap-gb = <0>; }; }; }; 参考: Rockchip_DRM_Panel_Porting_Guide_V1.6_20190228.pdf |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
1162 浏览 0 评论
1330 浏览 1 评论
1015 浏览 1 评论
2345 浏览 1 评论
3671 浏览 1 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-31 02:19 , Processed in 0.691865 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号