Debian TCA8414 keyboard scanner driver integration question

Started by dd63, November 04, 2016, 01:35:56 AM

Previous topic - Next topic

dd63

Does anyone have any advice on integrating a TI TCA8414 i2c keyboard scanner IC to an A20 running Debian?  I2Cdetect detects the IC, the i2c driver initializes and the TCA8414 Linux driver gets partially initialized, but fails when initializing the IRQ.  We think platform data is correct.  That was an earlier problem.  Other devices, including a TI PCF8575 I/O expander, are working on the same bus.


---------------------------------
We were using EINT24 for the keyboard scanner interrupt, since it is one of the interrupts that are available in the UEXT cables, and because we weren't running the GPIO cables to our keyboard. We changed the keyboard scannner IRQ from EINT24 to EINT0 and ran a wire from GPIO-3 to the keyboard and that worked.  There are posts on linux-sunxi that talk about EINT22-EINT31 not working the same as EINT0-EINT21.