1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Input core configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvaldsconfig SERIO 6bcd26230STom Gundersen tristate "Serial I/O support" 71da177e4SLinus Torvalds default y 8fed94549SDmitry Torokhov help 91da177e4SLinus Torvalds Say Yes here if you have any input device that uses serial I/O to 101da177e4SLinus Torvalds communicate with the system. This includes the 111da177e4SLinus Torvalds * standard AT keyboard and PS/2 mouse * 121da177e4SLinus Torvalds as well as serial mice, Sun keyboards, some joysticks and 6dof 131da177e4SLinus Torvalds devices and more. 141da177e4SLinus Torvalds 151da177e4SLinus Torvalds If unsure, say Y. 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 181da177e4SLinus Torvalds module will be called serio. 191da177e4SLinus Torvalds 205cd3f8f8SMark Salterconfig ARCH_MIGHT_HAVE_PC_SERIO 215cd3f8f8SMark Salter bool 225cd3f8f8SMark Salter help 235cd3f8f8SMark Salter Select this config option from the architecture Kconfig if 245cd3f8f8SMark Salter the architecture might use a PC serio device (i8042) to 255cd3f8f8SMark Salter communicate with keyboard, mouse, etc. 265cd3f8f8SMark Salter 271da177e4SLinus Torvaldsif SERIO 281da177e4SLinus Torvalds 291da177e4SLinus Torvaldsconfig SERIO_I8042 30bcd26230STom Gundersen tristate "i8042 PC Keyboard controller" 311da177e4SLinus Torvalds default y 325cd3f8f8SMark Salter depends on ARCH_MIGHT_HAVE_PC_SERIO 33fed94549SDmitry Torokhov help 341da177e4SLinus Torvalds i8042 is the chip over which the standard AT keyboard and PS/2 351da177e4SLinus Torvalds mouse are connected to the computer. If you use these devices, 361da177e4SLinus Torvalds you'll need to say Y here. 371da177e4SLinus Torvalds 381da177e4SLinus Torvalds If unsure, say Y. 391da177e4SLinus Torvalds 401da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 411da177e4SLinus Torvalds module will be called i8042. 421da177e4SLinus Torvalds 431da177e4SLinus Torvaldsconfig SERIO_SERPORT 441da177e4SLinus Torvalds tristate "Serial port line discipline" 451da177e4SLinus Torvalds default y 46238d9f6eSJoe Millenbach depends on TTY 47fed94549SDmitry Torokhov help 481da177e4SLinus Torvalds Say Y here if you plan to use an input device (mouse, joystick, 491da177e4SLinus Torvalds tablet, 6dof) that communicates over the RS232 serial (COM) port. 501da177e4SLinus Torvalds 51ec15872dSMauro Carvalho Chehab More information is available: <file:Documentation/input/input.rst> 521da177e4SLinus Torvalds 531da177e4SLinus Torvalds If unsure, say Y. 541da177e4SLinus Torvalds 551da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 561da177e4SLinus Torvalds module will be called serport. 571da177e4SLinus Torvalds 581da177e4SLinus Torvaldsconfig SERIO_Q40KBD 591da177e4SLinus Torvalds tristate "Q40 keyboard controller" 601da177e4SLinus Torvalds depends on Q40 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldsconfig SERIO_PARKBD 631da177e4SLinus Torvalds tristate "Parallel port keyboard adapter" 641da177e4SLinus Torvalds depends on PARPORT 65fed94549SDmitry Torokhov help 661da177e4SLinus Torvalds Say Y here if you built a simple parallel port adapter to attach 671da177e4SLinus Torvalds an additional AT keyboard, XT keyboard or PS/2 mouse. 681da177e4SLinus Torvalds 69ec15872dSMauro Carvalho Chehab More information is available: <file:Documentation/input/input.rst> 701da177e4SLinus Torvalds 711da177e4SLinus Torvalds If unsure, say N. 721da177e4SLinus Torvalds 731da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 741da177e4SLinus Torvalds module will be called parkbd. 751da177e4SLinus Torvalds 761da177e4SLinus Torvaldsconfig SERIO_RPCKBD 771da177e4SLinus Torvalds tristate "Acorn RiscPC keyboard controller" 78635f0258SRussell King depends on ARCH_ACORN 791da177e4SLinus Torvalds default y 801da177e4SLinus Torvalds help 811da177e4SLinus Torvalds Say Y here if you have the Acorn RiscPC and want to use an AT 821da177e4SLinus Torvalds keyboard connected to its keyboard controller. 831da177e4SLinus Torvalds 841da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 851da177e4SLinus Torvalds module will be called rpckbd. 861da177e4SLinus Torvalds 871da177e4SLinus Torvaldsconfig SERIO_AMBAKMI 881da177e4SLinus Torvalds tristate "AMBA KMI keyboard controller" 891da177e4SLinus Torvalds depends on ARM_AMBA 901da177e4SLinus Torvalds 911da177e4SLinus Torvaldsconfig SERIO_SA1111 921da177e4SLinus Torvalds tristate "Intel SA1111 keyboard controller" 931da177e4SLinus Torvalds depends on SA1111 941da177e4SLinus Torvalds 951da177e4SLinus Torvaldsconfig SERIO_GSCPS2 961da177e4SLinus Torvalds tristate "HP GSC PS/2 keyboard and PS/2 mouse controller" 971da177e4SLinus Torvalds depends on GSC 981da177e4SLinus Torvalds default y 991da177e4SLinus Torvalds help 1001da177e4SLinus Torvalds This driver provides support for the PS/2 ports on PA-RISC machines 1011da177e4SLinus Torvalds over which HP PS/2 keyboards and PS/2 mice may be connected. 1021da177e4SLinus Torvalds If you use these devices, you'll need to say Y here. 1031da177e4SLinus Torvalds 1041da177e4SLinus Torvalds It's safe to enable this driver, so if unsure, say Y. 1051da177e4SLinus Torvalds 1061da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1071da177e4SLinus Torvalds module will be called gscps2. 1081da177e4SLinus Torvalds 1091da177e4SLinus Torvaldsconfig HP_SDC 1101da177e4SLinus Torvalds tristate "HP System Device Controller i8042 Support" 111da96d0b5SGeert Uytterhoeven depends on (GSC || HP300) && SERIO 1121da177e4SLinus Torvalds default y 113fed94549SDmitry Torokhov help 11409509603SMatt LaPlante This option enables support for the "System Device 1151da177e4SLinus Torvalds Controller", an i8042 carrying microcode to manage a 11609509603SMatt LaPlante few miscellaneous devices on some Hewlett Packard systems. 1171da177e4SLinus Torvalds The SDC itself contains a 10ms resolution timer/clock capable 1181da177e4SLinus Torvalds of delivering interrupts on a periodic and one-shot basis. 1191da177e4SLinus Torvalds The SDC may also be connected to a battery-backed real-time 1201da177e4SLinus Torvalds clock, a basic audio waveform generator, and an HP-HIL Master 1211da177e4SLinus Torvalds Link Controller serving up to seven input devices. 1221da177e4SLinus Torvalds 1231da177e4SLinus Torvalds By itself this option is rather useless, but enabling it will 1241da177e4SLinus Torvalds enable selection of drivers for the abovementioned devices. 1251da177e4SLinus Torvalds It is, however, incompatible with the old, reliable HIL keyboard 1261da177e4SLinus Torvalds driver, and the new HIL driver is experimental, so if you plan 1271da177e4SLinus Torvalds to use a HIL keyboard as your primary keyboard, you may wish 1281da177e4SLinus Torvalds to keep using that driver until the new HIL drivers have had 1291da177e4SLinus Torvalds more testing. 1301da177e4SLinus Torvalds 1311da177e4SLinus Torvaldsconfig HIL_MLC 1321da177e4SLinus Torvalds tristate "HIL MLC Support (needed for HIL input devices)" 1331da177e4SLinus Torvalds depends on HP_SDC 1341da177e4SLinus Torvalds 1351da177e4SLinus Torvaldsconfig SERIO_PCIPS2 1361da177e4SLinus Torvalds tristate "PCI PS/2 keyboard and PS/2 mouse controller" 1371da177e4SLinus Torvalds depends on PCI 13850cd8714SNiklas Schnelle depends on HAS_IOPORT 1391da177e4SLinus Torvalds help 1401da177e4SLinus Torvalds Say Y here if you have a Mobility Docking station with PS/2 1411da177e4SLinus Torvalds keyboard and mice ports. 1421da177e4SLinus Torvalds 1431da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1441da177e4SLinus Torvalds module will be called pcips2. 1451da177e4SLinus Torvalds 1461da177e4SLinus Torvaldsconfig SERIO_MACEPS2 1471da177e4SLinus Torvalds tristate "SGI O2 MACE PS/2 controller" 1481da177e4SLinus Torvalds depends on SGI_IP32 1491da177e4SLinus Torvalds help 1501da177e4SLinus Torvalds Say Y here if you have SGI O2 workstation and want to use its 1511da177e4SLinus Torvalds PS/2 ports. 1521da177e4SLinus Torvalds 1531da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1541da177e4SLinus Torvalds module will be called maceps2. 1551da177e4SLinus Torvalds 156273db8f0SThomas Bogendoerferconfig SERIO_SGI_IOC3 157273db8f0SThomas Bogendoerfer tristate "SGI IOC3 PS/2 controller" 158273db8f0SThomas Bogendoerfer depends on SGI_MFD_IOC3 159273db8f0SThomas Bogendoerfer help 160273db8f0SThomas Bogendoerfer Say Y here if you have an SGI Onyx2, SGI Octane or IOC3 PCI card 161273db8f0SThomas Bogendoerfer and you want to attach and use a keyboard, mouse, or both. 162273db8f0SThomas Bogendoerfer 163273db8f0SThomas Bogendoerfer To compile this driver as a module, choose M here: the 164273db8f0SThomas Bogendoerfer module will be called ioc3kbd. 165273db8f0SThomas Bogendoerfer 1661da177e4SLinus Torvaldsconfig SERIO_LIBPS2 167bcd26230STom Gundersen tristate "PS/2 driver library" 168fed94549SDmitry Torokhov depends on SERIO_I8042 || SERIO_I8042=n 1691da177e4SLinus Torvalds help 1701da177e4SLinus Torvalds Say Y here if you are using a driver for device connected 1711da177e4SLinus Torvalds to a PS/2 port, such as PS/2 mouse or standard AT keyboard. 1721da177e4SLinus Torvalds 1731da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1741da177e4SLinus Torvalds module will be called libps2. 1751da177e4SLinus Torvalds 1761da177e4SLinus Torvaldsconfig SERIO_RAW 1771da177e4SLinus Torvalds tristate "Raw access to serio ports" 1781da177e4SLinus Torvalds help 1791da177e4SLinus Torvalds Say Y here if you want to have raw access to serio ports, such as 1801da177e4SLinus Torvalds AUX ports on i8042 keyboard controller. Each serio port that is 1811da177e4SLinus Torvalds bound to this driver will be accessible via a char device with 1821da177e4SLinus Torvalds major 10 and dynamically allocated minor. The driver will try 1831da177e4SLinus Torvalds allocating minor 1 (that historically corresponds to /dev/psaux) 1841da177e4SLinus Torvalds first. To bind this driver to a serio port use sysfs interface: 1851da177e4SLinus Torvalds 186bef5a66fSNeil Brown echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 1871da177e4SLinus Torvalds 1881da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1891da177e4SLinus Torvalds module will be called serio_raw. 1901da177e4SLinus Torvalds 1911191828fSJohn Linnconfig SERIO_XILINX_XPS_PS2 1921191828fSJohn Linn tristate "Xilinx XPS PS/2 Controller Support" 1936fa612b5SMichal Simek depends on PPC || MICROBLAZE 1941191828fSJohn Linn help 1951191828fSJohn Linn This driver supports XPS PS/2 IP from the Xilinx EDK on 1961191828fSJohn Linn PowerPC platform. 1971191828fSJohn Linn 1981191828fSJohn Linn To compile this driver as a module, choose M here: the 1991191828fSJohn Linn module will be called xilinx_ps2. 2001191828fSJohn Linn 201fb5bbee0SThomas Chouconfig SERIO_ALTERA_PS2 202fb5bbee0SThomas Chou tristate "Altera UP PS/2 controller" 203150e5928SBen Hutchings depends on HAS_IOMEM 204fb5bbee0SThomas Chou help 205fb5bbee0SThomas Chou Say Y here if you have Altera University Program PS/2 ports. 206fb5bbee0SThomas Chou 207fb5bbee0SThomas Chou To compile this driver as a module, choose M here: the 208fb5bbee0SThomas Chou module will be called altera_ps2. 209fb5bbee0SThomas Chou 21029453932SJanusz Krzysztofikconfig SERIO_AMS_DELTA 21129453932SJanusz Krzysztofik tristate "Amstrad Delta (E3) mailboard support" 21229453932SJanusz Krzysztofik depends on MACH_AMS_DELTA 21329453932SJanusz Krzysztofik default y 214a7f7f624SMasahiro Yamada help 21529453932SJanusz Krzysztofik Say Y here if you have an E3 and want to use its mailboard, 21629453932SJanusz Krzysztofik or any standard AT keyboard connected to the mailboard port. 21729453932SJanusz Krzysztofik 21829453932SJanusz Krzysztofik When used for the E3 mailboard, a non-standard key table 21929453932SJanusz Krzysztofik must be loaded from userspace, possibly using udev extras 22029453932SJanusz Krzysztofik provided keymap helper utility. 22129453932SJanusz Krzysztofik 22229453932SJanusz Krzysztofik To compile this driver as a module, choose M here; 22329453932SJanusz Krzysztofik the module will be called ams_delta_serio. 22429453932SJanusz Krzysztofik 225fc58d12bSDmitry Eremin-Solenikovconfig SERIO_PS2MULT 226fc58d12bSDmitry Eremin-Solenikov tristate "TQC PS/2 multiplexer" 227fc58d12bSDmitry Eremin-Solenikov help 228fc58d12bSDmitry Eremin-Solenikov Say Y here if you have the PS/2 line multiplexer like the one 229de7fd0fcSMichael Witten present on TQC boards. 230fc58d12bSDmitry Eremin-Solenikov 231fc58d12bSDmitry Eremin-Solenikov To compile this driver as a module, choose M here: the 232fc58d12bSDmitry Eremin-Solenikov module will be called ps2mult. 233fc58d12bSDmitry Eremin-Solenikov 234e4b29009SMischa Jonkerconfig SERIO_ARC_PS2 235e4b29009SMischa Jonker tristate "ARC PS/2 support" 236580a64bfSSebastian Ott depends on HAS_IOMEM 237e4b29009SMischa Jonker help 238e4b29009SMischa Jonker Say Y here if you have an ARC FPGA platform with a PS/2 239e4b29009SMischa Jonker controller in it. 240e4b29009SMischa Jonker 241e4b29009SMischa Jonker To compile this driver as a module, choose M here; the module 242e4b29009SMischa Jonker will be called arc_ps2. 243e4b29009SMischa Jonker 244b4a034daSDaniel Hellstromconfig SERIO_APBPS2 245b4a034daSDaniel Hellstrom tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller" 246b2e3543bSDmitry Torokhov depends on OF && HAS_IOMEM 247b4a034daSDaniel Hellstrom help 248b4a034daSDaniel Hellstrom Say Y here if you want support for GRLIB APBPS2 peripherals used 249b4a034daSDaniel Hellstrom to connect to PS/2 keyboard and/or mouse. 250b4a034daSDaniel Hellstrom 251b4a034daSDaniel Hellstrom To compile this driver as a module, choose M here: the module will 252b4a034daSDaniel Hellstrom be called apbps2. 253b4a034daSDaniel Hellstrom 254b56ece9aSDaniel Drakeconfig SERIO_OLPC_APSP 255b56ece9aSDaniel Drake tristate "OLPC AP-SP input support" 256841cb0f3SJean Delvare depends on ARCH_MMP || COMPILE_TEST 257b56ece9aSDaniel Drake help 258b56ece9aSDaniel Drake Say Y here if you want support for the keyboard and touchpad included 259b56ece9aSDaniel Drake in the OLPC XO-1.75 and XO-4 laptops. 260b56ece9aSDaniel Drake 261b56ece9aSDaniel Drake To compile this driver as a module, choose M here: the module will 262b56ece9aSDaniel Drake be called olpc_apsp. 263b56ece9aSDaniel Drake 264aed06b9cSK. Y. Srinivasanconfig HYPERV_KEYBOARD 265aed06b9cSK. Y. Srinivasan tristate "Microsoft Synthetic Keyboard driver" 266*94b04355SMukesh Rathor depends on HYPERV_VMBUS 267*94b04355SMukesh Rathor default HYPERV_VMBUS 268aed06b9cSK. Y. Srinivasan help 269aed06b9cSK. Y. Srinivasan Select this option to enable the Hyper-V Keyboard driver. 270aed06b9cSK. Y. Srinivasan 271aed06b9cSK. Y. Srinivasan To compile this driver as a module, choose M here: the module will 272aed06b9cSK. Y. Srinivasan be called hyperv_keyboard. 273aed06b9cSK. Y. Srinivasan 274e443631dSVishnu Patekarconfig SERIO_SUN4I_PS2 275e443631dSVishnu Patekar tristate "Allwinner A10 PS/2 controller support" 276e443631dSVishnu Patekar depends on ARCH_SUNXI || COMPILE_TEST 277e443631dSVishnu Patekar help 278e443631dSVishnu Patekar This selects support for the PS/2 Host Controller on 279e443631dSVishnu Patekar Allwinner A10. 280e443631dSVishnu Patekar 281e443631dSVishnu Patekar To compile this driver as a module, choose M here: the 282e443631dSVishnu Patekar module will be called sun4i-ps2. 283e443631dSVishnu Patekar 2849ee0a055SDanilo Krummrichconfig SERIO_GPIO_PS2 2859ee0a055SDanilo Krummrich tristate "GPIO PS/2 bit banging driver" 2869ee0a055SDanilo Krummrich depends on GPIOLIB 2879ee0a055SDanilo Krummrich help 2889ee0a055SDanilo Krummrich Say Y here if you want PS/2 bit banging support via GPIO. 2899ee0a055SDanilo Krummrich 2909ee0a055SDanilo Krummrich To compile this driver as a module, choose M here: the 2919ee0a055SDanilo Krummrich module will be called ps2-gpio. 2929ee0a055SDanilo Krummrich 2939ee0a055SDanilo Krummrich If you are unsure, say N. 2949ee0a055SDanilo Krummrich 2955523662eSStephen Chandler Paulconfig USERIO 2965523662eSStephen Chandler Paul tristate "User space serio port driver support" 2975523662eSStephen Chandler Paul help 2985523662eSStephen Chandler Paul Say Y here if you want to support user level drivers for serio 2995523662eSStephen Chandler Paul subsystem accessible under char device 10:240 - /dev/userio. Using 3005523662eSStephen Chandler Paul this facility userspace programs can implement serio ports that 3015523662eSStephen Chandler Paul will be used by the standard in-kernel serio consumer drivers, 3025523662eSStephen Chandler Paul such as psmouse and atkbd. 3035523662eSStephen Chandler Paul 3045523662eSStephen Chandler Paul To compile this driver as a module, choose M here: the module will be 3055523662eSStephen Chandler Paul called userio. 3065523662eSStephen Chandler Paul 3075523662eSStephen Chandler Paul If you are unsure, say N. 3085523662eSStephen Chandler Paul 3091da177e4SLinus Torvaldsendif 310