Inverting the ENB signal on the RGB interface for EDT display

Hi folks,
I recently bought a new EDT Display (ETM0350G9EDHA) which is connected to our custom board with an Apalis Imx6Q 1GB module with Kernel-Version: toradex_4.9-2.3.x-imx. The question is how to set the LCD1_DE to active low in the device tree. Thank you.

Hi @farooq !

You can find it in

From the device tree of Apalis iMX6, we can see that we have the display-timings:

https://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/boot/dts/imx6qdl-apalis.dtsi?h=toradex_4.9-2.3.x-imx#n524

It is defined inside an &ldb node, which uses the compatible fsl,imx6q-ldb, as we can see from its definition:

https://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/boot/dts/imx6qdl.dtsi?h=toradex_4.9-2.3.x-imx#n926

According to its documentation:

https://git.toradex.com/cgit/linux-toradex.git/tree/Documentation/devicetree/bindings/display/imx/ldb.txt?h=toradex_4.9-2.3.x-imx#n12

We can see that there is the de-active in the display-timings that ldb uses:

https://git.toradex.com/cgit/linux-toradex.git/tree/Documentation/devicetree/bindings/display/panel/display-timing.txt?h=toradex_4.9-2.3.x-imx#n1

So you can test the de-active field values to have LCD1_DE set to active low.

Best regards,