]> git.sur5r.net Git - u-boot/commit
input: i8042: Convert to use the input library
authorSimon Glass <sjg@chromium.org>
Wed, 11 Nov 2015 17:05:41 +0000 (10:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000 (20:13 -0700)
commit2ec739db5b8d079ca9e21db79b9015bb5ec6e4de
treee1ee44c5639c8bdf831adf96eaf03af2d791f1f8
parent3b5f6f5001d0f3dfde98ccc6b9350fe74dac41f8
input: i8042: Convert to use the input library

At present the i8042 driver has its own logic and keymaps. In an effort to
unify the code, move it over to use the input library. This changes most of
the keycode-processing logic since it is now in that library. The main
responsibilities of the driver are now to handle the LEDs, deal with the
PS/2 extended keycodes and initialise the the keyboard.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/input/i8042.c