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.

Linux/AM5718: VSYNC and HSYNC configuration

Part Number: AM5718

Tool/software: Linux

Hi champs,

I have a question about VOUT1 VSYNC,HSYNC setting.

Now, it sets using DTS.

When it sets 
------------------------------------
panel-timing {

clock-frequency = <65000000>;

hactive = <1024>;
vactive = <768>;

hfront-porch = <24>;
hback-porch = <160>;
hsync-len = <136>;
vfront-porch = <3>;
vback-porch = <29>;
vsync-len = <6>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <1>;
};

------------------------------------
For example.
 after this function, does DISPC_TIMING_V1 register already set?


Regards,
Shinji Ueda

  • Hi Shinji Ueda,

    The mechanism is little bit more complicated. The video timing parameters are parsing in ../linux/drivers/video/of_display_timing.c file and the DISPC_TIMING_V1 register writing is done in ../linux/drivers/gpu/drm/omapdrm/dss/dispc.c but in general you are right.

    BR
    Tsvetolin Shulev