Hi, I'm trying to connect an LVDS display on imx8mp. (Linux 5.10.35_2.0.0)
These are the timing of my LCD, pixel-clock at 64MHz as below the code,
but it doesen't seem to work.
The output frequency is fixed at 74.2 MHz.
It would appear set in the imx8mp-ldb.c driver.
How can this parameter be changed from the device tree?
Best Regards
Domenico Acri
Can you please tell me the location of panel-timing structure? I am searching for this to modify timing settings of my LVDS display. Thanks in advance.
you can add it in the imx8mp dts file
you can refer to the driver of ldb
check the function "imx8mp_ldb_encoder_atomic_check, you need comment the fixed clock, but not all of clock can be supported, but I checked, the 65M can be supported
Hi,
thank you very much for the prompt reply.
Yes, I had also changed that function and it seems to work.
The thing I was interested in knowing was,
what are the supported frequencies and where they are defined.
Best Regards
Domenico Acri
lvds uses video_pll1, pls refer to the clock source code:
"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mp.c?h=lf-5.10.y"
"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-pll14xx.c?h=lf-5.10.y"