admin 管理员组文章数量: 887021
2024年1月23日发(作者:个人主页的图片)
;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode (0:screen0
;screenx_output_type (0:none; 1:lcd; 3:hdmi;)
;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50
10:1080p60)
;fbx format (0:ARGB 1:ABGR 2:RGBA 3:BGRA 5:RGB565 8:RGB888 12:ARGB4444
16:ARGB1555 18:RGBA5551)
;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output
resolution while equal 0)
;lcdx_backlight (lcd init backlight,the range:[0,256],default:197
;----------------------------------------------------------------------------------
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 5
screen1_output_type = 3
screen1_output_mode = 5
fb0_format = 0
fb0_width = 0
fb0_height = 0
fb1_format = 0
fb1_width = 0
fb1_height = 0
lcd0_backlight = 50
lcd1_backlight = 50
;----------------------------------------------------------------------------------
;lcd0 configuration
;lcd_if: 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp
;lcd_x: lcd horizontal resolution
;lcd_y: lcd vertical resolution
;lcd_width: width of lcd in mm
;lcd_height: height of lcd in mm
;lcd_dclk_freq: in MHZ unit
;lcd_pwm_freq: in HZ unit
;lcd_pwm_pol: lcd backlight PWM polarity
;lcd_pwm_max_limit lcd backlight PWM max limit(<=255)
;lcd_hbp: hsync back porch
;lcd_ht: hsync total cycle
;lcd_vbp: vsync back porch
;lcd_vt: vysnc total cycle
;lcd_hspw: hsync plus width
;lcd_vspw: vysnc plus width
;lcd_lvds_if: 0:single link; 1:dual link
;lcd_lvds_colordepth: 0:8bit; 1:6bit
;lcd_lvds_mode: 0:NS mode; 1:JEIDA mode
;lcd_frm: 0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_gamma_en lcd gamma correction enable
;lcd_bright_curve_en lcd bright curve correction enable
;lcd_cmap_en lcd color map function enable
;lcdgamma4iep: Smart Backlight parameter, lcd gamma vale * 10;
; decrease it while lcd is not bright enough; increase while
lcd is too bright
;----------------------------------------------------------------------------------
[lcd0_para]
lcd_used = 1
lcd_driver_name = "default_lcd"
lcd_bl_0_percent = 0
lcd_bl_40_percent = 23
lcd_bl_100_percent = 100
lcd_if = 0
lcd_x = 800
lcd_y = 480
lcd_width = 150
lcd_height = 94
lcd_dclk_freq = 30
lcd_pwm_used = 1
lcd_pwm_ch = 0
lcd_pwm_freq = 50000
lcd_pwm_pol = 1
lcd_pwm_max_limit = 255
lcd_hbp = 46
lcd_ht = 928
lcd_hspw = 0
lcd_vbp = 23
lcd_vt = 1050
lcd_vspw = 0
lcd_frm = 0
lcd_cmap_en = 0
lcd_dsi_if = 2
lcd_dsi_lane = 4
lcd_dsi_format = 0
lcd_dsi_te = 0
lcd_lvds_if = 0
lcd_lvds_colordepth = 1
lcd_lvds_mode = 0
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_bl_en = port:PD29<1><0>
lcd_bl_regulator = "none"
lcd_power = "vcc-lcd"
lcd_power1 =
lcd_power2 =
;lcdd0 = port:PD18<3><0>
;lcdd1 = port:PD19<3><0>
;lcdd2 = port:PD20<3><0>
;lcdd3 = port:PD21<3><0>
;lcdd4 = port:PD22<3><0>
;lcdd5 = port:PD23<3><0>
;lcdd6 = port:PD24<3><0>
;lcdd7 = port:PD25<3><0>
;lcdd8 = port:PD26<3><0>
;lcdd9 = port:PD27<3><0>
lcdd2 = port:PD2<2><0>
lcdd3 = port:PD3<2><0>
lcdd4 = port:PD4<2><0>
lcdd5 = port:PD5<2><0>
lcdd6 = port:PD6<2><0>
lcdd7 = port:PD7<2><0>
lcdd10 = port:PD10<2><0>
lcdd11 = port:PD11<2><0>
lcdd12 = port:PD12<2><0>
lcdd13 = port:PD13<2><0>
lcdd14 = port:PD14<2><0>
lcdd15 = port:PD15<2><0>
lcdd18 = port:PD18<2><0>
lcdd19 = port:PD19<2><0>
lcdd20 = port:PD20<2><0>
lcdd21 = port:PD21<2><0>
lcdd22 = port:PD22<2><0>
lcdd23 = port:PD23<2><0>
lcdclk = port:PD24<2><0>
lcdde = port:PD25<2><0>
lcdhsync = port:PD26<2><0>
lcdvsync = port:PD27<2><0>
lcd_io_regulator = "vcc-lvds-18"
lcd_io_regulator1 = "vcc-pd"
;lcd_gpio_0 = port:PD25<1><0>
;lcd_gpio_1 = port:PD26<1><0>
;lcd_io_regulator1 = "vcc-pd"
;----------------------------------------------------------------------------------
版权声明:本文标题:LCD_TFT,RGB接口在LINUX系统中的设置 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1705949972h495254.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论