I’m developing two projects, one with a Colibri iMX6DL 512MB V1.1B and the other with a Colibri IMX8QXP 2GB WB V1.0D, both on the same custom carrier board with an RGB to LVDS parallel display interface and a Goodix GT928 capacitive touchscreen.
In both cases I use TorizonCore 5.7.2+build.20
Touchsceen works fine with iMX6 but can’t make it work with iMX8.
It points to the toradex_5.15-2.1.x-imx branch, which isn’t what TorizonCore 5.7.2 is based off of. The branch you want is toradex_5.4-2.3.x-imx, now I don’t think this is the main issue, though you should still probably correct it at some point.
Could you check your device tree setup to make sure you cleared this conflict. I assume you’re setting the pins in this pinctrl_cap_ts node that you created.
Now all that said, the main thing is that I notice in the dmesg logs the driver is complaining about not being able to communicate/probe the touchscreen over i2c. Now this could be for a multitude of reasons, but perhaps you can check the i2c connection/signals and make sure everything is hooked up correctly to be sure.
Again I’m not exactly sure what the issue is without having the hardware myself but this is just what I noticed on first impression.
Problem solved.
In fact, the problem was that the device was using the other i2c address (0x14).
I think the problem was that the status of the INT pin during the power-on initialization phase is different than what I use on the iMX6, so the host selected the other address.
The issue in this thread was that the other i2c address (0x14) was being used instead of the assumed (0x5d). Perhaps you have a similar issue? The overlays used here are at the start of the thread, minus the i2c address change.
Thank you,
I tried the same device tree and overlay with address 0x14, but still I get same error
torizon@colibri-imx8x-07202984:~$ dmesg | grep Goodix
[ 8.458093] Goodix-TS 17-0014: 17-0014 supply AVDD28 not found, using dummy regulator
[ 8.458184] Goodix-TS 17-0014: 17-0014 supply VDDIO not found, using dummy regulator
[ 8.458478] Goodix-TS 17-0014: i2c test failed attempt 1: -5
[ 8.531415] Goodix-TS 17-0014: i2c test failed attempt 2: -5
[ 8.571260] Goodix-TS 17-0014: I2C communication failure: -5
[ 8.583267] Goodix-TS: probe of 17-0014 failed with error -5
Seeing the output of i2cdetect it seems there’s no device detected at either i2c address that this device uses. Perhaps there’s an issue with the hardware or i2c connections?