06 Dec, 2020

1 commit

  • Pull input fixes from Dmitry Torokhov:
    "A fix for 'RETRIGEN' handling in Atmel touch controllers that was
    causing lost interrupts on systems using edge-triggered interrupts, a
    quirk for i8042 driver, and a couple more fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: atmel_mxt_ts - fix lost interrupts
    Input: xpad - support Ardwiino Controllers
    Input: i8042 - add ByteSpeed touchpad to noloop table
    Input: i8042 - fix error return code in i8042_setup_aux()
    Input: soc_button_array - add missing include

    Linus Torvalds
     

01 Dec, 2020

1 commit


24 Oct, 2020

1 commit

  • Pull input updates from Dmitry Torokhov:

    - a new driver for ADC driven joysticks

    - a new Zintix touchscreen driver

    - enhancements to Intel SoC button array driver

    - support for F3A "function" in Synaptics RMI4 driver

    - assorted driver fixups

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (29 commits)
    Input: Add MAINTAINERS entry for SiS i2c touch input driver
    Input: evdev - per-client waitgroups
    Input: synaptics - enable InterTouch for ThinkPad T14 Gen 1
    Input: synaptics - enable InterTouch for ThinkPad P1/X1E gen 2
    Input: synaptics-rmi4 - support bootloader v8 in f34v7
    Input: synaptics-rmi4 - add support for F3A
    Input: synaptics-rmi4 - rename f30_data to gpio_data
    Input: add zinitix touchscreen driver
    dt-bindings: input/touchscreen: add bindings for zinitix
    Input: joystick - add ADC attached joystick driver.
    dt-bindings: input: Add docs for ADC driven joystick
    Input: sun4i-ps2 - fix handling of platform_get_irq() error
    Input: twl4030_keypad - fix handling of platform_get_irq() error
    Input: omap4-keypad - fix handling of platform_get_irq() error
    Input: ep93xx_keypad - fix handling of platform_get_irq() error
    Input: stmfts - fix a & vs && typo
    Input: imx6ul_tsc - unify open/close and PM paths
    Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()
    Input: elants_i2c - fix typo for an attribute to show calibration count
    Input: elants_i2c - report resolution of ABS_MT_TOUCH_MAJOR by FW information.
    ...

    Linus Torvalds
     

29 Sep, 2020

1 commit

  • Add a driver for joystick devices connected to ADC controllers
    supporting the Industrial I/O subsystem.

    Signed-off-by: Artur Rojek
    Tested-by: Paul Cercueil
    Tested-by: Heiko Stuebner
    Link: https://lore.kernel.org/r/20200927123302.31062-2-contact@artur-rojek.eu
    Signed-off-by: Dmitry Torokhov

    Artur Rojek
     

24 Aug, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

11 Aug, 2020

1 commit

  • Pull input updates from Dmitry Torokhov:

    - an update to Elan touchpad controller driver supporting newer ICs
    with enhanced precision reports and a new firmware update process

    - an update to EXC3000 touch controller supporting additional parts

    - assorted driver fixups

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (27 commits)
    Input: exc3000 - add support to query model and fw_version
    Input: exc3000 - add reset gpio support
    Input: exc3000 - add EXC80H60 and EXC80H84 support
    dt-bindings: touchscreen: Convert EETI EXC3000 touchscreen to json-schema
    Input: sentelic - fix error return when fsp_reg_write fails
    Input: alps - remove redundant assignment to variable ret
    Input: ims-pcu - return error code rather than -ENOMEM
    Input: elan_i2c - add ic type 0x15
    Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary
    Input: uinput - fix typo in function name documentation
    Input: ati_remote2 - add missing newlines when printing module parameters
    Input: psmouse - add a newline when printing 'proto' by sysfs
    Input: synaptics-rmi4 - drop a duplicated word
    Input: elan_i2c - add support for high resolution reports
    Input: elan_i2c - do not constantly re-query pattern ID
    Input: elan_i2c - add firmware update info for ICs 0x11, 0x13, 0x14
    Input: elan_i2c - handle firmware updated on newer ICs
    Input: elan_i2c - add support for different firmware page sizes
    Input: elan_i2c - fix detecting IAP version on older controllers
    Input: elan_i2c - handle devices with patterns above 1
    ...

    Linus Torvalds
     

