Simon Glass | e84421d | 2015-10-18 21:17:10 -0600 | [diff] [blame] | 1 | config DM_KEYBOARD |
| 2 | bool "Enable driver model keyboard support" |
| 3 | depends on DM |
| 4 | help |
| 5 | This adds a uclass for keyboards and implements keyboard support |
| 6 | using driver model. The API is implemented by keyboard.h and |
| 7 | includes methods to start/stop the device, check for available |
| 8 | input and update LEDs if the keyboard has them. |
| 9 | |
Simon Glass | 6fb9ac1 | 2015-02-13 12:20:47 -0700 | [diff] [blame] | 10 | config CROS_EC_KEYB |
| 11 | bool "Enable Chrome OS EC keyboard support" |
| 12 | help |
| 13 | Most ARM Chromebooks use an EC to provide access to the keyboard. |
| 14 | Messages are used to request key scans from the EC and these are |
| 15 | then decoded into keys by this driver. |
Simon Glass | b0abfef | 2015-11-11 10:05:42 -0700 | [diff] [blame] | 16 | |
| 17 | config I8042_KEYB |
| 18 | bool "Enable Intel i8042 keyboard support" |
| 19 | depends on DM_KEYBOARD |
Masahiro Yamada | b98278b | 2016-09-08 18:47:36 +0900 | [diff] [blame] | 20 | default X86 |
Simon Glass | b0abfef | 2015-11-11 10:05:42 -0700 | [diff] [blame] | 21 | help |
| 22 | This adds a driver for the i8042 keyboard controller, allowing the |
| 23 | keyboard to be used on devices which support this controller. The |
| 24 | driver handles English and German keyboards - set the environment |
| 25 | variable 'keymap' to "de" to select German. Keyboard repeat is |
| 26 | handled by the keyboard itself. |