input: twl4030: Keypad scan and input
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 20 Jul 2015 13:17:09 +0000 (15:17 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:24:13 +0000 (08:24 +0200)
commit491daa49efa9b8ddf0c7009fb1c2604ec378c223
tree6baf69137d50833a2184a4f49a8534aa7e8d19f1
parent72a2bb18abee36c4b6822b93fa5869766bab61ff
input: twl4030: Keypad scan and input

This allows scanning the twl4030 keypad, storing the result in a 64-byte long
matrix with the twl4030_keypad_scan function.

Detecting a key at a given column and row is made easier with the
twl4030_keypad_key function.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/input/twl4030.c
include/twl4030.h