Re: [linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-03-01 Thread sergk . admin
Hi, Gregor. Just wrote some my test module-stub, mix of acpi and just direct i2cdev creation on i2c-4 0x48, anyway it is even possible just used echo icn8528 0x48 > /sys/bus/i2c/devices/i2c-4/newdevice instead it. The main question is - wakeup chip, and gpios pins. Actually, the procedure of h

Re: [linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-03-01 Thread sergk . admin
Hi Gregor, Thank you for reply! As I mentioned in linux-input@How to use ACPI for touchscreen - the acpi provided info looks like total false. For the begining I am trying to achieve mimimal - detect chip and just wake up it. Actually have tried - modified your driver for gsl1680 and also icn83

Re: [linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-03-01 Thread Gregor Riepl
> That information is better fetched from 1) ACPI or DT, if available, 2) made > available through sysfs, or 3) provided in the firmware. > > 1) silead_ts does this > 2) chipone_icn8318 does this Sorry, I was mistaken. chipone_icn8318 tries to fetch the information from DeviceTree. No sysfs inter

Re: [linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-03-01 Thread Gregor Riepl
> 1) How to initialize the chip? What is the sequence? It looks it is not enough > just set gpio to 1. I think many TS controllers use the same or a similar sequence to this: - Set wakeup pin low - Wait for a few ms - Set wakup pin high How long is probably chip dependant. > 2) Please describe i

[linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-02-27 Thread sergk . admin
Hi All :) that still keep silence! I would like to mention the following : In linux-sunxi there is http://dl.linux-sunxi.org/SDK/A80/A80_SDK_20140728_stripped/lichee/linux-3.4/drivers/input/touchscreen/icn83xx/ it is strange that the author is from Chipone, as minimum should be someone who adop

[linux-sunxi] Re: chipone icn83xx and icn85xx touchscreen drivers

2016-02-24 Thread sergk . admin
Coud someone be so kind to describe how to initialize this chip? I guess it has INT/WAKE gpio pin? Am I right? How to find out having working touch in Android and Windows it ? There is no at the moment driver in Linux for this touch, so I have not "right point of start" for finding out gpio pin.