Thanks Igor
I have been provided initialization sequence for the LCD by vendor. When I went through the ST7796s driver's datasheet and matched the sequence I found out that
1.VFP (Vertical front porch):- 0x08
2.VBP (Vertical back porch):- 0x08
3.HBP (Horizontal Back porch):- 0x64
have been set in the sequence by using the command BPC(B5): Blanking Porch Control but didn't get Horizontal front porch value, hsync_len and vsync_len.
I am taking reference from below link to calculate the pixel clock :-
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Setting-i-MX8M-Mini-and-Nano-MIPI-DPHY-C...
Also I have got the table below, can I take Horizontal front porch value, hsync_len and vsync_len from this table. Which values should I take ? Please suggest.

Thanks.