A133 RGB LCD 绿屏
-
lcd0: lcd0@01c0c000 {
lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <50>; lcd_if = <0>; lcd_hv_if = <0>; // lcd_cpu_if = <0>; lcd_x = <1024>; lcd_y = <600>; lcd_width = <155>; lcd_height = <86>; lcd_dclk_freq = <48>; lcd_pwm_used = <1>; lcd_pwm_ch = <0>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <0>; lcd_pwm_max_limit = <255>; lcd_hbp = <160>; lcd_ht = <1344>; lcd_hspw = <20>; lcd_vbp = <23>; lcd_vt = <635>; lcd_vspw = <5>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; lcd_lvds_mode = <0>; lcd_frm = <0>; lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; lcd_rb_swap = <1>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; // lcd_frm = <0>; // lcd_io_phase = <0x0000>; // lcd_gamma_en = <0>; // lcd_bright_curve_en = <0>; // lcd_cmap_en = <0>; // deu_mode = <0>; // lcdgamma4iep = <22>; // smart_color = <90>; // lcd_dsi_if = <0>; // lcd_dsi_lane = <4>; // lcd_dsi_format = <0>; // lcd_dsi_te = <0>; // lcd_dsi_eotp = <0>; lcd_pin_power = "dcdc1"; lcd_pin_power1 = "eldo1"; lcd_power = "dc1sw"; lcd_bl_en = <&pio PB 8 1 0 3 1>; // lcd_gpio_0 = <&pio PB 8 1 0 3 1>; lcd_gpio_0 = <&pio PD 22 1 0 3 1>; pinctrl-0 = <&rgb18_pins_a>; pinctrl-1 = <&rgb18_pins_b>; };
disp: disp@06000000 {
disp_init_enable = <1>;
disp_mode = <0>;screen0_output_type = <1>; screen0_output_mode = <4>; screen0_output_format = <0>; screen1_output_type = <3>; screen1_output_mode = <10>; screen1_output_format = <0>; screen1_output_bits = <0>; screen1_output_eotf = <4>; screen1_output_cs = <257>; screen1_output_dvi_hdmi = <2>; screen1_output_range = <2>; screen1_output_scan = <0>; screen1_output_aspect_ratio = <8>; dev0_output_type = <1>; dev0_output_mode = <4>; dev0_screen_id = <0>; dev0_do_hpd = <0>; dev1_output_type = <4>; dev1_output_mode = <10>; dev1_screen_id = <1>; dev1_do_hpd = <1>; def_output_dev = <0>; // hdmi_mode_check = <1>; fb0_format = <0>; // fb0_pixel_sequence = <0>; fb0_width = <0>; fb0_height = <0>; fb1_format = <0>; // fb1_pixel_sequence = <0>; fb1_width = <0>; fb1_height = <0>; chn_cfg_mode = <1>; disp_para_zone = <1>; /*VCC-LCD*/ // dc1sw-supply = <®_dc1sw>; /*VCC-DSI*/ // eldo3-supply = <®_eldo3>; /*VCC-PD*/ dcdc1-supply = <®_dcdc1>; /*VCC-LVDS*/ eldo1-supply = <®_eldo1>; };
A133点一个RGB 18bit的LCD, 屏亮了,
但是一开机内核开始就是全绿屏,
黑色部分全是显示绿色,
之前看有人遇到是IO复用了,
gpio的引脚也确认过没有复用的,
LCD配置也尝试过改了很多,一点变化都没有,
大家有没有遇到过的情况,上有传log和lcd配置,帮忙看看,万分感谢!!! -
@hupeiice 您好,问题解决了吗?专业做中小尺寸显示屏十多年,可以协助调屏。W18902849147
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号