> 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 in a few words the feature of linux-sunxi - what is > ctp_config_info and how input information goes to it. > for example in the mentioned above link there is such lines in icn83xx.c ctp_config is hardcoded crap and should not be in any proper driver, IMHO. 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 3) gslx680-acpi does this 1) is probably the best option, but I don't really know if 2) or 3) is better when 1) is not available. 2) requires user space interaction and 3) requires specially formatted firmware. Can you compare the actual I2C and GPIO code from chipone_icn8318 and icn85xx.c and see if the work similarly? In that case, I believe we could just add ACPI support and the correct ACPI IDs for your icn85xx to chipone_icn8318 and it should start working. Well, you still need proper firmware, I guess. But let's leave that aside for now. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
