24 Feb
2009
24 Feb
'09
6:37 p.m.
If these are CPU side GPIOs that you're talking about you'll also want to write the standard utility for using gpiolib for jack detection that I've not got round to doing yet :)
The GPIOs belong to a submodule of TWL4030, but they are configured using standard gpiolib.
About adding GPIO functionality to jack detection, if the right place to request GPIOs and set its data direction is in board files (arch/*/mach-*/board-*.c), then there won't be much to do in jack code, only the irq request. Unless we move request and data direction setting to jack detection layer.
-Misa