This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x video2_pll refclock limitation?



TI folks,

We have developed a product based on the DM814x, using:

  • DM814x PG 3.0
  • EZSDK 5.05.02.00
  • EZSDK OMX/HDVPSS Overlay 5.05.02.00
  • PSP 04.04.00.02
  • Most of the Arago updates for both linux and u-boot in ti81xx-master after the v2.6.37_TI81XXPSP_04.04.00.02.patch1 tag

I am currently changing the VIDEO2_PLL (i.e., the clock for the HDMI VENC) to be based on 27 MHz rather than 20 MHz.  So far, my mods are working (still need to test more output clocks).  However, I have a question about a REFCLK ( = source / (N + 1) ) test, in the file:

board-support/linux-2.6.37-psp04.04.00.02/drivers/video/ti81xx/vpss/system.c

In the function called system_getdividers().  There is the following test to ensure that the REFCLK is less than 2.5 MHz:

VPSSDBG("request clk %dHz\n", reqoutclk);
refclk = TI814X_OSC_FREQ / (n + 1);
if (refclk > ((5 * MHZ) >> 1))
    return r;

Can you tell me why this test is here?  Is it 2.5 MHz for any source clock, or is this related to the specific original 20 MHz DEVOSC?

Thanks,

Dan -