input: joystick: Adding Austria Microsystem AS5011 joystick driver (without wrapped lines)
Subsystems (2)
PATCH 1/1 input: joystick: Adding Austria Microsystem AS5011 joystick driver (without wrapped lines)
Sorry for the latest mail, thunderbird wrapped patch lines
Driver for EasyPoint AS5011 2 axis joystick chip. This chip is plugged on an I2C bus. It as been tested on ARM processor (i.MX27).
Signed-off-by Fabien Marteau <[email protected]>
--- drivers/input/joystick/Kconfig | 9 + drivers/input/joystick/Makefile | 1 + drivers/input/joystick/as5011.c | 454 +++++++++++++++++++++++++++++++++++++++ include/linux/as5011.h | 72 ++++++ 4 files changed, 536 insertions(+), 0 deletions(-) create mode 100644 drivers/input/joystick/as5011.c create mode 100644 include/linux/as5011.h
drivers/input/joystick/Kconfig +9 -0
@@ -255,6 +255,15 @@ config JOYSTICK_AMIGA To compile this driver as a module, choose M here: the module will be called amijoy. +config JOYSTICK_AS5011 + tristate "Austria Microsystem AS5011 joystick" + depends on I2C + help + Say Y here if you have an AS5011 digital joystick. + + To compile this driver as a module, choose M here: the + module will be called as5011. + config JOYSTICK_JOYDUMP tristate "Gameport data dumper" select GAMEPORT
drivers/input/joystick/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_JOYSTICK_A3D) += a3d.o obj-$(CONFIG_JOYSTICK_ADI) += adi.o obj-$(CONFIG_JOYSTICK_AMIGA) += amijoy.o +obj-$(CONFIG_JOYSTICK_AS5011) += as5011.o obj-$(CONFIG_JOYSTICK_ANALOG) += analog.o obj-$(CONFIG_JOYSTICK_COBRA) += cobra.o obj-$(CONFIG_JOYSTICK_DB9) += db9.o
drivers/input/joystick/as5011.c new file +454 -0
454 lines not on this page · raw message
include/linux/as5011.h new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
1.7.0.4