I am trying to output LVDS using i.MX93 but I am having trouble adjusting the LVDS clock frequency.
I am using imx93-11x11-evk-boe-wxga-lvds-panel.dts as an example, but I'm having trouble understanding this section for the clocks.
&lcdif {
assigned-clock-rates = <498000000>, <71142857>, <400000000>, <133333333>;
};
I am trying to get a 1024x600 display working with a pixel clock of 51.2MHz. I have gotten close (57MHz) with the following settings, but the display is stretched in the horizontal direction.
Here are the clk settings I used to get 57MHz. I assumed the first 2 clocks are 7x because that was what the 8mplus used.
assigned-clock-rates = <400000000>, <57142857>, <400000000>, <133333333>;
Here is my display timing in panel simple
.clock = 51200,
.hdisplay = 1024,
.hsync_start = 1024 + 178,
.hsync_end = 1024 + 178 + 20,
.htotal = 1024 + 178 + 20 + 178, //1400
.vdisplay = 600,
.vsync_start = 600 + 95,
.vsync_end = 600 + 95 + 10,
.vtotal = 600 + 95 + 10 + 95, //800