Atmel Capacitive Touch Controller initialised, but not sending events

Hello,

first up my setup:

My problem:
The system doesn’t receive any touch events.

I’m using the yocto tdx-reference-multimedia-image, which i’ve patched with:

From ad02f9ceb2aec3b3c3d2cb66f859baa0dd20e3ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Paul=20F=C3=B6rster?= <paulforster@MBP-von-Paul.fritz.box>
Date: Thu, 3 Mar 2022 17:59:11 +0100
Subject: [PATCH] Activate Touch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Paul Förster <paulforster@MBP-von-Paul.fritz.box>
---
 arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
index 821523a12423..892873cbaac0 100644
--- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
@@ -125,7 +125,7 @@
         interrupt-parent = <&gpio4>;
         interrupts = <16 IRQ_TYPE_EDGE_FALLING>;   /* SODIMM 28, INT */
         reset-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* SODIMM 30, RST */
-        status = "disabled";
+        status = "okay";
 };
 
 /* PWM <A> */
@@ -140,12 +140,12 @@
 
 /* PWM <B> */
 &pwm5 {
-	status = "okay";
+	status = "disabled";
 };
 
 /* PWM <C> */
 &pwm6 {
-	status = "okay";
+	status = "disabled";
 };
 
 /* PWM <D> */
-- 
2.30.1 (Apple Git-130)


