Mini210/Tiny210 HDMI Settings

malucullus
Hi there,

Has anyone got the values for feeding into the HDMI PHY on the S5PV210 to
give resolutions other than HDTV? Doing 720p etc is easy, but the datasheet
doesn't specify how to get the pixel clock needed for resolutions like
1024x768 and 800x600 (i.e. 65MHz, 40MHz etc etc)

If I get the values, I'll post them here.

Marcus,

malucullus
I found the 65MHz settings in the Mango210 BSP. I don't know if these work.
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
      
0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x08, 0x36, 0x6B, 0x10, 0x01, 0x54,
0x48, 0x20, 0x5B, 0x90, 0x84, 0x00, 0x00, 0x38, 0x00, 0x08, 0x10, 0xE0,
0x22, 0x40, 0xD4, 0x26, 0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8,
0x10, 0x9C, 0x0A, 0x36, 0x6B, 0x10, 0x01, 0x54, 0x88, 0x22, 0x5B, 0xB5,
0x84, 0x00, 0x20, 0x38, 0x00, 0xF8, 0x10, 0xE0, 0x22, 0x40, 0xA9, 0x26,
0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x0C, 0x36,
0x6B, 0x10, 0x01, 0x54, 0x48, 0x22, 0x5B, 0xD9, 0x84, 0x00, 0x00, 0x38,
0x00, 0xE4, 0x10, 0xE0, 0x22, 0x40, 0x8D, 0x26, 0x01, 0x00, 0x00, 0x80 



0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x02, 0x0c, 0x6B, 0x10, 0x01, 0x52,
0x1f, 0x25, 0x5B, 0xa3, 0x84, 0x00, 0x10, 0x38, 0x00, 0x08, 0x10, 0xE0,
0x22, 0x40, 0xbc, 0x26, 0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8,
0x10, 0x9C, 0xf2, 0x30, 0x6B, 0x10, 0x01, 0x52, 0x2f, 0x32, 0x5B, 0xcb,
0x84, 0x00, 0x10, 0x38, 0x00, 0xF8, 0x10, 0xE0, 0x22, 0x40, 0x96, 0x26,
0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0xd0, 0x40,
0x6B, 0x10, 0x01, 0x52, 0x9f, 0x32, 0x5B, 0xf4, 0x84, 0x00, 0x10, 0x38,
0x00, 0xE4, 0x10, 0xE0, 0x22, 0x40, 0x7D, 0x26, 0x01, 0x00, 0x00, 0x80



0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x08, 0x36, 0x6B, 0x10, 0x01, 0x51,
0x88, 0xF1, 0x54, 0x90, 0x84, 0x00, 0x00, 0x38, 0x00, 0x08, 0x10, 0xE0,
0x22, 0x40, 0xD4, 0x26, 0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8,
0x10, 0x9C, 0x0A, 0x36, 0x6B, 0x10, 0x01, 0x51, 0xC8, 0xF3, 0x54, 0xB5,
0x84, 0x00, 0x20, 0x38, 0x00, 0xF8, 0x10, 0xE0, 0x22, 0x40, 0xA9, 0x26,
0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x0C, 0x36,
0x6B, 0x10, 0x01, 0x51, 0x48, 0xF2, 0x54, 0xD9, 0x84, 0x00, 0x00, 0x38,
0x00, 0xE4, 0x10, 0xE0, 0x22, 0x40, 0x8D, 0x26, 0x01, 0x00, 0x00, 0x80



0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0x02, 0x0c, 0x6B, 0x10, 0x01, 0x51,
0xB8, 0xF1, 0x54, 0xa3, 0x84, 0x00, 0x10, 0x38, 0x00, 0x08, 0x10, 0xE0,
0x22, 0x40, 0xbc, 0x26, 0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8,
0x10, 0x9C, 0xf2, 0x30, 0x6A, 0x10, 0x01, 0x51, 0x28, 0xF2, 0x54, 0xcb,
0x84, 0x00, 0x10, 0x38, 0x00, 0xF8, 0x10, 0xE0, 0x22, 0x40, 0x96, 0x26,
0x01, 0x00, 0x00, 0x80, 0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0xd0, 0x40,
0x6B, 0x10, 0x01, 0x51, 0x98, 0xF2, 0x54, 0xf4, 0x84, 0x00, 0x10, 0x38,
0x00, 0xE4, 0x10, 0xE0, 0x22, 0x40, 0x7D, 0x26, 0x01, 0x00, 0x00, 0x80

Hopefully, one of these blocks used in conjunction with timings found here

http://ocw.mit.edu/ans7870/6/6.111/s04/NEWKIT/vga.htm

Will let you do 1024x768 over HDMI. I'll give them a try at some point in
the next week and report back with my findings. If they work, I'll post a
modified HDMI driver to work with them.

Marcus,

Screwface
Hi Marcus,

Interesting, I'll keep an eye on your work, and I think Reggie is
interested too. Don't forget to report your status! ;)

Thank you

malucullus
Unfortunately I've not had the time to test this. RL has been obscene, but
it is still on my todo list!