
18 Aug
2015
18 Aug
'15
4 a.m.
On 17 August 2015 at 04:45, Bin Meng bmeng.cn@gmail.com wrote:
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 any command at all. Secondly, it initializes the configuration byte reigster to turn on keyboard's interrupt, which is not allowed as U-Boot we don't normally enable interrupt. 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
drivers/input/i8042.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)
Acked-by: Simon Glass sjg@chromium.org