blob: c09f0ae795ed33b1db3bff1ee106242393f015d7 [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
Mark Kettenis5348dba2022-01-23 16:48:13 +010041config 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
Dzmitry Sankouskibdd50d12023-01-22 18:21:25 +030049config BUTTON_KEYBOARD
50 bool "Buttons as keyboard"
Dzmitry Sankouskibdd50d12023-01-22 18:21:25 +030051 depends on DM_KEYBOARD
Svyatoslav Ryhel0b9f89d2023-03-20 21:06:30 +020052 select BUTTON_GPIO
Dzmitry Sankouskibdd50d12023-01-22 18:21:25 +030053 help
54 Enable support for mapping buttons to keycode events. Use linux,code button driver
55 dt node to define button-event mapping.
56 For example, an arrows and enter may be implemented to navigate boot menu.
57
Svyatoslav Ryhel43cc7f52025-03-25 20:23:07 +020058config CPCAP_POWER_BUTTON
59 bool "Enable power button of CPCAP PMIC support"
60 depends on DM_KEYBOARD && DM_PMIC_CPCAP
61 help
62 Enable support for a dedicated power button of the CPCAP PMIC.
63
Simon Glass5b79bb22015-02-13 12:20:47 -070064config CROS_EC_KEYB
65 bool "Enable Chrome OS EC keyboard support"
Simon Glassf56afda2018-10-01 12:22:10 -060066 depends on INPUT
67 help
68 Most ARM Chromebooks use an EC to provide access to the keyboard.
69 Messages are used to request key scans from the EC and these are
70 then decoded into keys by this driver.
71
72config SPL_CROS_EC_KEYB
73 bool "Enable Chrome OS EC keyboard support in SPL"
74 depends on SPL_INPUT
75 help
76 Most ARM Chromebooks use an EC to provide access to the keyboard.
77 Messages are used to request key scans from the EC and these are
78 then decoded into keys by this driver.
79
80config TPL_CROS_EC_KEYB
81 bool "Enable Chrome OS EC keyboard support in TPL"
82 depends on TPL_INPUT
Simon Glass5b79bb22015-02-13 12:20:47 -070083 help
84 Most ARM Chromebooks use an EC to provide access to the keyboard.
85 Messages are used to request key scans from the EC and these are
86 then decoded into keys by this driver.
Simon Glassa1f9ee42015-11-11 10:05:42 -070087
88config I8042_KEYB
89 bool "Enable Intel i8042 keyboard support"
90 depends on DM_KEYBOARD
Masahiro Yamada31ec4a22016-09-08 18:47:36 +090091 default X86
Simon Glassa1f9ee42015-11-11 10:05:42 -070092 help
93 This adds a driver for the i8042 keyboard controller, allowing the
94 keyboard to be used on devices which support this controller. The
95 driver handles English and German keyboards - set the environment
96 variable 'keymap' to "de" to select German. Keyboard repeat is
97 handled by the keyboard itself.
Adam Fordc8cdce72018-08-06 14:26:50 -050098
Peter Robinson6249fdf2019-02-20 12:17:28 +000099config TEGRA_KEYBOARD
100 bool "NVIDIA Tegra internal matrix keyboard controller support"
101 help
102 A matrix keyboard connected directly to the internal keyboard
103 controller on Tegra SoCs.
104
Adam Fordc8cdce72018-08-06 14:26:50 -0500105config TWL4030_INPUT
106 bool "Enable TWL4030 Input controller"
107 help
108 Enable TWL4030 Input controller