当前位置:网站首页>LVDS drive adapter
LVDS drive adapter
2022-06-12 07:02:00 【Handsome without friends~】
One : Corresponding parameters
Screen parameter structure :
struct fb_videomode
{
const char *name; // Displays the device name , The kernel passes through u-boot Parameters in video Field and this name As a match identifier
u32 refresh; // The refresh rate
u32 xres; // Number of row pixels
u32 yres; // Number of column pixels
u32 pixclock; // The length of each pixel clock cycle , The unit is picosecond
u32 left_margin; // Number of left edge pixels
u32 right_margin; // Number of right edge pixels
u32 upper_margin; // Number of upper edge pixels
u32 lower_margin; // Number of lower edge pixels
u32 hsync_len; // Row synchronization pulse width
u32 vsync_len; // Field synchronous pulse width
u32 sync; // Synchronous signal polarity
u32 vmode; // The default setting is FB_VMODE_NONINTERLACED
u32 flag; // The default setting is FB_MODE_IS_DETAILED
};kernel_imx/include/linux/fb.h

xres:TEP yres:Tvd
left_margin:Thf right_margin:Thb
hsync_len:THS vsync_len:Tvs
upper_margin:Tvf lower_margin:Tvb
Pixelclock:
xfree: in MHz
fb: in picoseconds (ps)
pixclock = 1000000 / DCF

The above example LCD Corresponding fb The parameters are as follows :
.pixclock = 1000000/64=15625,
.xres = 768,
.yres = 1024,
.left_margin =0,
.right_margin = 180,
.hsync_len =THS= TH-THD-THB=948-768-180=0 ,
.upper_margin = 0,
.lower_margin = TVB=116,
.vsync_len = TVS=TV-TVD-TVB=1140-1024-116=0,Two :LCD drive
LCD The relevant kernel driver files are :kernel_imx/drivers/video/fbdev/mxc/mxc_lcdif.c.
add to LCD Methods supported by LCD :
stay kernel_imx/drivers/video/fbdev/mxc/mxc_lcdif.c Of documents struct fb_videomode lcdif_modedb Add the corresponding... To the array LCD Screen parameters

3、 ... and :LVDS drive
LVDS The relevant kernel driver files are :kernel_imx/drivers/video/fbdev/mxc/ldb.c.
add to LVDS Methods supported by the screen :
stay kernel_imx/drivers/video/fbdev/mxc/ldb.c Of documents struct fb_videomode ldb_modedb Add parameters corresponding to the screen to the array :

Four :u-boot Specify the device name
u-boot Set up video Device name of parameter , Must be with ldb_modedb Add the same name .

bootable/bootloader/uboot-imx/include/configs/mx6sabre_common.h

bootable/bootloader/uboot-imx/arch/arm/imx-common/video.c
边栏推荐
- Dépannage de l'opération cl210openstack - chapitre expérience
- Codeforces Round #793 (Div. 2) A B C
- VSCode常用插件
- Torch models trained in higher versions report errors in lower versions
- (14)Blender源码分析之闪屏窗口显示软件版本号
- [image denoising] image denoising based on nonlocal Euclidean median (nlem) with matlab code
- Leetcode: offer 60 Points of N dice [math + level DP + cumulative contribution]
- Apache POI import export excel file
- [Li Kou] curriculum series
- Junior high school education, less than 3k, to 30k+ monthly salary, how wonderful life is without restrictions
猜你喜欢

8. 表单标签

新知识:Monkey 改进版之 App Crawler

Scons编译IMGUI

Tomato learning notes-stm32 SPI introduction and Tim synchronization
![Set [list] to find out the subscript of repeated elements in the list (display the position of the subscript)](/img/95/67f435646f52646fc6cae8c680d589.jpg)
Set [list] to find out the subscript of repeated elements in the list (display the position of the subscript)
![[image denoising] image denoising based on nonlocal Euclidean median (nlem) with matlab code](/img/1e/386cf601f8f60197adbc853f321472.png)
[image denoising] image denoising based on nonlocal Euclidean median (nlem) with matlab code

SQL Server 2019 installation error. How to solve it

Bid farewell to the charged xshell, and the free function of tabby is more powerful

8 IO Library

应届生苦恼:是去华为拿1万多低薪,还是去互联网拿2万多高薪
随机推荐
1. Foundation of MySQL database (1- installation and basic operation)
Planning and design of 1000 person medium-sized campus / enterprise network based on ENSP and firewall (with all configuration commands)
Descscheduler secondary scheduling makes kubernetes load more balanced
An error occurred while downloading the remote file The errormessage
Flink practice
Expansion of D @nogc
June 9th training day - bit operation
如何更新 Kubernetes 证书
Postman splice replacement parameter loop call interface
libprint2
The fifth day of June training - double pointer
网络丢包问题排查
【图像去噪】基于非局部欧几里德中值 (NLEM) 实现图像去噪附matlab代码
How to update kubernetes certificates
Elegantly spliced XML
新知识:Monkey 改进版之 App Crawler
Tomato learning notes -seq2seq
D
【图像去噪】基于高斯滤波、均值滤波、中值滤波、双边滤波四种滤波实现椒盐噪声图像去噪附matlab代码
六月集训 第一日——数组