On 6/11/21 8:32 PM, Dmitry Torokhov wrote:
Hi,
On 6/11/21 3:54 PM, Geert Uytterhoeven wrote:
While Linux uses a different driver, the Ilitek
ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller Device Tree
binding documentation is very similar.
- Drop the fixed reg value, as some controllers use a different
address,
- Make reset-gpios optional, as it is not always wired.
It looks like there are now two drivers for the same hardware,
drivers/input/touchscreen/ili210x.c
drivers/input/touchscreen/ilitek_ts_i2c.c
The ilitek_ts_i2c (newer) seems to be derived from the ilitek example
code / driver, while the ili210x was written from scratch as far as I
can tell.
I'm not so sure they're for the same hardware, but you may know better?
https://www.displayvisions.us/fileadmin/html-seiten/eng/pdf/zubehoer/ILITek_TP_Programming_Guide_V1.50.pdf
lists only Ilitek parts handled by ilitek_ts_i2c.c.
Ilitek folks said that the new driver is for their "Lego" series
controllers, whereas ili210x.c is for older hardware.
The older driver also supports 251x . What exactly is "Lego" series ?
In fact, is there documentation for the different ILI2xxx touchscreen
controllers ? So far, all the information I had was pulled from the
various forks of downstream example code.