blob: 0b753f37bf49adfd8425a750b6ce861cd8c581e7 [file] [log] [blame]
Simon Glassf56afda2018-10-01 12:22:10 -06001config INPUT
2 bool "Enable input subsystem"
3 depends on DM
4 default y
5
6config SPL_INPUT
7 bool "Enable input subsystem for SPL"
8 depends on SPL_DM
9
10config TPL_INPUT
11 bool "Enable input subsystem for TPL"
12 depends on TPL_DM
13
Simon Glassed32c0c2015-10-18 21:17:10 -060014config 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 Glassf56afda2018-10-01 12:22:10 -060023config SPL_DM_KEYBOARD
Marcin Juszkiewiczad6bbbf2020-05-26 19:07:14 +020024 bool "Enable driver model keyboard support for SPL"
Simon Glassf56afda2018-10-01 12:22:10 -060025 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
32config TPL_DM_KEYBOARD
Marcin Juszkiewiczad6bbbf2020-05-26 19:07:14 +020033 bool "Enable driver model keyboard support for TPL"
Simon Glassf56afda2018-10-01 12:22:10 -060034 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
Simon Glass278efc682021-11-24 09:26:44 -070041config KEYBOARD
42 bool "Enable legacy keyboard support (deprecated)"
43 help
44 Enable this to enable a custom keyboard support.
45 This simply calls drv_keyboard_init() which must be
46 defined in your board-specific files. This option is deprecated
47 and is only used by novena. For new boards, use driver model
48 instead.
49
Simon Glass5b79bb22015-02-13 12:20:47 -070050config CROS_EC_KEYB
51 bool "Enable Chrome OS EC keyboard support"
Simon Glassf56afda2018-10-01 12:22:10 -060052 depends on INPUT
53 help
54 Most ARM Chromebooks use an EC to provide access to the keyboard.
55 Messages are used to request key scans from the EC and these are
56 then decoded into keys by this driver.
57
58config SPL_CROS_EC_KEYB
59 bool "Enable Chrome OS EC keyboard support in SPL"
60 depends on SPL_INPUT
61 help
62 Most ARM Chromebooks use an EC to provide access to the keyboard.
63 Messages are used to request key scans from the EC and these are
64 then decoded into keys by this driver.
65
66config TPL_CROS_EC_KEYB
67 bool "Enable Chrome OS EC keyboard support in TPL"
68 depends on TPL_INPUT
Simon Glass5b79bb22015-02-13 12:20:47 -070069 help
70 Most ARM Chromebooks use an EC to provide access to the keyboard.
71 Messages are used to request key scans from the EC and these are
72 then decoded into keys by this driver.
Simon Glassa1f9ee42015-11-11 10:05:42 -070073
74config I8042_KEYB
75 bool "Enable Intel i8042 keyboard support"
76 depends on DM_KEYBOARD
Masahiro Yamada31ec4a22016-09-08 18:47:36 +090077 default X86
Simon Glassa1f9ee42015-11-11 10:05:42 -070078 help
79 This adds a driver for the i8042 keyboard controller, allowing the
80 keyboard to be used on devices which support this controller. The
81 driver handles English and German keyboards - set the environment
82 variable 'keymap' to "de" to select German. Keyboard repeat is
83 handled by the keyboard itself.
Adam Fordc8cdce72018-08-06 14:26:50 -050084
Peter Robinson6249fdf2019-02-20 12:17:28 +000085config TEGRA_KEYBOARD
86 bool "NVIDIA Tegra internal matrix keyboard controller support"
87 help
88 A matrix keyboard connected directly to the internal keyboard
89 controller on Tegra SoCs.
90
Adam Fordc8cdce72018-08-06 14:26:50 -050091config TWL4030_INPUT
92 bool "Enable TWL4030 Input controller"
93 help
94 Enable TWL4030 Input controller