Skip to contentSkip to conversation

input: joystick: Adding Austria Microsystem AS5011 joystick driver (without wrapped lines)

PATCH New Fabien Marteau 1 participant 1 message Nov 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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).

---
 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
index 5b59616..5fad03e 100644
@@ -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
index f3a8cbe..92dc0de 100644
@@ -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