D1s mipi显示屏有问题
-
使用最新的tian V2.1源码
修改了st7701s.c的代码
struct LCM_setting_table { u8 cmd; u32 count; u8 para_list[128]; };
根据商家给的参数改了static struct LCM_setting_table lcm_initialization_setting[]
设备树如下:
lcd_driver_name = "st7701s"; lcd_backlight = <100>; lcd_if = <4>; lcd_x = <720>; lcd_y = <1280>; lcd_width = <62>; lcd_height = <110>; lcd_dclk_freq = <100>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <1000>; lcd_pwm_pol = <0>; lcd_pwm_max_limit = <255>; lcd_hbp = <40>; lcd_ht = <800>; lcd_hspw = <10>; lcd_vbp = <11>; lcd_vt = <1307>; lcd_vspw = <3>; lcd_dsi_if = <0>; lcd_dsi_lane = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; lcd_lvds_mode = <0>; lcd_frm = <0>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; lcd_fsync_en = <0>; lcd_fsync_act_time = <1000>; lcd_fsync_dis_time = <1000>; lcd_fsync_pol = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>;
显示的效果有竖的花纹
-
-
@whycan 是的
-
-
@whycan 调成这样了,不知道调整那个参数
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号