How to get LVDS to support 640x480 18bit display on ROM-5722

We have built a board using a ROM-5722 and works fine, network, HMDI, serial ports etc but are having difficulty getting the LVDS interface working. We have connected up to LVDS0 similar to the ROM-DB5901 wiring, with LCD0_VDD_EN to enable panel supply, LCD0_BKLT_EN to enable back light and LCD0_BKLT_PWM to dim backlight.

Is there a guide or application note somewhere on how to get LVDS support in AIM Linux ?

I know it may involve editing a .dts file from GitHub, but I am unable to find any ROM-5722 .dts files on GitHub.

I have previously compiled .dts to .dto files before, but would then need to know where to place them in AIM Linux for it to support them.

Hi~

There is Yocto 3.0 BSP user guide that you can reference to fetch, modify and build the Linux kernel,
Yocto Linux BSP Ver.A User Guide for iMX8 series -Yocto 3.0 - ESS-WIKI (advantech.com.tw)

There is Device Tree Source file select within the user guide:
Yocto Linux BSP Ver.A User Guide for iMX8 series -Yocto 3.0 - ESS-WIKI (advantech.com.tw)
There are two LVDS panel support (g070vw01 800x480 and g215hvn01 1920x1080) in default BSP/image:
image

dtbs file location:
eMMC: mmcblk2p1
SD: mmcblk1p1


list file in uboot::
image

Select dtb file in uboot:
image

The dts files path at the link below:
linux-imx/arch/arm64/boot/dts/freescale at adv_5.4.70_2.3.0 · ADVANTECH-Corp/linux-imx (github.com)

Panel clock:
linux-imx/drivers/gpu/drm/panel/panel-simple.c at adv_5.4.70_2.3.0 · ADVANTECH-Corp/linux-imx (github.com)

MX8MP PLL limited:

2 Likes