Hello, I am new to this toradex,working with the new imx8M plus SOM, LVDS panel display integration is on going to get prototype alive. Custom embedded Yocto Linux image is the way to go.
tdx-reference-minimal-image created ok, and it boots nice, display is not yet connected.
Verdin DSI to LVDS adapter will be used to connect custom display, tianma P0840XGF1MA00 panel at this time.
Question : Is P0840XGF1MA00 tianma panel support driver is available?, i have looked into imx8mp.dtsi file to check the default display timings and resolution, but i could not found any relavance regarding display resolution and timings.
The problem is where i could address my display timings and resolution to bring-up my P0840XGF1MA00 tianma (1024*768).
I checked the various queries regarding LVDS integration but i could not able to understand the flow.
Could you Please help me to bring up my LVDS display as i am very new to this yocto and the toradex.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Welcome to the world of Toradex and Yocto! Integrating your Tianma P0840XGF1MA00 LVDS panel with the Verdin iMX8M Plus SOM and Dahlia Carrier Board is an exciting project. Since you’re using a custom Yocto Linux image, configuring the device tree is essential to set up your display correctly.
Here’s a step-by-step guide to help you get started:
Device Tree Configuration: You need to add a node for your LVDS panel in the device tree. This node will specify the display timings and resolution. The panel-lvds driver is suitable for defining these details directly in the device tree.
Specify Display Timings: In the device tree, create a node for your panel under the appropriate LVDS channel. You will need to specify parameters such as hactive, vactive, hsync-len, vsync-len, hfront-porch, vfront-porch, hback-porch, and vback-porch according to your panel’s datasheet.
Data Mapping and Width: Set the fsl,data-mapping and fsl,data-width properties in the lvds-channel node to match the color mapping and depth of your panel. For example, if your panel uses an 18-bit JEIDA format, set these properties accordingly.
Testing and Debugging: Use tools like modetest from the libdrm package to verify the display settings and ensure the panel is correctly initialized.
By following these steps, you should be able to configure your custom LVDS panel with the Verdin iMX8M Plus. Make sure to refer to your panel’s datasheet for accurate timing values and adjust the device tree accordingly.
If you have any more questions or need further assistance, feel free to ask. Enjoy your journey with Toradex!
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Hi @premsai ,
From where are you following the steps to compile device tree overlay?
The error you are getting is related to toolchain or dtc not available plus the syntax error.
You need to make sure that the device tree overlay is build against a kernel .
eg, before make command, check out the kernel againts which you are compiling dtbo export STAGING_KERNEL_DIR=/home/user/workdir/linux-toradex
Thanks @sahil.tx
Now i able to build the overlays.
But we are using the custom board, i want to change the pinctrl according to our board to up the display.
could you please provide the information to configure this.
Hi @premsai ,
What do you mean by “change the pinctrl”?
Do you mean you want to set the display timings in the device tree or are you using some other pins for your display?
Did you also check if these pins are compatible from the datasheet?
Hi @sahil.tx , Thanks for you reply
Actually we are using native lvds not dsi to lvds interface.
I was able to bring up my display but the issue is screen is not clear even if my qt app is showing 60fps. The image i have shared below.
And the overlay i have passed is uploaded below. native-lvds-custom_overlay.dts (2.6 KB)
I reference dts i have used is verdin-imx8mp_panel-cap-touch-10inch-lvds_overlay.dts
The datasheet timings of my tianma display is shared below. Tianma_LVDS_Display.pdf (1.2 MB)
Please help me to fix this issue.
Thanks in advance.