aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/Kconfig
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2020-09-28 16:12:46 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-09-28 16:26:11 -0700
commit2c2b364fddd551f0da98953618e264c098dfa140 (patch)
tree19057b4c942b052b8c7b6464c84874a62bc6db85 /drivers/input/joystick/Kconfig
parentdt-bindings: input: Add docs for ADC driven joystick (diff)
downloadlinux-dev-2c2b364fddd551f0da98953618e264c098dfa140.tar.xz
linux-dev-2c2b364fddd551f0da98953618e264c098dfa140.zip
Input: joystick - add ADC attached joystick driver.
Add a driver for joystick devices connected to ADC controllers supporting the Industrial I/O subsystem. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Tested-by: Paul Cercueil <paul@crapouillou.net> Tested-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20200927123302.31062-2-contact@artur-rojek.eu Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joystick/Kconfig')
-rw-r--r--drivers/input/joystick/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig
index 6f73f02059b5..2a5dbf993aaa 100644
--- a/drivers/input/joystick/Kconfig
+++ b/drivers/input/joystick/Kconfig
@@ -42,6 +42,16 @@ config JOYSTICK_A3D
To compile this driver as a module, choose M here: the
module will be called a3d.
+config JOYSTICK_ADC
+ tristate "Simple joystick connected over ADC"
+ depends on IIO
+ select IIO_BUFFER_CB
+ help
+ Say Y here if you have a simple joystick connected over ADC.
+
+ To compile this driver as a module, choose M here: the
+ module will be called adc-joystick.
+
config JOYSTICK_ADI
tristate "Logitech ADI digital joysticks and gamepads"
select GAMEPORT