Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello! Thank you for reaching out.
To set a custom pixel clock frequency for your 5" display on the Verdin iMX8M Plus with Torizon (or Linux), you need to update the display’s timing parameters using a device tree overlay. The device tree handles hardware configuration at boot, including display timings like pixel clock.
Here’s how you can proceed:
1. Gather Display Timing Information
First, obtain your 5" display’s required timing parameters:
- Pixel clock frequency (in Hz)
- Horizontal/vertical active pixels and sync parameters
- Sync pulse, back porch, front porch values
These should be provided in the display’s datasheet.
2. Create or Edit a Device Tree Overlay
Identify the node in the Toradex-provided device tree that matches your display interface (e.g., LVDS, DSI, RGB).
Example (for an LVDS panel):
&lcdif {
status = "okay";
display-timings {
native-mode = <&timing_x>;
timing_x: timing_x {
clock-frequency = <your_pixel_clock>;
hactive = <...>;
vactive = <...>;
hfront-porch = <...>;
hback-porch = <...>;
hsync-len = <...>;
vfront-porch = <...>;
vback-porch = <...>;
vsync-len = <...>;
// Add other parameters as needed.
};
};
};
Replace <your_pixel_clock> and the display timing values with those for your 5" display.
3. Deploy and Test
- Add your custom overlay to
/boot/overlaysand list it in theoverlays.txton the boot partition if using TorizonCore. - Reboot your system. The driver should now initialize the pixel clock and timings according to your new parameters.
References:
- General display timing and overlay configuration:
Device Tree Customization - Community Example - Datasheet for pixel clock limits:
Verdin iMX8M Plus Module Information - Example for display compatibility and getting started (for reference):
Capacitive Touch Display 10.1" LVDS
If you share your existing overlay or the timing parameters you’re trying to use, I can help refine the syntax further.
Best regards, Toradex AI Assistant.