I’m trying to use the Capacitive Touch Display 7 Inch Parallel with a Colibri iMX6 DualLite and a mainline kernel.
First I installed the Linux LXDE Image 2.8 and followed the [instructions to set up the display] (First Steps with Capacitive Touch Display 7" Parallel | Toradex Developer Center). Everything works as expected, therefore I assume the hardware is fine.
My ultimate goal is to run this SOM with a custom BSP and in particular with a kernel that is as close to
mainline as possible. I’m currently using mainline kernel 4.14 and added the display timings to the panel-simple driver as in [this commit] (linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules)
I also enabled the panel-simple driver in my kernel config (full config attached), replaced the panel node in imxdl-colibri-eval-v3.dts with
panel_rgb: panel {
compatible = "logictechno,lt161010-2nhc";
backlight = <&backlight>;
power-supply = <®_3p3v>;
port {
lcd_panel_in: endpoint {
remote-endpoint = <&lcd_display_out>;
};
};
};
and added the Atmel maXTouch controller to the device tree as described [here] (First Steps with Capacitive Touch Display 7" Parallel | Toradex Developer Center)
The touch controller works as expected. The display also works but it shows some strange artefacts similar to those reported [here] (Color artifacts appearing on LCD - colibri iMX6 linux eglfs - Technical Support - Toradex Community):
[upload|EpTJjH14xQraBoCxmeX57UKVnrU=]
[upload|2V9eo9Ic1dWLrTjy625Bmr1vChw=]
I checked the timings in [panel-simple.c] (panel-simple.c « panel « drm « gpu « drivers - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules) and they seem to match the [datasheet of the display] (https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf). I also tried many combinations of alternative .flags and .bus_flags without any effect.
Kernel output:
dmesg | grep display
[ 1.384201] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0845804)
[ 1.391766] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0845804)
[ 1.399181] imx-drm display-subsystem: bound display@di0 (ops 0xc08459e0)
[ 1.423735] imx-drm display-subsystem: bound 120000.hdmi (ops 0xc0846170)
[ 1.512304] imx-drm display-subsystem: fb0: frame buffer device
[ 1.520760] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
Kernel version:
4.14.146-rt67
Has anyone ever used the Capacitive Touch Display 7 Inch Parallel with the panel-simple driver (instead of the MXC LCD driver with mode FusionF07A)? Do you have any idea what I need to change in order to get rid of this rendering artefacts?
Thanks,
Tobias