xref: /openbmc/u-boot/drivers/input/Kconfig (revision 888f9aa5cac4227e540a5c91a744ac7bed386e70)
1985ca394SSimon Glassconfig INPUT
2985ca394SSimon Glass	bool "Enable input subsystem"
3985ca394SSimon Glass	depends on DM
4985ca394SSimon Glass	default y
5985ca394SSimon Glass
6985ca394SSimon Glassconfig SPL_INPUT
7985ca394SSimon Glass	bool "Enable input subsystem for SPL"
8985ca394SSimon Glass	depends on SPL_DM
9985ca394SSimon Glass
10985ca394SSimon Glassconfig TPL_INPUT
11985ca394SSimon Glass	bool "Enable input subsystem for TPL"
12985ca394SSimon Glass	depends on TPL_DM
13985ca394SSimon Glass
14e84421d8SSimon Glassconfig DM_KEYBOARD
15e84421d8SSimon Glass	bool "Enable driver model keyboard support"
16e84421d8SSimon Glass	depends on DM
17e84421d8SSimon Glass	help
18e84421d8SSimon Glass	  This adds a uclass for keyboards and implements keyboard support
19e84421d8SSimon Glass	  using driver model. The API is implemented by keyboard.h and
20e84421d8SSimon Glass	  includes methods to start/stop the device, check for available
21e84421d8SSimon Glass	  input and update LEDs if the keyboard has them.
22e84421d8SSimon Glass
23985ca394SSimon Glassconfig SPL_DM_KEYBOARD
24985ca394SSimon Glass	bool "Enable driver model keyboard support"
25985ca394SSimon Glass	depends on SPL_DM
26985ca394SSimon Glass	help
27985ca394SSimon Glass	  This adds a uclass for keyboards and implements keyboard support
28985ca394SSimon Glass	  using driver model. The API is implemented by keyboard.h and
29985ca394SSimon Glass	  includes methods to start/stop the device, check for available
30985ca394SSimon Glass	  input and update LEDs if the keyboard has them.
31985ca394SSimon Glass
32985ca394SSimon Glassconfig TPL_DM_KEYBOARD
33985ca394SSimon Glass	bool "Enable driver model keyboard support"
34985ca394SSimon Glass	depends on TPL_DM
35985ca394SSimon Glass	help
36985ca394SSimon Glass	  This adds a uclass for keyboards and implements keyboard support
37985ca394SSimon Glass	  using driver model. The API is implemented by keyboard.h and
38985ca394SSimon Glass	  includes methods to start/stop the device, check for available
39985ca394SSimon Glass	  input and update LEDs if the keyboard has them.
40985ca394SSimon Glass
416fb9ac15SSimon Glassconfig CROS_EC_KEYB
426fb9ac15SSimon Glass	bool "Enable Chrome OS EC keyboard support"
43985ca394SSimon Glass	depends on INPUT
44985ca394SSimon Glass	help
45985ca394SSimon Glass	  Most ARM Chromebooks use an EC to provide access to the keyboard.
46985ca394SSimon Glass	  Messages are used to request key scans from the EC and these are
47985ca394SSimon Glass	  then decoded into keys by this driver.
48985ca394SSimon Glass
49985ca394SSimon Glassconfig SPL_CROS_EC_KEYB
50985ca394SSimon Glass	bool "Enable Chrome OS EC keyboard support in SPL"
51985ca394SSimon Glass	depends on SPL_INPUT
52985ca394SSimon Glass	help
53985ca394SSimon Glass	  Most ARM Chromebooks use an EC to provide access to the keyboard.
54985ca394SSimon Glass	  Messages are used to request key scans from the EC and these are
55985ca394SSimon Glass	  then decoded into keys by this driver.
56985ca394SSimon Glass
57985ca394SSimon Glassconfig TPL_CROS_EC_KEYB
58985ca394SSimon Glass	bool "Enable Chrome OS EC keyboard support in TPL"
59985ca394SSimon Glass	depends on TPL_INPUT
606fb9ac15SSimon Glass	help
616fb9ac15SSimon Glass	  Most ARM Chromebooks use an EC to provide access to the keyboard.
626fb9ac15SSimon Glass	  Messages are used to request key scans from the EC and these are
636fb9ac15SSimon Glass	  then decoded into keys by this driver.
64b0abfeffSSimon Glass
65b0abfeffSSimon Glassconfig I8042_KEYB
66b0abfeffSSimon Glass	bool "Enable Intel i8042 keyboard support"
67b0abfeffSSimon Glass	depends on DM_KEYBOARD
68b98278beSMasahiro Yamada	default X86
69b0abfeffSSimon Glass	help
70b0abfeffSSimon Glass	  This adds a driver for the i8042 keyboard controller, allowing the
71b0abfeffSSimon Glass	  keyboard to be used on devices which support this controller. The
72b0abfeffSSimon Glass	  driver handles English and German keyboards - set the environment
73b0abfeffSSimon Glass	  variable 'keymap' to "de" to select German. Keyboard repeat is
74b0abfeffSSimon Glass	  handled by the keyboard itself.
75cc3fedb2SAdam Ford
76*06b070e3SPeter Robinsonconfig TEGRA_KEYBOARD
77*06b070e3SPeter Robinson	bool "NVIDIA Tegra internal matrix keyboard controller support"
78*06b070e3SPeter Robinson	help
79*06b070e3SPeter Robinson	  A matrix keyboard connected directly to the internal keyboard
80*06b070e3SPeter Robinson	  controller on Tegra SoCs.
81*06b070e3SPeter Robinson
82cc3fedb2SAdam Fordconfig TWL4030_INPUT
83cc3fedb2SAdam Ford	bool "Enable TWL4030 Input controller"
84cc3fedb2SAdam Ford	help
85cc3fedb2SAdam Ford	  Enable TWL4030 Input controller
86