hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/keyboard/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Input core configuration
34 #
....@@ -15,7 +16,6 @@
1516 config KEYBOARD_ADC
1617 tristate "ADC Ladder Buttons"
1718 depends on IIO
18
- select INPUT_POLLDEV
1919 help
2020 This driver implements support for buttons connected
2121 to an ADC using a resistor ladder.
....@@ -67,8 +67,23 @@
6767 To compile this driver as a module, choose M here: the
6868 module will be called amikbd.
6969
70
-config ATARI_KBD_CORE
71
- bool
70
+config KEYBOARD_APPLESPI
71
+ tristate "Apple SPI keyboard and trackpad"
72
+ depends on ACPI && EFI
73
+ depends on SPI
74
+ depends on X86 || COMPILE_TEST
75
+ depends on LEDS_CLASS
76
+ select CRC16
77
+ help
78
+ Say Y here if you are running Linux on any Apple MacBook8,1 or later,
79
+ or any MacBookPro13,* or MacBookPro14,*.
80
+
81
+ You will also need to enable appropriate SPI master controllers:
82
+ spi_pxa2xx_platform and spi_pxa2xx_pci for MacBook8,1, and
83
+ spi_pxa2xx_platform and intel_lpss_pci for the rest.
84
+
85
+ To compile this driver as a module, choose M here: the
86
+ module will be called applespi.
7287
7388 config KEYBOARD_ATARI
7489 tristate "Atari keyboard"
....@@ -137,15 +152,26 @@
137152 right-hand column will be interpreted as the key shown in the
138153 left-hand column.
139154
140
-config KEYBOARD_QT1070
141
- tristate "Atmel AT42QT1070 Touch Sensor Chip"
142
- depends on I2C
143
- help
144
- Say Y here if you want to use Atmel AT42QT1070 QTouch
145
- Sensor chip as input device.
155
+config KEYBOARD_QT1050
156
+ tristate "Microchip AT42QT1050 Touch Sensor Chip"
157
+ depends on I2C
158
+ select REGMAP_I2C
159
+ help
160
+ Say Y here if you want to use Microchip AT42QT1050 QTouch
161
+ Sensor chip as input device.
146162
147
- To compile this driver as a module, choose M here:
148
- the module will be called qt1070
163
+ To compile this driver as a module, choose M here:
164
+ the module will be called qt1050
165
+
166
+config KEYBOARD_QT1070
167
+ tristate "Atmel AT42QT1070 Touch Sensor Chip"
168
+ depends on I2C
169
+ help
170
+ Say Y here if you want to use Atmel AT42QT1070 QTouch
171
+ Sensor chip as input device.
172
+
173
+ To compile this driver as a module, choose M here:
174
+ the module will be called qt1070
149175
150176 config KEYBOARD_QT2160
151177 tristate "Atmel AT42QT2160 Touch Sensor Chip"
....@@ -161,7 +187,6 @@
161187 tristate "CLPS711X Keypad support"
162188 depends on OF_GPIO && (ARCH_CLPS711X || COMPILE_TEST)
163189 select INPUT_MATRIXKMAP
164
- select INPUT_POLLDEV
165190 help
166191 Say Y here to enable the matrix keypad on the Cirrus Logic
167192 CLPS711X CPUs.
....@@ -194,7 +219,7 @@
194219
195220 config KEYBOARD_EP93XX
196221 tristate "EP93xx Matrix Keypad support"
197
- depends on ARCH_EP93XX
222
+ depends on ARCH_EP93XX || COMPILE_TEST
198223 select INPUT_MATRIXKMAP
199224 help
200225 Say Y here to enable the matrix keypad on the Cirrus EP93XX.
....@@ -220,7 +245,6 @@
220245 config KEYBOARD_GPIO_POLLED
221246 tristate "Polled GPIO buttons"
222247 depends on GPIOLIB
223
- select INPUT_POLLDEV
224248 help
225249 This driver implements support for buttons connected
226250 to GPIO pins that are not capable of generating interrupts.
....@@ -312,7 +336,6 @@
312336 config KEYBOARD_HP6XX
313337 tristate "HP Jornada 6xx keyboard"
314338 depends on SH_HP6XX
315
- select INPUT_POLLDEV
316339 help
317340 Say Y here if you have a HP Jornada 620/660/680/690 and want to
318341 support the built-in keyboard.
....@@ -420,11 +443,11 @@
420443
421444 config KEYBOARD_SNVS_PWRKEY
422445 tristate "IMX SNVS Power Key Driver"
423
- depends on SOC_IMX6SX
446
+ depends on ARCH_MXC || COMPILE_TEST
424447 depends on OF
425448 help
426449 This is the snvs powerkey driver for the Freescale i.MX application
427
- processors that are newer than i.MX6 SX.
450
+ processors.
428451
429452 To compile this driver as a module, choose M here; the
430453 module will be called snvs_pwrkey.
....@@ -438,6 +461,16 @@
438461
439462 To compile this driver as a module, choose M here: the
440463 module will be called imx_keypad.
464
+
465
+config KEYBOARD_IMX_SC_KEY
466
+ tristate "IMX SCU Key Driver"
467
+ depends on IMX_SCU
468
+ help
469
+ This is the system controller key driver for NXP i.MX SoCs with
470
+ system controller inside.
471
+
472
+ To compile this driver as a module, choose M here: the
473
+ module will be called imx_sc_key.
441474
442475 config KEYBOARD_NEWTON
443476 tristate "Newton keyboard"
....@@ -523,7 +556,7 @@
523556
524557 config KEYBOARD_SAMSUNG
525558 tristate "Samsung keypad support"
526
- depends on HAVE_CLK
559
+ depends on HAS_IOMEM && HAVE_CLK
527560 select INPUT_MATRIXKMAP
528561 help
529562 Say Y here if you want to use the keypad on your Samsung mobile
....@@ -627,6 +660,16 @@
627660 To compile this driver as a module, choose M here: the
628661 module will be called ipaq-micro-keys.
629662
663
+config KEYBOARD_IQS62X
664
+ tristate "Azoteq IQS620A/621/622/624/625 keys and switches"
665
+ depends on MFD_IQS62X
666
+ help
667
+ Say Y here to enable key and switch support for the Azoteq IQS620A,
668
+ IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
669
+
670
+ To compile this driver as a module, choose M here: the module will
671
+ be called iqs62x-keys.
672
+
630673 config KEYBOARD_OMAP
631674 tristate "TI OMAP keypad support"
632675 depends on ARCH_OMAP1
....@@ -655,7 +698,7 @@
655698 Say Y here if you want to use the SPEAR keyboard.
656699
657700 To compile this driver as a module, choose M here: the
658
- module will be called spear-keboard.
701
+ module will be called spear-keyboard.
659702
660703 config KEYBOARD_TC3589X
661704 tristate "TC3589X Keypad support"
....@@ -703,21 +746,10 @@
703746 To compile this driver as a module, choose M here: the
704747 module will be called xtkbd.
705748
706
-config KEYBOARD_W90P910
707
- tristate "W90P910 Matrix Keypad support"
708
- depends on ARCH_W90X900
709
- select INPUT_MATRIXKMAP
710
- help
711
- Say Y here to enable the matrix keypad on evaluation board
712
- based on W90P910.
713
-
714
- To compile this driver as a module, choose M here: the
715
- module will be called w90p910_keypad.
716
-
717749 config KEYBOARD_CROS_EC
718750 tristate "ChromeOS EC keyboard"
719751 select INPUT_MATRIXKMAP
720
- depends on MFD_CROS_EC
752
+ depends on CROS_EC
721753 help
722754 Say Y here to enable the matrix keyboard used by ChromeOS devices
723755 and implemented on the ChromeOS EC. You must enable one bus option