- 屏幕驱动初始中使用dsi_dcs_wr写屏幕配置,进入高速video模式之后,mipi的时钟和数据脚没有输出了;而屏初始化中用dsi_gen_wr写屏幕配置,de正常了,irq也有变化了,屏幕还是显示不了; 请教下是哪里配置有问题
dsi_dcs_wr写屏幕配置,启动后 irq无变化
root@TinaLinux:/# cat /sys/class/disp/disp/attr/sys
screen 0:
de_rate 300000000 hz, ref_fps:57
mgr0: 720x1280 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1]
dmabuf: cache[0] cache max[0] umap skip[0] umap skip max[0]
lcd output backlight(150) fps:25.5 720x1280
err:0 skip:0 irq:0 vsync:0 vsync_skip:0
BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[ 720,1280; 720,1280; 720,1280] crop[ 0, 0, 720,1280] frame[ 0, 0, 720,1280] addr[ 0, 0, 0] flags[0x 0] trd[0,0]
设备树配置
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "ili9881d_dsi_panel";
lcd_bl_0_percent = <0>;
lcd_bl_40_percent = <23>;
lcd_bl_100_percent = <100>;
lcd_backlight = <150>;
lcd_if = <4>;
lcd_x = <720>;
lcd_y = <1280>;
lcd_width = <62>;
lcd_height = <110>;
lcd_dclk_freq = <69>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <7>;
lcd_pwm_freq = <50000>;
lcd_pwm_pol = <0>;
lcd_pwm_max_limit = <255>;
lcd_hbp = <120>;
lcd_ht = <920>;
lcd_hspw = <40>;
lcd_vbp = <20>;
lcd_vt = <1315>;
lcd_vspw = <4>;
lcd_dsi_if = <0>;
lcd_dsi_lane = <4>;
lcd_dsi_format = <0>;
lcd_dsi_te = <0>;
lcd_dsi_eotp = <0>;
lcd_frm = <0>;
lcd_io_phase = <0x0000>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
lcdgamma4iep = <22>;
lcd_gpio_0 = <&pio PB 5 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&dsi4lane_pins_a>;