]> git.sur5r.net Git - u-boot/commit
input: twl4030: Keypad scan and input
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 20 Jul 2015 13:17:09 +0000 (15:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:36 +0000 (20:47 -0400)
commita4c8bbbc289e4f853b52ce9fe604079038e644cc
tree11d3a234d881e6ded9ce054c9671f69b49aca06e
parent7d5ac91832918a5fda0277aacb8c62421efdeaa2
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