Hi all,
I'm trying to connect a waveshare panel via mipi dsi to my imx8mq board using a custom ffc. I used the lcdif controller of the imx, but it seems that I have clocks timing issues that I can't figure out.
I'm using the waveshare 10.1-DSI-TOUCH-A and the drivers https://files.waveshare.com/wiki/common/Panel-waveshare-dsi2-driver.zip.
Furthermore, I'm working with linux kernel 5.15.71.
I have currently no errors related to the drivers and the backlight works properly, but there are no pixels on screen. I checked by charging the HDMI overlay, which is working.
Based on my screen, I could verify and calculated the following:
- pixels_per_second: 1280 * 800 * 60 * 24 = 1_474_560_000 ~= 1,47Gpixels/sec
- pixelclock: (800 + 40 + 20 + 20) × (1280 + 20 + 4 + 20) × 60 = 69_907_200 ~= 70_000_000 = 70_000kHz
- bit_clk = pixelclock * bits_per_pixel / number_of_lanes = 70_000_000 * 24 / 2 = 840_000_000 = 840MHz
I tried to apply them to my dsi overlay without success.
I linked the default values on which my overlay is based (cf files maaxboard.dts and imx8mq.dtsi named imx8mq.dts because of the forum restrictions), and the overlay I changed (named display-mipi.dts).
Do you have any advice on how to configure clocks for lcdif controller (or even DCSS controller) ?
Thanks for your time.