drivers: input: joystick: Add PSX(Play Staion 1/2) pad with SPI driver Add PSX(Play Staion 1/2) pad with SPI driver. Pads can be connected directry SPI bus.
Subsystems (2)
PATCH 1/1 drivers: input: joystick: Add PSX(Play Staion 1/2) pad with SPI driver Add PSX(Play Staion 1/2) pad with SPI driver. Pads can be connected directry SPI bus.
--- drivers/input/joystick/Kconfig | 11 +- drivers/input/joystick/Makefile | 1 + drivers/input/joystick/psxpad-spi.c | 679 ++++++++++++++++++++++++++++++++++++ 3 files changed, 690 insertions(+), 1 deletion(-) create mode 100644 drivers/input/joystick/psxpad-spi.c
drivers/input/joystick/Kconfig +10 -1
@@ -330,4 +330,13 @@ config JOYSTICK_MAPLE To compile this as a module choose M here: the module will be called maplecontrol. -endif +config JOYSTICK_PSXPAD_SPI + tristate "PSX(Play Station 1/2) pad with SPI Bus Driver" + depends on INPUT_POLLDEV && SPI + help + Say Y here if you connect PSX(PS1/2) pad with SPI Interface. + + To compile this driver as a module, choose M here: the + module will be called psxpad-spi. + +endifendif
drivers/input/joystick/Makefile +1 -0
@@ -32,4 +32,5 @@ obj-$(CONFIG_JOYSTICK_WARRIOR) += warrior.o obj-$(CONFIG_JOYSTICK_XPAD) += xpad.o obj-$(CONFIG_JOYSTICK_ZHENHUA) += zhenhua.o obj-$(CONFIG_JOYSTICK_WALKERA0701) += walkera0701.o +obj-$(CONFIG_JOYSTICK_PSXPAD_SPI) += psxpad-spi.o
drivers/input/joystick/psxpad-spi.c new file +679 -0
679 lines not on this page · raw message
Signature · 1 line
2.7.4