Home
last modified time | relevance | path

Searched hist:"7 d96166b1b1a261ddd4247befd62b35b2f482bae" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/input/
H A Di8042.c7d96166b1b1a261ddd4247befd62b35b2f482bae Mon Aug 24 08:00:06 UTC 2015 Bin Meng <bmeng.cn@gmail.com> x86: i8042: Correctly initialize the controller

The existing i8042 keyboard controller driver has some issues.
First of all, it does not issue a self-test command (0xaa) to the
controller at the very beginning. Without this, the controller
does not respond to any command at all. Secondly, it initializes
the configuration byte register to turn on the keyboard's interrupt,
as U-Boot does not normally allow interrupts to be processed.
Finally, at the end of the initialization routine, it wrongly
sets the controller to disable all interfaces including both
keyboard and mouse.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>