iMX25 pixel clock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX25 pixel clock

859 次查看
Venku
Contributor I

Hello,

I am trying to use an optrex 3.5" LCD with the foll spec:

refresh rate: 50
x – resolution: 320
y –resolution: 240
pixel clock: 9.8MHz
left_margin: Horizontal back porch: 68
right_margin: Horizontal front porch: 20
upper_margin: Vertical back porch: 2
lower_margin: Vertical front porch: 2
hsync_len: HSYNC width: 30
vsync_len: VSYNC width: 11
sync; (VERTICAL / HORIZONTAL SYNC HIGH ACTIVE): VERTICAL / HORIZONTAL SYNC Active Low
vmode; (NON INTERLACED/ INTERLACED / ODD / DOUBLE): NON INTERLACED

The following changes were made to mxc_modedb.c:

"LCD_OPTREX", 50, 320, 240, 102040, 68, 20, 2, 2, 30, 11,
/*FB_SYNC_OE_LOW_ACT,*/
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},

where LCD_OPTREX would be the name i have assigned.


Everything works fine (display, apps show up, TS), except that I don't get the splash screen (kernel boot logo)!

The 102040 value was arrived at by doing a KHZ2PICO(9800) {9.8MHz pixel clock}. Is this wrong?

Observations:

标记 (2)
0 项奖励
回复
2 回复数

659 次查看
Venku
Contributor I

vga=330 in kernel command line fixed this..

0 项奖励
回复

659 次查看
Venku
Contributor I

I tried the calculation from Jacky's post too:

http://imxcommunity.org/profiles/blogs/linux-framebuffer-driver-calculate-pixel-clock-for-struct-fb

which puts a value of 179067. But no luck :(

Venkat

0 项奖励
回复