| 7d96166b | 24-Aug-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 ver
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>
show more ...
|
| 835dd000 | 24-Aug-2015 |
Bin Meng <bmeng.cn@gmail.com> |
x86: i8042: Clean up the driver per coding convention
- Rename CamelCase variables to conform U-Boot coding convention - Rename wait_until_kbd_output_full() to kbd_output_full() - Change to use macr
x86: i8042: Clean up the driver per coding convention
- Rename CamelCase variables to conform U-Boot coding convention - Rename wait_until_kbd_output_full() to kbd_output_full() - Change to use macros for i8042 command and control register bits
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a4c8bbbc | 20-Jul-2015 |
Paul Kocialkowski <contact@paulk.fr> |
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 a
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>
show more ...
|
| f9f788f0 | 26-Mar-2015 |
Simon Glass <sjg@chromium.org> |
i8042: Add keyboard enable logic in kbd_reset()
This code appears to be missing a piece that is needed on some keyboards to enable the keyboard. Add this in.
This makes the keyboard work correctly
i8042: Add keyboard enable logic in kbd_reset()
This code appears to be missing a piece that is needed on some keyboards to enable the keyboard. Add this in.
This makes the keyboard work correctly on chromebook_link.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| df637fa6 | 23-May-2013 |
Stephen Warren <swarren@nvidia.com> |
input: simplify key_matrix_decode_fdt()
We know the exact property names that the code wants to process. Look these up directly with fdt_get_property(), rather than iterating over all properties wit
input: simplify key_matrix_decode_fdt()
We know the exact property names that the code wants to process. Look these up directly with fdt_get_property(), rather than iterating over all properties within the node, and checking each property's name, in a convoluted fashion, against the expected name.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
show more ...
|