which brings up the atmel-mxt-ts driver. dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.161-5.6.0-devel+git.e395d949e46b (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP Thu Jan 27 13:39:54 UTC 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Toradex Colibri iMX6ULL 256MB on Colibri Evaluation Board V3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s31756 r8192 d21492 u61440
[    0.000000] pcpu-alloc: s31756 r8192 d21492 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: user_debug=30 ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 consoleblank=0 video=mxsfb:800x480M-16@60,pixclockpol=1
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 375152K/524288K available (8192K kernel code, 393K rwdata, 2628K rodata, 1024K init, 384K bss, 18064K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000058] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002886] Console: colour dummy device 80x30
[    0.003612] printk: console [tty1] enabled
[    0.003690] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.003761] pid_max: default: 32768 minimum: 301
[    0.004095] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004163] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005808] CPU: Testing write buffer coherency: ok
[    0.006503] CPU0: update cpu_capacity 1024
[    0.006560] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.007929] Setting up static identity map for 0x80100000 - 0x80100060
[    0.008277] rcu: Hierarchical SRCU implementation.
[    0.009002] smp: Bringing up secondary CPUs ...
[    0.009060] smp: Brought up 1 node, 1 CPU
[    0.009096] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.009132] CPU: All CPU(s) started in SVC mode.
[    0.009970] devtmpfs: initialized
[    0.031698] random: get_random_u32 called from bucket_table_alloc+0x58/0x14c with crng_init=0
[    0.032621] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.033270] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.033362] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.042989] pinctrl core: initialized pinctrl subsystem
[    0.045276] NET: Registered protocol family 16
[    0.059529] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.061854] cpuidle: using governor menu
[    0.076587] vdd3p0: supplied by regulator-dummy
[    0.077418] cpu: supplied by regulator-dummy
[    0.078683] vddsoc: supplied by regulator-dummy
[    0.099713] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.099787] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.101611] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.103638] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.166988] soc_in: supplied by +V3.3
[    0.167497] eth_phy: supplied by +V3.3
[    0.333867] regulator-usbh-vbus GPIO handle specifies active low - ignored
[    0.334430] VCC_USB[1-4]: supplied by 5V
[    0.337014] SCSI subsystem initialized
[    0.337670] usbcore: registered new interface driver usbfs
[    0.337834] usbcore: registered new interface driver hub
[    0.337975] usbcore: registered new device driver usb
[    0.341028] i2c i2c-0: IMX I2C adapter registered
[    0.342796] i2c i2c-1: IMX I2C adapter registered
[    0.343324] videodev: Linux video capture interface: v2.00
[    0.343520] pps_core: LinuxPPS API ver. 1 registered
[    0.343559] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.343656] PTP clock support registered
[    0.344284] Advanced Linux Sound Architecture Driver Initialized.
[    0.346927] clocksource: Switched to clocksource mxc_timer1
[    0.347290] VFS: Disk quotas dquot_6.6.0
[    0.347508] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.369220] thermal_sys: Registered thermal governor 'step_wise'
[    0.369899] NET: Registered protocol family 2
[    0.370287] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.371781] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.371899] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.372044] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.372228] TCP: Hash tables configured (established 4096 bind 4096)
[    0.372446] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.372536] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.372961] NET: Registered protocol family 1
[    0.374164] RPC: Registered named UNIX socket transport module.
[    0.374231] RPC: Registered udp transport module.
[    0.374266] RPC: Registered tcp transport module.
[    0.374303] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.375898] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.379001] Bus freq driver module loaded
[    0.381415] Initialise system trusted keyrings
[    0.381930] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.397258] NFS: Registering the id_resolver key type
[    0.397375] Key type id_resolver registered
[    0.397410] Key type id_legacy registered
[    0.397467] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.397510] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.399457] Key type cifs.idmap registered
[    0.399533] ntfs: driver 2.1.32 [Flags: R/W].
[    0.400608] fuse: init (API version 7.31)
[    0.492266] Key type asymmetric registered
[    0.492332] Asymmetric key parser 'x509' registered
[    0.492397] io scheduler mq-deadline registered
[    0.492433] io scheduler kyber registered
[    0.495418] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.499360] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.499920] fbcvt: 800x480@60: CVT Name - .384M9
[    0.499987] mxsfb 21c8000.lcdif: Using timings from kernel parameters
[    0.613946] Console: switching to colour frame buffer device 100x30
[    0.633364] mxsfb 21c8000.lcdif: initialized
[    0.641393] mxs-dma 1804000.dma-apbh: initialized
[    0.649453] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[    1.348683] printk: console [ttymxc0] enabled
[    1.358687] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 60, base_baud = 5000000) is a IMX
[    1.372697] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 61, base_baud = 5000000) is a IMX
[    1.419364] imx_rngc 2284000.rng: Freescale RNGC registered.
[    1.452388] brd: module loaded
[    1.477137] loop: module loaded
[    1.488875] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    1.499100] nand: Macronix MX30LF4G28AC
[    1.506614] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[    1.518827] Bad block table found at page 262080, version 0x01
[    1.528977] Bad block table found at page 262016, version 0x01
[    1.538955] nand_read_bbt: bad block at 0x000012380000
[    1.548273] 5 fixed-partitions partitions found on MTD device gpmi-nand
[    1.558896] Creating 5 MTD partitions on "gpmi-nand":
[    1.567973] 0x000000000000-0x000000080000 : "mx6ull-bcb"
[    1.580477] 0x000000080000-0x000000200000 : "u-boot1"
[    1.592692] 0x000000200000-0x000000380000 : "u-boot2"
[    1.604710] 0x000000380000-0x000000400000 : "u-boot-env"
[    1.616765] 0x000000400000-0x000020000000 : "ubi"
[    1.632737] gpmi-nand 1806000.gpmi-nand: driver registered.
[    1.646435] libphy: Fixed MDIO Bus: probed
[    1.657678] pps pps0: new PPS source ptp0
[    1.668325] libphy: fec_enet_mii_bus: probed
[    1.679293] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.689874] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.699810] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.708750] usbcore: registered new interface driver usb-storage
[    1.721841] imx_usb 2184000.usb: No over current polarity defined
[    1.732146] imx_usb 2184200.usb: No over current polarity defined
[    1.746025] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.754381] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.797119] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.807707] hub 1-0:1.0: USB hub found
[    1.814621] hub 1-0:1.0: 1 port detected
[    1.831160] input: AD7879 Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-002c/input/input0
[    1.852866] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    1.862930] i2c /dev entries driver
[    1.871111] IR NEC protocol handler initialized
[    1.879094] IR RC5(x/sz) protocol handler initialized
[    1.887465] IR RC6 protocol handler initialized
[    1.895278] IR JVC protocol handler initialized
[    1.903106] IR Sony protocol handler initialized
[    1.911065] IR SANYO protocol handler initialized
[    1.919076] IR Sharp protocol handler initialized
[    1.926980] IR MCE Keyboard/mouse protocol handler initialized
[    1.936050] IR XMP protocol handler initialized
[    1.947519] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.958440] sdhci: Secure Digital Host Controller Interface driver
[    1.968059] sdhci: Copyright(c) Pierre Ossman
[    1.975646] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.988023] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    2.030810] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.047242] hidraw: raw HID events driver (C) Jiri Kosina
[    2.056424] usbcore: registered new interface driver usbhid
[    2.065526] usbhid: USB HID core driver
[    2.085979] NET: Registered protocol family 10
[    2.096373] Segment Routing with IPv6
[    2.103614] random: fast init done
[    2.111135] NET: Registered protocol family 17
[    2.119096] Bridge firewalling registered
[    2.126286] 8021q: 802.1Q VLAN Support v1.8
[    2.133957] tsn generic netlink module v1 init...
[    2.141975] Key type dns_resolver registered
[    2.180122] Registering SWP/SWPB emulation handler
[    2.189482] registered taskstats version 1
[    2.195152] Loading compiled-in X.509 certificates
[    2.228615] imx_usb 2184000.usb: No over current polarity defined
[    2.241133] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.247834] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.287283] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.302526] hub 2-0:1.0: USB hub found
[    2.313190] hub 2-0:1.0: 1 port detected
[    2.329747] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:105C passive:95C
[    2.345455] ubi0: default fastmap pool size: 200
[    2.351914] ubi0: default fastmap WL pool size: 100
[    2.358455] ubi0: attaching mtd4
[    2.626414] ubi0: attached by fastmap
[    2.631785] ubi0: fastmap pool size: 200
[    2.637262] ubi0: fastmap WL pool size: 100
[    2.657836] ubi0: attached mtd4 (name "ubi", size 508 MiB)
[    2.665642] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.674941] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.684180] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.693601] ubi0: good PEBs: 4059, bad PEBs: 5, corrupted PEBs: 0
[    2.702187] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    2.711964] ubi0: max/mean erase counter: 23/11, WL threshold: 4096, image sequence number: 351279194
[    2.726357] ubi0: available PEBs: 0, total reserved PEBs: 4059, PEBs reserved for bad PEB handling: 75
[    2.741562] ubi0: background thread "ubi_bgt0d" started, PID 84
[    2.755452] input: gpio-keys as /devices/soc0/gpio-keys/input/input1
[    2.766104] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2022-03-07T19:33:41 UTC (1646681621)
[    2.780902] ALSA device list:
[    2.786125]   No soundcards found.
[    2.793474] UBIFS (ubi0:3): Mounting in unauthenticated mode
[    2.801631] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 85
[    2.896643] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs"
[    2.907203] UBIFS (ubi0:3): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.923220] UBIFS (ubi0:3): FS size: 489746432 bytes (467 MiB, 3857 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.940524] UBIFS (ubi0:3): reserved for root: 0 bytes (0 KiB)
[    2.949847] UBIFS (ubi0:3): media format: w4/r0 (latest is w5/r0), UUID 9CDB942E-D6D7-4594-8BC5-372C18DA122C, small LPT model
[    2.970878] VFS: Mounted root (ubifs filesystem) on device 0:15.
[    2.980735] devtmpfs: mounted
[    2.987879] Freeing unused kernel memory: 1024K
[    2.995066] Run /sbin/init as init process
[    3.421087] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.457067] systemd[1]: Detected architecture arm.
[    3.521448] systemd[1]: Set hostname to <colibri-imx6ull-06997087>.
[    4.617794] systemd[1]: /lib/systemd/system/gpsd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/gpsd.sock \xe2\x86\x92 /run/gpsd.sock; please update the unit file accordingly.
[    4.721016] random: systemd: uninitialized urandom read (16 bytes read)
[    4.739098] systemd[1]: Created slice system-getty.slice.
[    4.778089] random: systemd: uninitialized urandom read (16 bytes read)
[    4.799358] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.837391] random: systemd: uninitialized urandom read (16 bytes read)
[    4.850402] systemd[1]: Created slice system-weston.slice.
[    4.888693] systemd[1]: Created slice User and Session Slice.
[    4.930385] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    4.989201] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.039329] systemd[1]: Reached target Host and Network Name Lookups.
[    5.088165] systemd[1]: Reached target Paths.
[    5.127430] systemd[1]: Reached target Remote File Systems.
[    5.168260] systemd[1]: Reached target Slices.
[    5.208627] systemd[1]: Reached target Swap.
[    5.284342] systemd[1]: Listening on RPCbind Server Activation Socket.
[    5.328347] systemd[1]: Reached target RPC Port Mapper.
[    5.371418] systemd[1]: Listening on Syslog Socket.
[    5.409800] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    5.506137] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    5.519896] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.560739] systemd[1]: Listening on Journal Socket.
[    5.614205] systemd[1]: Listening on Network Service Netlink Socket.
[    5.662407] systemd[1]: Listening on udev Control Socket.
[    5.709802] systemd[1]: Listening on udev Kernel Socket.
[    5.748515] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    5.765635] systemd[1]: Mounting POSIX Message Queue File System...
[    5.813392] systemd[1]: Mounting Kernel Debug File System...
[    5.878596] systemd[1]: Mounting Temporary Directory (/tmp)...
[    5.956188] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    6.031508] systemd[1]: Starting RPC Bind...
[    6.077759] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    6.121084] systemd[1]: Starting Journal Service...
[    6.183603] systemd[1]: Starting Load Kernel Modules...
[    6.226358] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.302012] systemd[1]: Starting udev Coldplug all Devices...
[    6.461841] systemd[1]: Started RPC Bind.
[    6.508124] systemd[1]: Mounted POSIX Message Queue File System.
[    6.548528] systemd[1]: Mounted Kernel Debug File System.
[    6.574806] systemd[1]: Mounted Temporary Directory (/tmp).
[    6.639724] systemd[1]: Started Create list of static device nodes for the current kernel.
[    6.709904] systemd[1]: Started Load Kernel Modules.
[    6.768244] systemd[1]: Started Journal Service.
[    7.020360] systemd-journald[106]: Received client request to flush runtime journal.
[    7.375334] random: crng init done
[    7.383232] random: 7 urandom warning(s) missed due to ratelimiting
[    9.818445] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[   10.187618] spi_imx 2008000.spi: probed
[   10.205915] imx-sdma 20ec000.sdma: loaded firmware 3.5
[   10.712019] atmel_mxt_ts 0-004a: Family: 164 Variant: 11 Firmware V1.2.AA Objects: 41
[   10.941470] atmel_mxt_ts 0-004a: Direct firmware load for maxtouch.cfg failed with error -2
[   11.128353] atmel_mxt_ts 0-004a: Resetting device
[   11.586207] atmel_mxt_ts 0-004a: Touchscreen size X799Y479
[   11.747440] input: Atmel maXTouch Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-004a/input/input2
[   13.400050] CAN device driver interface
[   14.467042] mcp251x spi0.0: MCP251x didn't enter in conf mode after reset
[   14.482866] mcp251x spi0.0: Probe failed, err=16
[   14.494998] mcp251x: probe of spi0.0 failed with error -16
[   15.873302] using random self ethernet address
[   15.879872] using random host ethernet address
[   16.018104] Bluetooth: Core ver 2.22
[   16.023785] NET: Registered protocol family 31
[   16.030252] Bluetooth: HCI device and connection manager initialized
[   16.132240] Bluetooth: HCI socket layer initialized
[   16.187670] Bluetooth: L2CAP socket layer initialized
[   16.194710] Bluetooth: SCO socket layer initialized
[   16.607428] usb0: HOST MAC 00:14:2d:ff:ff:fe
[   16.631112] usb0: MAC 00:14:2d:ff:ff:ff
[   17.823373] Micrel KSZ8041 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)
[   19.927583] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   19.935485] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.288910] soc_in: disabling
[   33.291952] 3.3V: disabling

But no matter what. The touch just does not work.
evtest says:

Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "Atmel maXTouch Touchscreen"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max      799
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max      479
    Event code 47 (ABS_MT_SLOT)
      Value      0
      Min        0
      Max       15
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max      799
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      479
    Event code 55 (ABS_MT_TOOL_TYPE)
      Value      0
      Min        0
      Max       15
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max    65535
    Event code 59 (ABS_MT_DISTANCE)
      Value      0
      Min        0
      Max        1
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)

I then connected my logic analyser. And checked the i2c.

root@colibri-imx6ull-06997087:~# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Here is a record of the i2c bus, while booting:
boot_logic_analyser_multimedia.csv (79.9 KB)

The touch-controller just does not wan’t to talk to me. After boot there is no more signal on the i2c bus. Never.

And last but not least: i’ve loaded the config-file on the atmel-chip like so
I also recorded this with my analyser, because i didn’t bring me any look also.
write_config_logic_analyser_multimedia.csv (216.9 KB)

Please let there be some human, who is able to help me! Thank you a lot!

Did you see this posting?

Hi Dave,

yes i have. I’ve mentioned it in my post.

It seems, that i’m using the wrong dts(i). On Aster the irq and rst lines are connected to SODIMM#107 and SODIMM#106. The imx6ull-colibri-eval-v3.dtsi uses other pins.

1 Like

Hi @pf_ibe ,

Welcome to the Toradex Community.

Just to be sure, did you enable the overlay necessary for the display?

Do you see an image on your display?

Best Regards
Kevin