iMX25 pixel clock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX25 pixel clock

811 Views
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:

0 Kudos
Reply
2 Replies

611 Views
Venku
Contributor I

vga=330 in kernel command line fixed this..

0 Kudos
Reply

611 Views
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 Kudos
Reply