How to add support for CTP based on ChipOne icn85xx and icn89xx ICs.

Started by Titomax, May 18, 2023, 06:28:56 PM

Previous topic - Next topic

Titomax

Hi,
I'm trying to add support for touchscreen based on ChipOne ICs in my system.

I'm using latest Olinuxino Image and A20-SOM204.

In the kernel I see integrated support only for the icn8318 IC but it doesn't seem compatible with icn85xx or icn89xx ICs.

The I2C address used by icn85xx and icn89xx is 0x48 (the address used by the icn8318 is 0x40).

Any idea ?

Thanks!


LubOlimex

First make sure to test with the base image (as opposed to the minimal) since it has more packages enabled. You might need to enable the kernel module for your touchscreen or even rebuild the kernel with the options you need.

Some info about how the images can be rebuilt can be found at the bottom of the Olimage guide:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf
Technical support and documentation manager at Olimex

Titomax

Hi Lub,
I downloaded the latest code from Olimex git repository and after "menuconfig" launch , in "Kernel Configurations" I can enable only support for icn8318 based touchscreen.
In the official Linux repository I can enable also the support for icn8505 based touchscreen.

See images below.





Titomax

So, why I don't see the icn8505 choice in the Kernel Configuration ?
Maybe the driver is not developed for arm architecture and so is not displayed ?

Is there a way to force the driver addition using directly the .c file ?


LubOlimex

Technical support and documentation manager at Olimex