Simon Glass | f56afda | 2018-10-01 12:22:10 -0600 | [diff] [blame] | 1 | config INPUT |
| 2 | bool "Enable input subsystem" |
| 3 | depends on DM |
| 4 | default y |
| 5 | |
| 6 | config SPL_INPUT |
| 7 | bool "Enable input subsystem for SPL" |
| 8 | depends on SPL_DM |
| 9 | |
| 10 | config TPL_INPUT |
| 11 | bool "Enable input subsystem for TPL" |
| 12 | depends on TPL_DM |
| 13 | |
Simon Glass | ed32c0c | 2015-10-18 21:17:10 -0600 | [diff] [blame] | 14 | config DM_KEYBOARD |
| 15 | bool "Enable driver model keyboard support" |
| 16 | depends on DM |
| 17 | help |
| 18 | This adds a uclass for keyboards and implements keyboard support |
| 19 | using driver model. The API is implemented by keyboard.h and |
| 20 | includes methods to start/stop the device, check for available |
| 21 | input and update LEDs if the keyboard has them. |
| 22 | |
Simon Glass | f56afda | 2018-10-01 12:22:10 -0600 | [diff] [blame] | 23 | config SPL_DM_KEYBOARD |
Marcin Juszkiewicz | ad6bbbf | 2020-05-26 19:07:14 +0200 | [diff] [blame] | 24 | bool "Enable driver model keyboard support for SPL" |
Simon Glass | f56afda | 2018-10-01 12:22:10 -0600 | [diff] [blame] | 25 | depends on SPL_DM |
| 26 | help |
| 27 | This adds a uclass for keyboards and implements keyboard support |
| 28 | using driver model. The API is implemented by keyboard.h and |
| 29 | includes methods to start/stop the device, check for available |
| 30 | input and update LEDs if the keyboard has them. |
| 31 | |
| 32 | config TPL_DM_KEYBOARD |
Marcin Juszkiewicz | ad6bbbf | 2020-05-26 19:07:14 +0200 | [diff] [blame] | 33 | bool "Enable driver model keyboard support for TPL" |
Simon Glass | f56afda | 2018-10-01 12:22:10 -0600 | [diff] [blame] | 34 | depends on TPL_DM |
| 35 | help |
| 36 | This adds a uclass for keyboards and implements keyboard support |
| 37 | using driver model. The API is implemented by keyboard.h and |
| 38 | includes methods to start/stop the device, check for available |
| 39 | input and update LEDs if the keyboard has them. |
| 40 | |
Mark Kettenis | 5348dba | 2022-01-23 16:48:13 +0100 | [diff] [blame] | 41 | config APPLE_SPI_KEYB |
| 42 | bool "Enable Apple SPI keyboard support" |
| 43 | depends on DM_KEYBOARD && DM_SPI |
| 44 | help |
| 45 | This adds a driver for the keyboards found on various |
| 46 | laptops based on Apple SoCs. These keyboards use an |
| 47 | Apple-specific HID-over-SPI protocol. |
| 48 | |
Simon Glass | 5b79bb2 | 2015-02-13 12:20:47 -0700 | [diff] [blame] | 49 | config CROS_EC_KEYB |
| 50 | bool "Enable Chrome OS EC keyboard support" |
Simon Glass | f56afda | 2018-10-01 12:22:10 -0600 | [diff] [blame] | 51 | depends on INPUT |
| 52 | help |
| 53 | Most ARM Chromebooks use an EC to provide access to the keyboard. |
| 54 | Messages are used to request key scans from the EC and these are |
| 55 | then decoded into keys by this driver. |
| 56 | |
| 57 | config SPL_CROS_EC_KEYB |
| 58 | bool "Enable Chrome OS EC keyboard support in SPL" |
| 59 | depends on SPL_INPUT |
| 60 | help |
| 61 | Most ARM Chromebooks use an EC to provide access to the keyboard. |
| 62 | Messages are used to request key scans from the EC and these are |
| 63 | then decoded into keys by this driver. |
| 64 | |
| 65 | config TPL_CROS_EC_KEYB |
| 66 | bool "Enable Chrome OS EC keyboard support in TPL" |
| 67 | depends on TPL_INPUT |
Simon Glass | 5b79bb2 | 2015-02-13 12:20:47 -0700 | [diff] [blame] | 68 | help |
| 69 | Most ARM Chromebooks use an EC to provide access to the keyboard. |
| 70 | Messages are used to request key scans from the EC and these are |
| 71 | then decoded into keys by this driver. |
Simon Glass | a1f9ee4 | 2015-11-11 10:05:42 -0700 | [diff] [blame] | 72 | |
| 73 | config I8042_KEYB |
| 74 | bool "Enable Intel i8042 keyboard support" |
| 75 | depends on DM_KEYBOARD |
Masahiro Yamada | 31ec4a2 | 2016-09-08 18:47:36 +0900 | [diff] [blame] | 76 | default X86 |
Simon Glass | a1f9ee4 | 2015-11-11 10:05:42 -0700 | [diff] [blame] | 77 | help |
| 78 | This adds a driver for the i8042 keyboard controller, allowing the |
| 79 | keyboard to be used on devices which support this controller. The |
| 80 | driver handles English and German keyboards - set the environment |
| 81 | variable 'keymap' to "de" to select German. Keyboard repeat is |
| 82 | handled by the keyboard itself. |
Adam Ford | c8cdce7 | 2018-08-06 14:26:50 -0500 | [diff] [blame] | 83 | |
Peter Robinson | 6249fdf | 2019-02-20 12:17:28 +0000 | [diff] [blame] | 84 | config TEGRA_KEYBOARD |
| 85 | bool "NVIDIA Tegra internal matrix keyboard controller support" |
| 86 | help |
| 87 | A matrix keyboard connected directly to the internal keyboard |
| 88 | controller on Tegra SoCs. |
| 89 | |
Adam Ford | c8cdce7 | 2018-08-06 14:26:50 -0500 | [diff] [blame] | 90 | config TWL4030_INPUT |
| 91 | bool "Enable TWL4030 Input controller" |
| 92 | help |
| 93 | Enable TWL4030 Input controller |