1814db6969
1. Introduce the "struct pxa27x_keypad" structure for driver specific information, such as "struct clk", generated matrix key codes and so on 2. Use KEY() macro to define matrix keys, instead of original 8x8 map this makes definition easier with keypad where keys are sparse 3. Keep a generated array in "struct pxa27x_keypad" for fast lookup 4. Separate the matrix scan into a dedicated function for readability and report only those keys whose state has been changed, instead of report all states 5. Make use of KPAS to decide the faster path if only one key has been detected Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
---|---|---|
.. | ||
akita.h | ||
audio.h | ||
bitfield.h | ||
cm-x270.h | ||
corgi.h | ||
debug-macro.S | ||
dma.h | ||
entry-macro.S | ||
gpio.h | ||
hardware.h | ||
i2c.h | ||
idp.h | ||
io.h | ||
irda.h | ||
irqs.h | ||
lpd270.h | ||
lubbock.h | ||
mainstone.h | ||
memory.h | ||
mfp-pxa300.h | ||
mfp-pxa320.h | ||
mfp.h | ||
mmc.h | ||
mtd-xip.h | ||
ohci.h | ||
pm.h | ||
poodle.h | ||
pxa2xx_spi.h | ||
pxa3xx-regs.h | ||
pxa27x_keypad.h | ||
pxa-regs.h | ||
pxafb.h | ||
sharpsl.h | ||
spitz.h | ||
ssp.h | ||
system.h | ||
timex.h | ||
tosa.h | ||
trizeps4.h | ||
udc.h | ||
uncompress.h | ||
vmalloc.h | ||
zylonite.h |