| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Input core configuration |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 15 | 16 | config KEYBOARD_ADC |
|---|
| 16 | 17 | tristate "ADC Ladder Buttons" |
|---|
| 17 | 18 | depends on IIO |
|---|
| 18 | | - select INPUT_POLLDEV |
|---|
| 19 | 19 | help |
|---|
| 20 | 20 | This driver implements support for buttons connected |
|---|
| 21 | 21 | to an ADC using a resistor ladder. |
|---|
| .. | .. |
|---|
| 67 | 67 | To compile this driver as a module, choose M here: the |
|---|
| 68 | 68 | module will be called amikbd. |
|---|
| 69 | 69 | |
|---|
| 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. |
|---|
| 72 | 87 | |
|---|
| 73 | 88 | config KEYBOARD_ATARI |
|---|
| 74 | 89 | tristate "Atari keyboard" |
|---|
| .. | .. |
|---|
| 137 | 152 | right-hand column will be interpreted as the key shown in the |
|---|
| 138 | 153 | left-hand column. |
|---|
| 139 | 154 | |
|---|
| 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. |
|---|
| 146 | 162 | |
|---|
| 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 |
|---|
| 149 | 175 | |
|---|
| 150 | 176 | config KEYBOARD_QT2160 |
|---|
| 151 | 177 | tristate "Atmel AT42QT2160 Touch Sensor Chip" |
|---|
| .. | .. |
|---|
| 161 | 187 | tristate "CLPS711X Keypad support" |
|---|
| 162 | 188 | depends on OF_GPIO && (ARCH_CLPS711X || COMPILE_TEST) |
|---|
| 163 | 189 | select INPUT_MATRIXKMAP |
|---|
| 164 | | - select INPUT_POLLDEV |
|---|
| 165 | 190 | help |
|---|
| 166 | 191 | Say Y here to enable the matrix keypad on the Cirrus Logic |
|---|
| 167 | 192 | CLPS711X CPUs. |
|---|
| .. | .. |
|---|
| 194 | 219 | |
|---|
| 195 | 220 | config KEYBOARD_EP93XX |
|---|
| 196 | 221 | tristate "EP93xx Matrix Keypad support" |
|---|
| 197 | | - depends on ARCH_EP93XX |
|---|
| 222 | + depends on ARCH_EP93XX || COMPILE_TEST |
|---|
| 198 | 223 | select INPUT_MATRIXKMAP |
|---|
| 199 | 224 | help |
|---|
| 200 | 225 | Say Y here to enable the matrix keypad on the Cirrus EP93XX. |
|---|
| .. | .. |
|---|
| 220 | 245 | config KEYBOARD_GPIO_POLLED |
|---|
| 221 | 246 | tristate "Polled GPIO buttons" |
|---|
| 222 | 247 | depends on GPIOLIB |
|---|
| 223 | | - select INPUT_POLLDEV |
|---|
| 224 | 248 | help |
|---|
| 225 | 249 | This driver implements support for buttons connected |
|---|
| 226 | 250 | to GPIO pins that are not capable of generating interrupts. |
|---|
| .. | .. |
|---|
| 312 | 336 | config KEYBOARD_HP6XX |
|---|
| 313 | 337 | tristate "HP Jornada 6xx keyboard" |
|---|
| 314 | 338 | depends on SH_HP6XX |
|---|
| 315 | | - select INPUT_POLLDEV |
|---|
| 316 | 339 | help |
|---|
| 317 | 340 | Say Y here if you have a HP Jornada 620/660/680/690 and want to |
|---|
| 318 | 341 | support the built-in keyboard. |
|---|
| .. | .. |
|---|
| 420 | 443 | |
|---|
| 421 | 444 | config KEYBOARD_SNVS_PWRKEY |
|---|
| 422 | 445 | tristate "IMX SNVS Power Key Driver" |
|---|
| 423 | | - depends on SOC_IMX6SX |
|---|
| 446 | + depends on ARCH_MXC || COMPILE_TEST |
|---|
| 424 | 447 | depends on OF |
|---|
| 425 | 448 | help |
|---|
| 426 | 449 | This is the snvs powerkey driver for the Freescale i.MX application |
|---|
| 427 | | - processors that are newer than i.MX6 SX. |
|---|
| 450 | + processors. |
|---|
| 428 | 451 | |
|---|
| 429 | 452 | To compile this driver as a module, choose M here; the |
|---|
| 430 | 453 | module will be called snvs_pwrkey. |
|---|
| .. | .. |
|---|
| 438 | 461 | |
|---|
| 439 | 462 | To compile this driver as a module, choose M here: the |
|---|
| 440 | 463 | 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. |
|---|
| 441 | 474 | |
|---|
| 442 | 475 | config KEYBOARD_NEWTON |
|---|
| 443 | 476 | tristate "Newton keyboard" |
|---|
| .. | .. |
|---|
| 523 | 556 | |
|---|
| 524 | 557 | config KEYBOARD_SAMSUNG |
|---|
| 525 | 558 | tristate "Samsung keypad support" |
|---|
| 526 | | - depends on HAVE_CLK |
|---|
| 559 | + depends on HAS_IOMEM && HAVE_CLK |
|---|
| 527 | 560 | select INPUT_MATRIXKMAP |
|---|
| 528 | 561 | help |
|---|
| 529 | 562 | Say Y here if you want to use the keypad on your Samsung mobile |
|---|
| .. | .. |
|---|
| 627 | 660 | To compile this driver as a module, choose M here: the |
|---|
| 628 | 661 | module will be called ipaq-micro-keys. |
|---|
| 629 | 662 | |
|---|
| 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 | + |
|---|
| 630 | 673 | config KEYBOARD_OMAP |
|---|
| 631 | 674 | tristate "TI OMAP keypad support" |
|---|
| 632 | 675 | depends on ARCH_OMAP1 |
|---|
| .. | .. |
|---|
| 655 | 698 | Say Y here if you want to use the SPEAR keyboard. |
|---|
| 656 | 699 | |
|---|
| 657 | 700 | 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. |
|---|
| 659 | 702 | |
|---|
| 660 | 703 | config KEYBOARD_TC3589X |
|---|
| 661 | 704 | tristate "TC3589X Keypad support" |
|---|
| .. | .. |
|---|
| 703 | 746 | To compile this driver as a module, choose M here: the |
|---|
| 704 | 747 | module will be called xtkbd. |
|---|
| 705 | 748 | |
|---|
| 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 | | - |
|---|
| 717 | 749 | config KEYBOARD_CROS_EC |
|---|
| 718 | 750 | tristate "ChromeOS EC keyboard" |
|---|
| 719 | 751 | select INPUT_MATRIXKMAP |
|---|
| 720 | | - depends on MFD_CROS_EC |
|---|
| 752 | + depends on CROS_EC |
|---|
| 721 | 753 | help |
|---|
| 722 | 754 | Say Y here to enable the matrix keyboard used by ChromeOS devices |
|---|
| 723 | 755 | and implemented on the ChromeOS EC. You must enable one bus option |
|---|