xref: /rk3399_rockchip-uboot/drivers/input/Kconfig (revision 87e4c6020eff05133e40ab8b7b0e37e6a2be37e4)
1config 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
10config DM_KEY
11	bool "Enable driver model key support"
12	depends on DM
13	help
14	  This adds a simple uclass for key.
15
16config DM_RC
17	bool "Enable driver model Remote Controller support"
18	depends on DM
19	help
20	  This adds a uclass for Remote Controllers. This is needed
21	  in order to support standalone IR receivers.
22
23config RK_IR
24	bool "Enable rk ir support"
25	depends on DM_RC
26	select BITREVERSE
27	help
28	  This adds a driver for the rockchip IR controller.
29
30config CROS_EC_KEYB
31	bool "Enable Chrome OS EC keyboard support"
32	help
33	  Most ARM Chromebooks use an EC to provide access to the keyboard.
34	  Messages are used to request key scans from the EC and these are
35	  then decoded into keys by this driver.
36
37config I8042_KEYB
38	bool "Enable Intel i8042 keyboard support"
39	depends on DM_KEYBOARD
40	default X86
41	help
42	  This adds a driver for the i8042 keyboard controller, allowing the
43	  keyboard to be used on devices which support this controller. The
44	  driver handles English and German keyboards - set the environment
45	  variable 'keymap' to "de" to select German. Keyboard repeat is
46	  handled by the keyboard itself.
47
48config RK8XX_PWRKEY
49	bool "Enable RK805/816/817 pwrkey support"
50	depends on DM_KEY && PMIC_RK8XX && IRQ
51	help
52	  This adds a driver for the RK805/816/817 pwrkey support.
53
54config ADC_KEY
55	bool "Enable adc keys support"
56	depends on DM_KEY
57	help
58	  This adds a driver for the adc keys support.
59
60config GPIO_KEY
61	bool "Enable gpio keys support"
62	depends on DM_KEY
63	help
64	  This adds a driver for the gpio keys support.
65
66config RK_KEY
67	bool "Enable rk keys support"
68	depends on DM_KEY
69	help
70	  This adds a driver for the rk keys support.
71
72config PWRKEY_DNL_TRIGGER_NUM
73	int "Enter download mode by pwrkey trigger count"
74	default 0
75	depends on DM_KEY && IRQ
76	help
77	  This support enter download mode by press and release pwrkey for times
78	  over the trigger count. The default value 0 means disabled.
79