drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.
Subsystems (2)
PATCH 1/1 drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.
PSX pads can be connected directry SPI bus.
--- drivers/input/joystick/Kconfig | 24 ++ drivers/input/joystick/Makefile | 2 + drivers/input/joystick/psxpad-spi.c | 671 ++++++++++++++++++++++++++++++++++++ 3 files changed, 697 insertions(+) create mode 100644 drivers/input/joystick/psxpad-spi.c
drivers/input/joystick/Kconfig +24 -0
@@ -330,4 +330,28 @@ config JOYSTICK_MAPLE To compile this as a module choose M here: the module will be called maplecontrol. +config JOYSTICK_RPISENSE + tristate "Raspberry Pi Sense HAT joystick" + depends on GPIOLIB && INPUT + select MFD_RPISENSE_CORE + + help + This is the joystick driver for the Raspberry Pi Sense HAT + +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. + +config JOYSTICK_PSXPAD_SPI_FF + bool "PSX pad with SPI Bus rumble support" + depends on JOYSTICK_PSXPAD_SPI && INPUT + select INPUT_FF_MEMLESS + help + Say Y here if you want to take advantage of PSX pad rumble features. + endif
drivers/input/joystick/Makefile +2 -0
@@ -21,6 +21,7 @@ obj-$(CONFIG_JOYSTICK_INTERACT) += interact.o obj-$(CONFIG_JOYSTICK_JOYDUMP) += joydump.o obj-$(CONFIG_JOYSTICK_MAGELLAN) += magellan.o obj-$(CONFIG_JOYSTICK_MAPLE) += maplecontrol.o +obj-$(CONFIG_JOYSTICK_PSXPAD_SPI) += psxpad-spi.o obj-$(CONFIG_JOYSTICK_SIDEWINDER) += sidewinder.o obj-$(CONFIG_JOYSTICK_SPACEBALL) += spaceball.o obj-$(CONFIG_JOYSTICK_SPACEORB) += spaceorb.o
@@ -32,4 +33,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_RPISENSE) += rpisense-js.o
drivers/input/joystick/psxpad-spi.c new file +671 -0
671 lines not on this page · raw message
Signature · 1 line
2.11.0
kbuild test robot
build botreproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross…
Hi AZO,
[auto build test ERROR on input/next]
[also build test ERROR on v4.11-rc8 next-20170424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/AZO/drivers-input-joystick-Add-PSX-Play-Station-1-2-pad-with-SPI-driver/20170425-182329 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next config: mn10300-allyesconfig (attached as .config) compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mn10300
All errors (new ones prefixed by >>):
>> make[4]: *** No rule to make target 'drivers/input/joystick/rpisense-js.o', needed by 'drivers/input/joystick/built-in.o'.
make[4]: Target '__build' not remade because of errors.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
kbuild test robot
build botreproduce:
Hi AZO,
[auto build test ERROR on input/next]
[also build test ERROR on v4.11-rc8 next-20170424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/AZO/drivers-input-joystick-Add-PSX-Play-Station-1-2-pad-with-SPI-driver/20170425-182329 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
>> make[4]: *** No rule to make target 'drivers/input/joystick/rpisense-js.c', needed by 'drivers/input/joystick/rpisense-js.o'.
make[4]: Target '__build' not remade because of errors.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Mr. Torokhov
Quoted 1 line
Quoted 1 line
make[4]: *** No rule to make target '
drivers/input/joystick/rpisense-js.c', needed by 'drivers/input/joystick/rpisense-js.o'.
Sorry to my mistake.
I sended 2nd patch is,
between Generic kernel source and Raspberry Pi's kernel source.
I sended 3rd patch is for Generic kernel source.
Try build this.
I'm sorry.
Regard.
2017-04-26 7:24 GMT+09:00 kbuild test robot <[email protected]>:
Quoted 22 lines
Hi AZO,
[auto build test ERROR on input/next]
[also build test ERROR on v4.11-rc8 next-20170424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]url: https://github.com/0day-ci/linux/commits/AZO/drivers-input-joystick-Add-PSX-Play-Station-1-2-pad-with-SPI-driver/20170425-182329 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386All errors (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
make[4]: *** No rule to make target '
drivers/input/joystick/rpisense-js.c', needed by 'drivers/input/joystick/rpisense-js.o'.make[4]: Target '
__build' not remade because of errors.---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation