This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: ILI2130

Part Number: SK-AM62

Hi,

I am trying to interface ILI2130 ilitek touch driver with the am62x SK EVK, loaded the driver as a kernel module, made physical connections such that the device occupies i2c-0 bus (gpio pins), also altered the dts accordingly

main_i2c0_pins_default: main-i2c0-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */
AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */
>;
};
touch_pins_default: touch-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x1d0, PIN_OUTPUT, 7) /* (A15) GPIO1_22 UART0_CTSN, Touch Reset */
AM62X_IOPAD(0x1d4, PIN_OUTPUT, 7) /* (B15) GPIO1_23 UART0_RTSN, Touch Interrupt */
>;
};
};

&main_i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&main_i2c0_pins_default
&touch_pins_default>;
clock-frequency = <400000>;
status = "okay";

ili2130@41{
compatible = "ilitek_ts_i2c,ilitek,ili213x";
reg = <0x41>;
interrupt-parent = <&main_gpio1>;
interrupts = <22 0>;
irq-gpios = <&main_gpio1 23 0>;
reset-gpios = <&main_gpio1 22 0>;
};
};

booted the system and tried but the device is irresponsive for the touch inputs, and also the module is recognized as a kernel module at 0x41of i2c0 bus as UU at sometimes and sometimes not.

Any suggestions on what should be done right ?

Thanks.

  • Hello,

    Our expert on touchscreen topics is out of office until Wednesday this week. Feel free to reach out again on Thursday if they have not responded to your inquiry by then

    -Daolin

  • Hi, is the resource person available for help?

  • Hello Hamsadurga,

    First off, your compatible field looks wrong.

    That compatible string does not show up anywhere in the Linux kernel 6.1 docs. I would refer to the bindings documentation and make sure that you are exactly following the template:

    ti-processor-sdk-linux-am62xx-evm-09.01.00.08/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+247b2535b2-g247b2535b2$ grep -r 'ili213'
    drivers/input/touchscreen/ilitek_ts_i2c.c:      {.compatible = "ilitek,ili2130",},
    drivers/input/touchscreen/ilitek_ts_i2c.c:      {.compatible = "ilitek,ili2131",},
    drivers/input/touchscreen/ilitek_ts_i2c.c:      {.compatible = "ilitek,ili2132",},
    Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml:      - ilitek,ili2130
    Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml:      - ilitek,ili2131
    Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml:      - ilitek,ili2132
    

    If you are still seeing issues after fixing your Linux devicetree node, please search your boot logs for any helpful errors and attach those as well.

    I'm in a bit of a rush today so I was not able to double-check your pinmux settings - if needed, I can check those next week (I'm on vacation again on Friday).

    Regards,

    Nick

  • Hi, 

    I changed the compatible = "ilitek, ili2130", after checking and changing the pinmux to below I reflashed the SD card booted the device and checked the touch responsivity but it is still irresponsive, can you please look into the below attached fragment and dmesg and suggest me what should be changed or done ?

    root@am62xx-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.69-g77aa27cbdc (oe-user@oe-host) (aarch64-agl-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Feb  1 15:06:40 UTC 2024
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000f7600000, size 128 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ff6fffff]
    [    0.000000]   node   0: [mem 0x00000000ff700000-0x00000000fffc9fff]
    [    0.000000]   node   0: [mem 0x00000000fffca000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 28 pages/cpu s74984 r8192 d31512 u114688
    [    0.000000] pcpu-alloc: s74984 r8192 d31512 u114688 alloc=28*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=79bf42bf-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1834232K/2097152K available (13440K kernel code, 2240K rwdata, 4852K rodata, 3200K init, 479K bss, 131848K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000000800e0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000800f0000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008615] Console: colour dummy device 80x25
    [    0.013224] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023908] pid_max: default: 32768 minimum: 301
    [    0.028713] LSM: Security Framework initializing
    [    0.033485] LSM support for eBPF active
    [    0.037521] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.045115] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.055332] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.062798] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.069109] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.076506] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.082935] rcu: Hierarchical SRCU implementation.
    [    0.087846] rcu:     Max phase no-delay instances is 1000.
    [    0.093657] Platform MSI: msi-controller@1820000 domain created
    [    0.100030] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.109431] EFI services will not be available.
    [    0.114434] smp: Bringing up secondary CPUs ...
    [    0.119907] Detected VIPT I-cache on CPU1
    [    0.120044] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.120064] GICv3: CPU1: using allocated LPI pending table @0x0000000080100000
    [    0.120134] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.120997] Detected VIPT I-cache on CPU2
    [    0.121087] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.121105] GICv3: CPU2: using allocated LPI pending table @0x0000000080110000
    [    0.121147] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.121929] Detected VIPT I-cache on CPU3
    [    0.122028] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.122044] GICv3: CPU3: using allocated LPI pending table @0x0000000080120000
    [    0.122086] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.122165] smp: Brought up 1 node, 4 CPUs
    [    0.201935] SMP: Total of 4 processors activated.
    [    0.206749] CPU features: detected: 32-bit EL0 Support
    [    0.212025] CPU features: detected: CRC32 instructions
    [    0.217358] CPU: All CPU(s) started at EL2
    [    0.221556] alternatives: applying system-wide alternatives
    [    0.229512] devtmpfs: initialized
    [    0.242582] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.252613] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.265172] pinctrl core: initialized pinctrl subsystem
    [    0.271343] DMI not present or invalid.
    [    0.276046] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.283545] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.291178] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.299323] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.307510] audit: initializing netlink subsys (disabled)
    [    0.313255] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
    [    0.313811] thermal_sys: Registered thermal governor 'step_wise'
    [    0.321199] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.327394] cpuidle: using governor menu
    [    0.338293] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.345347] ASID allocator initialised with 65536 entries
    [    0.362195] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.375651] KASLR disabled due to lack of seed
    [    0.388358] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.395340] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.401754] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.408693] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.415149] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.422099] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.428508] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.435447] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.443725] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.454626] iommu: Default domain type: Translated
    [    0.459657] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.466416] SCSI subsystem initialized
    [    0.470453] libata version 3.00 loaded.
    [    0.470704] usbcore: registered new interface driver usbfs
    [    0.476370] usbcore: registered new interface driver hub
    [    0.481829] usbcore: registered new device driver usb
    [    0.487569] pps_core: LinuxPPS API ver. 1 registered
    [    0.492652] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.502008] PTP clock support registered
    [    0.506176] EDAC MC: Ver: 3.0.0
    [    0.510492] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.517626] FPGA manager framework
    [    0.521227] Advanced Linux Sound Architecture Driver Initialized.
    [    0.528604] clocksource: Switched to clocksource arch_sys_counter
    [    0.535327] VFS: Disk quotas dquot_6.6.0
    [    0.539394] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.552856] NET: Registered PF_INET protocol family
    [    0.558200] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.567574] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.576409] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.584355] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.592599] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.600755] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.607721] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.614649] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.622228] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.628659] RPC: Registered named UNIX socket transport module.
    [    0.634724] RPC: Registered udp transport module.
    [    0.639532] RPC: Registered tcp transport module.
    [    0.644340] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.650930] NET: Registered PF_XDP protocol family
    [    0.655843] PCI: CLS 0 bytes, default 64
    [    0.660758] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.671303] Initialise system trusted keyrings
    [    0.676230] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.687677] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.694331] NFS: Registering the id_resolver key type
    [    0.699561] Key type id_resolver registered
    [    0.703841] Key type id_legacy registered
    [    0.708005] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.714864] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.757526] NET: Registered PF_ALG protocol family
    [    0.762445] Key type asymmetric registered
    [    0.766632] Asymmetric key parser 'x509' registered
    [    0.771696] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.779502] io scheduler mq-deadline registered
    [    0.784142] io scheduler kyber registered
    [    0.792155] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.798793] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.806501] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.819912] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.837910] loop: module loaded
    [    0.842542] megasas: 07.719.03.00-rc1
    [    0.849868] tun: Universal TUN/TAP device driver, 1.6
    [    0.855922] VFIO - User Level meta-driver version: 0.3
    [    0.862119] usbcore: registered new interface driver usb-storage
    [    0.868382] usbcore: registered new interface driver usbserial_generic
    [    0.875089] usbserial: USB Serial support registered for generic
    [    0.881258] usbcore: registered new interface driver cp210x
    [    0.886970] usbserial: USB Serial support registered for cp210x
    [    0.893925] i2c_dev: i2c /dev entries driver
    [    0.898375] usbcore: registered new interface driver i2c-tiny-usb
    [    0.906319] sdhci: Secure Digital Host Controller Interface driver
    [    0.912676] sdhci: Copyright(c) Pierre Ossman
    [    0.917374] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.924152] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.930541] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.937647] usbcore: registered new interface driver usbhid
    [    0.943359] usbhid: USB HID core driver
    [    0.948343] optee: probing for conduit method.
    [    0.952938] optee: revision 4.1 (012cdca4)
    [    0.953343] optee: dynamic shared memory is enabled
    [    0.963019] optee: initialized driver
    [    0.968300] usbcore: registered new interface driver snd-usb-audio
    [    0.975483] Initializing XFRM netlink socket
    [    0.979912] NET: Registered PF_PACKET protocol family
    [    0.985217] Key type dns_resolver registered
    [    0.990498] registered taskstats version 1
    [    0.994729] Loading compiled-in X.509 certificates
    [    1.011000] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.1--v09.02.01 (Kool Koala)')
    [    1.068639] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=81, clk=20, ret=-19
    [    1.101880] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.109128] i2c 1-003b: Fixed dependency cycle(s) with /connector/port/endpoint
    [    1.116668] i2c 1-003b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000/ports/port@1/endpoint
    [    1.126507] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.133692] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.139721] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.149030] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.161555] simple-framebuffer ff700000.framebuffer: framebuffer at 0xff700000, 0x8ca000 bytes
    [    1.170408] simple-framebuffer ff700000.framebuffer: format=x8r8g8b8, mode=1920x1200x32, linelength=7680
    [    1.196680] Console: switching to colour frame buffer device 240x75
    [    1.218108] simple-framebuffer ff700000.framebuffer: fb0: simplefb registered!
    [    1.227327] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.235924] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.247270] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.257815] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.268423] printk: console [ttyS2] disabled
    [    1.272896] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 240, base_baud = 3000000) is a 8250
    [    1.281804] printk: console [ttyS2] enabled
    [    1.290264] printk: bootconsole [ns16550a0] disabled
    [    1.302026] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.348628] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.359253] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.367368] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.375506] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.388406] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.395533] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.402177] pps pps0: new PPS source ptp0
    [    1.406544] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.417443] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.429393] mmc0: CQHCI version 5.10
    [    1.435118] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.441982] pca953x 1-0022: using AI
    [    1.474709] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.475612] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.487444] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.494439] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.499911] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.507219] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.513903] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.520564] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.527030] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.533979] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.540704] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.559696] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.560104] mmc2: CQHCI version 5.10
    [    1.560123] mmc1: CQHCI version 5.10
    [    1.569634] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present!
    [    1.586403] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19
    [    1.596984] mmc0: Command Queue Engine enabled
    [    1.601468] mmc0: new HS200 MMC card at address 0001
    [    1.601661] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.601745] ALSA device list:
    [    1.601757]   No soundcards found.
    [    1.607250] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    1.607481] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.632700]  mmcblk0: p1 p2
    [    1.636858] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.643786] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.649959] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.656431] Waiting for root device PARTUUID=79bf42bf-02...
    [    1.666377] mmc1: new high speed SDXC card at address 0001
    [    1.672937] mmcblk1: mmc1:0001 SD 58.2 GiB
    [    1.680706]  mmcblk1: p1 p2
    [    2.342320] EXT4-fs (mmcblk1p2): recovery complete
    [    2.349867] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.358533] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.366827] devtmpfs: mounted
    [    2.372306] Freeing unused kernel memory: 3200K
    [    2.377089] Run /sbin/init as init process
    [    2.381225]   with arguments:
    [    2.381230]     /sbin/init
    [    2.381234]   with environment:
    [    2.381237]     HOME=/
    [    2.381241]     TERM=linux
    [    3.033580] systemd[1]: System time before build time, advancing clock.
    [    3.189784] NET: Registered PF_INET6 protocol family
    [    3.197199] Segment Routing with IPv6
    [    3.200934] In-situ OAM (IOAM) with IPv6
    [    3.315159] systemd[1]: systemd 250.5+ running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    3.347657] systemd[1]: Detected architecture arm64.
    [    3.435739] systemd[1]: Hostname set to <am62xx-evm>.
    [    4.462749] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.534844] systemd[1]: Created slice Slice /system/getty.
    [    4.560228] systemd[1]: Created slice Slice /system/modprobe.
    [    4.584450] systemd[1]: Created slice Slice /system/serial-getty.
    [    4.611978] systemd[1]: Created slice Slice /system/wireplumber.
    [    4.635418] systemd[1]: Created slice User and Session Slice.
    [    4.657469] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.681364] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.705820] systemd[1]: Reached target Host and Network Name Lookups.
    [    4.729008] systemd[1]: Reached target Path Units.
    [    4.745105] systemd[1]: Reached target Remote File Systems.
    [    4.769023] systemd[1]: Reached target Slice Units.
    [    4.785515] systemd[1]: Reached target Swaps.
    [    4.857316] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    4.881387] systemd[1]: Reached target RPC Port Mapper.
    [    4.906869] systemd[1]: Listening on Syslog Socket.
    [    4.938887] systemd[1]: Listening on Process Core Dump Socket.
    [    4.961962] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    4.989239] systemd[1]: Listening on Journal Audit Socket.
    [    5.014481] systemd[1]: Listening on Journal Socket (/dev/log).
    [    5.038799] systemd[1]: Listening on Journal Socket.
    [    5.057625] systemd[1]: Listening on Network Service Netlink Socket.
    [    5.087553] systemd[1]: Listening on udev Control Socket.
    [    5.111433] systemd[1]: Listening on udev Kernel Socket.
    [    5.135973] systemd[1]: Listening on User Database Manager Socket.
    [    5.201394] systemd[1]: Mounting Huge Pages File System...
    [    5.226292] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.257856] systemd[1]: Mounting Kernel Debug File System...
    [    5.278768] systemd[1]: Mounting Kernel Trace File System...
    [    5.307372] systemd[1]: Mounting Temporary Directory /tmp...
    [    5.332901] systemd[1]: Starting Create List of Static Device Nodes...
    [    5.365774] systemd[1]: Starting Load Kernel Module configfs...
    [    5.387732] systemd[1]: Starting Load Kernel Module drm...
    [    5.412143] systemd[1]: Starting Load Kernel Module fuse...
    [    5.466140] systemd[1]: Starting Start psplash boot splash screen...
    [    5.486799] fuse: init (API version 7.37)
    [    5.501741] systemd[1]: Starting RPC Bind...
    [    5.524316] systemd[1]: Starting SELinux autorelabel service loading...
    [    5.563023] systemd[1]: Starting SELinux init for /dev service loading...
    [    5.585237] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    5.630420] systemd[1]: Starting Journal Service...
    [    5.665720] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
    [    5.717683] systemd[1]: Mounting NFSD configuration filesystem...
    [    5.752050] systemd[1]: Starting Generate network units from Kernel command line...
    [    5.817891] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.850248] systemd[1]: Starting Apply Kernel Variables...
    [    5.856929] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    5.887040] systemd[1]: Starting Coldplug All udev Devices...
    [    5.925863] systemd[1]: Started Start psplash boot splash screen.
    [    5.953631] audit: type=1130 audit(1706800002.924:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=psplash-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    5.954843] systemd[1]: Started RPC Bind.
    [    5.993226] audit: type=1130 audit(1706800002.964:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rpcbind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    5.994095] systemd[1]: Started Journal Service.
    [    6.029360] audit: type=1130 audit(1706800003.000:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.153661] audit: type=1130 audit(1706800003.124:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.189129] audit: type=1130 audit(1706800003.160:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.208095] audit: type=1131 audit(1706800003.160:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.249095] audit: type=1130 audit(1706800003.220:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.267602] audit: type=1131 audit(1706800003.220:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.305094] audit: type=1130 audit(1706800003.276:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@fuse comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.323782] audit: type=1131 audit(1706800003.276:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@fuse comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    [    6.684778] systemd-journald[183]: Received client request to flush runtime journal.
    [    7.510821] random: crng init done
    [    7.550384] mc: Linux media interface: v0.10
    [    7.631532] videodev: Linux video capture interface: v2.00
    [    7.779203] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    7.790704] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    7.799685] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    7.814950] remoteproc remoteproc0: 5000000.m4fss is available
    [    7.835869] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    7.845374] remoteproc remoteproc0: powering up 5000000.m4fss
    [    7.851382] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [    7.860680] remoteproc remoteproc0: request_firmware failed: -2
    [    7.897183] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    7.902723] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:15 UTC (15)
    [    7.949306] systemd-journald[183]: Time jumped backwards, rotating.
    [    7.953963] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    7.963151] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    7.991224] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.992295] i2c i2c-1: Added multiplexed i2c bus 3
    [    8.015302] platform 78000000.r5f: configured R5F for IPC-only mode
    [    8.022188] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    8.022209] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    8.038146] Console: switching to colour dummy device 80x25
    [    8.040119] remoteproc remoteproc1: 78000000.r5f is available
    [    8.054731] remoteproc remoteproc1: attaching to 78000000.r5f
    [    8.072949] pvrsrvkm: loading out-of-tree module taints kernel.
    [    8.073609] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    8.086924] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@9da00000
    [    8.111656] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.113761] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.117473] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
    [    8.132050] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    8.153547] EDID block 0 (tag 0x00) checksum is invalid, remainder is 23
    [    8.157167] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.160436]  [00] BAD  00 ff ff ff ff ff ff 00 04 81 04 00 01 00 00 00
    [    8.168156]  [00] BAD  01 11 01 03 80 0f 0a 00 0a 00 00 00 00 00 00 00
    [    8.168159] PVR_K:  219: Device: fd00000.gpu
    [    8.169101] PVR_K:  219: Read BVNC 33.15.11.3 from HW device registers
    [    8.172518]  [00] BAD  00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
    [    8.179022]  [00] BAD  01 01 01 01 01 01 80 0c 20 80 30 e0 2d 10 28 30
    [    8.179042]  [00] BAD  d3 00 6c 44 00 00 00 18 00 00 00 10 00 00 00 00
    [    8.179047]  [00] BAD  00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
    [    8.179050]  [00] BAD  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
    [    8.179054]  [00] BAD  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14
    [    8.187400] PVR_K:  219: RGX Device registered with BVNC 33.15.11.3
    [    8.253650] Console: switching to colour frame buffer device 128x48
    [    8.260834] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    8.279542] [drm] Initialized pvr 23.3.6512818 20170530 for fd00000.gpu on minor 1
    [    8.374121] EDID block 0 (tag 0x00) checksum is invalid, remainder is 23
    [    8.503876] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    8.665167] remoteproc remoteproc2: 30074000.pru is available
    [    8.686890] remoteproc remoteproc3: 30078000.pru is available
    [    8.798881] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [    8.865414] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [    8.964229] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    8.970769] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    8.979792] xhci-hcd xhci-hcd.3.auto: USB3 root hub has no ports
    [    8.985875] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    8.995515] xhci-hcd xhci-hcd.3.auto: irq 425, io mem 0x31100000
    [    9.002861] hub 1-0:1.0: USB hub found
    [    9.006806] hub 1-0:1.0: 1 port detected
    [   10.358755] CAN device driver interface
    [   10.401830] vcan: Virtual CAN interface driver
    [   10.976849] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   11.025546] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   11.040391] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [   11.060789] cfg80211: failed to load regulatory.db
    [   11.481999] Bluetooth: Core ver 2.22
    [   11.491727] NET: Registered PF_BLUETOOTH protocol family
    [   11.500693] Bluetooth: HCI device and connection manager initialized
    [   11.507707] Bluetooth: HCI socket layer initialized
    [   11.516731] Bluetooth: L2CAP socket layer initialized
    [   11.522576] Bluetooth: SCO socket layer initialized
    [   13.006655] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   13.016810] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   13.067252] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [   13.105354] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [   14.591538] can: controller area network core
    [   14.596239] NET: Registered PF_CAN protocol family
    [   14.667452] can: raw protocol
    [   17.061100] PVR_K:  374: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
    [   17.135756] PVR_K:  374: Shader binary image 'rgx.sh.33.15.11.3' loaded
    [   17.213640] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    [   17.222503] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [   17.337916] 8021q: 802.1Q VLAN Support v1.8
    [   17.343545] 8021q: adding VLAN 0 to HW filter on device eth0
    [   17.360804] 8021q: adding VLAN 0 to HW filter on device eth1
    [   17.832710] EDID block 0 (tag 0x00) checksum is invalid, remainder is 23
    [   27.806077] systemd-journald[183]: Oldest entry in /run/log/journal/c2ca828d840540b7a71a7a77d9a1a1fd/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [   27.828934] systemd-journald[183]: /run/log/journal/c2ca828d840540b7a71a7a77d9a1a1fd/system.journal: Journal header limits reached or header out-of-date, rotating.
    root@am62xx-evm:~#
    

    main_i2c0_pins_default: main-i2c0-pins-default {
    pinctrl-single,pins = <
    AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */
    AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */
    >;
    };

    touch_pins_default: touch-pins-default {
    pinctrl-single,pins = <
    AM62X_IOPAD(0x254, PIN_OUTPUT, 7) /* (C20) GPIO1_50, Touch Reset */
    AM62X_IOPAD(0x1d0, PIN_INPUT, 7) /* (A15) GPIO1_22, Touch Interrupt */
    >;
    };

    &main_i2c0 {
    pinctrl-names = "default";
    pinctrl-0 = <&main_i2c0_pins_default &touch_pins_default>;
    clock-frequency = <400000>;
    status = "okay";

    ili2130@41 {
    compatible = "ilitek,ili2130";
    reg = <0x41>;
    interrupt-parent = <&main_gpio1>;
    interrupts = <31 0>;
    irq-gpios = <&main_gpio1 22 GPIO_ACTIVE_LOW>; /* Changed from 0 to GPIO_ACTIVE_LOW */
    reset-gpios = <&main_gpio1 50 GPIO_ACTIVE_HIGH>; /* Added GPIO_ACTIVE_HIGH */
    };
    };

    Thanks.

  • Hello,

    I did not have time to get to your thread today. Please ping the thread if I have not replied by Friday.

    Regards,

    Nick

  • Hey Nick, got time to look into the above thread ?

  • Hello,

    I did not notice anything in particular that was meaningful in the trace log.

    Are you seeing anything on your I2C bus at the 0x41 address? e.g., using i2cdetect?
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1273252/am623-i2c-timeout/4826805#4826805

    Regards,

    Nick