I am working on MIPI pannel (panel-iliteck-ili9881). I back port the driver panel-iliteck-ili9881c.c from kernel 4.19 to kernel 4.9.88. Fortunately, I can compile and make this driver works (know this by adding debug log to driver). Now I get trouble at modifying device tree.
There are lots of clock definition. which value that I need to modified? how to calculate these clock value?
Below is a part of my device tree that I modified for new LCD pannel
Hi Thinh
for new mipi-lcd one can use linux driver panel-raydium-rm67191.c:
fsl-imx8mq-evk-dcss-rm67191.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel
panel-raydium-rm67191.c\panel\drm\gpu\drivers - linux-imx - i.MX Linux kernel
use struct display_timing rad_default_timing[] for adjusting custom panel timings.
For available clocks one can look in
clk-imx8mq.c\imx\clk\drivers - linux-imx - i.MX Linux kernel
supported formats in imx_dcss.c fb_videomode imx_cea_mode:
imx_dcss.c\mxc\fbdev\video\drivers - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------