22 Jul, 2020

1 commit


08 Jul, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva
    Link: https://lore.kernel.org/r/20200707180857.GA30600@embeddedor
    Signed-off-by: Dmitry Torokhov

    Gustavo A. R. Silva
     

14 Jun, 2020

1 commit

  • Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
    '---help---'"), the number of '---help---' has been gradually
    decreasing, but there are still more than 2400 instances.

    This commit finishes the conversion. While I touched the lines,
    I also fixed the indentation.

    There are a variety of indentation styles found.

    a) 4 spaces + '---help---'
    b) 7 spaces + '---help---'
    c) 8 spaces + '---help---'
    d) 1 space + 1 tab + '---help---'
    e) 1 tab + '---help---' (correct indentation)
    f) 1 tab + 1 space + '---help---'
    g) 1 tab + 2 spaces + '---help---'

    In order to convert all of them to 1 tab + 'help', I ran the
    following commend:

    $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

10 Jun, 2020

1 commit

  • Making module name conflicts a fatal error breaks sparc64 allmodconfig:

    Error log:
    error: the following would cause module name conflict:
    drivers/char/adi.ko
    drivers/input/joystick/adi.ko

    Renaming one of the modules would solve the problem, but then cause other
    problems because neither of them is automatically loaded and changing
    the name is likely to break any setup that relies on manually loading
    it by name.

    As there is probably no sparc64 system with this kind of ancient joystick
    attached, work around it by adding a Kconfig dependency that forbids
    them from both being modules. It is still possible to build the joystick
    driver if the sparc64 adi driver is built-in.

    Reported-by: Guenter Roeck
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Arnd Bergmann
    Reviewed-by: Guenter Roeck
    Link: https://lore.kernel.org/r/20200609100643.1245061-1-arnd@arndb.de
    Signed-off-by: Dmitry Torokhov

    Arnd Bergmann
     

23 Apr, 2020

1 commit

  • Sending [ 0x05, 0x20, 0x00, 0x0f, 0x06 ] packet for Xbox One S controllers
    fixes an issue where controller is stuck in Bluetooth mode and not sending
    any inputs.

    Signed-off-by: Łukasz Patron
    Reviewed-by: Cameron Gutman
    Cc: stable@vger.kernel.org
    Link: https://lore.kernel.org/r/20200422075206.18229-1-priv.luk@gmail.com
    Signed-off-by: Dmitry Torokhov

    Łukasz Patron
     

30 Oct, 2019

1 commit


06 Sep, 2019

1 commit

  • Don't populate the array seq on the stack but instead make it
    static const. Makes the object code smaller by 30 bytes.

    Before:
    text data bss dec hex filename
    22284 3184 0 25468 637c drivers/input/joystick/sidewinder.o

    After:
    text data bss dec hex filename
    22158 3280 0 25438 635e drivers/input/joystick/sidewinder.o

    (gcc version 9.2.1, amd64)

    Signed-off-by: Colin Ian King
    Signed-off-by: Dmitry Torokhov

    Colin Ian King
     

12 Aug, 2019

1 commit


07 Aug, 2019

1 commit


22 Jul, 2019

1 commit

  • This patch adds support for the FlySky FS-iA6B RC receiver (serial IBUS).

    It allows the usage of the FlySky FS-i6 and other AFHDS compliant remote
    controls as a joystick input device.

    To use it, a patch to inputattach which adds the FS-iA6B as a 115200 baud
    serial device is required. I will upstream it after this patch is merged.

    More information about the hardware can be found here:

    https://notsyncing.net/?p=blog&b=2018.linux-fsia6b

    Signed-off-by: Markus Koch
    Signed-off-by: Dmitry Torokhov

    Markus Koch
     

16 Jul, 2019

2 commits


23 Jun, 2019

20 commits


19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1334 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner