📄 lcdpanels
字号:
README on the LCD Panels========================Configuration options for several LCD panels, available from Logic PD,are included in the kernel source. This README will help youunderstand the configuration data and give you some guidance foradding support for other panels if you wish.lcd-panels.h------------There is no way, at present, to detect which panel is attached to thesystem at runtime. Thus the kernel configuration is static. The filearch/arm/mach-ld7a40x/lcd-panels.h (or similar) defines all of thepanel specific parameters.It should be possible for this data to be shared among several devicefamilies. The current layout may be insufficiently general, but it isamenable to improvement.PIXEL_CLOCK-----------The panel data sheets will give a range of acceptable pixel clocks.The fundamental LCDCLK input frequency is divided down by a PCDconstant in field '.tim2'. It may happen that it is impossible to setthe pixel clock within this range. A clock which is too slow willtend to flicker. For the highest quality image, set the clock as highas possible.MARGINS-------These values may be difficult to glean from the panel data sheet. Inthe case of the Sharp panels, the upper margin is explicitly calledout as a specific number of lines from the top of the frame. Theother values may not matter as much as the panels tend toautomatically center the image.Sync Sense----------The sense of the hsync and vsync pulses may be called out in the datasheet. On one panel, the sense of these pulses determine the heightof the visible region on the panel. Most of the Sharp panels usenegative sense sync pulses set by the TIM2_IHS and TIM2_IVS bits in'.tim2'.Pel Layout----------The Sharp color TFT panels are all configured for 16 bit direct colormodes. The amba-lcd driver sets the pel mode to 565 for 5 bits ofeach red and blue and 6 bits of green.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -