Hello everyone,
I have a LVDS display I'm trying to interface. The display is a 18 bits PRGB that runs at 69 to 76MHz, with a resolution of 1280x800. Apart from the huge mess connecting the LVDS transmitter in between the DM368 and the display is (that could qualify for a section in hell of it's own) I'm not sure of how to configure the DVSDK to output the required clock (to start with something doable).
Truth is, I don't know why or how, I got a really nice 74MHz clock the other day, thanks to some really nice configuration or kernel hacking, but I've since then changed something and I'm not able to go back on that status.
I've started with editing the logicpd_encoder.c file, adding my display and the details of it, verified that it was actually selected at boot and then started modifing davinci_platform.c to add support for my new VID_ENC_STD. Adding it like other low resolutions like VID_ENC_STD_640x480, and thus calling davinci_enc_set_prgb, works, and gives a really nice clock at something around 33MHz. However that's the only mode that works. I can't use some of the high-ish resolutions default functions, because the clock they initialise doesn't work.
I think to have read in the manual that for frequencies higher than 30MHz, other components of the DM368 are used to generate the clock. If so, do I need to edit the registers in the davinci_enc_set_prgb function and that's it, or are there better ways to do this?
Thank you,
Giovanni