[GIT PULL] HID for 4.9

From: Jiri Kosina
Date: Fri Oct 07 2016 - 04:51:21 EST


Linus,

please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive 4.9 merge window queue for HID subsystem.

==========
- Integrated Sensor Hub support (Cherrytrail+) from Srinivas Pandruvada

- Big cleanup of Wacom driver; namely it's now using devres, and the
standardized LED API so that libinput doesn't need to have root access
any more, with substantial amount of other cleanups piggy-backing on
top. All this from Benjamin Tissoires

- Report descriptor parsing would now ignore and out-of-range System
controls in case of the application actually being System Control. This
fixes quite some issues with several devices, and allows us to remove
a few ->report_fixup callbacks. From Benjamin Tissoires

- a lot of other assorted small fixes and device ID additions
==========

Thanks.

----------------------------------------------------------------

AceLan Kao (1):
HID: input: add mic mute key on HP slim keyboard

Axel Lin (1):
HID: alps: Fix memory leak

Benjamin Tissoires (32):
HID: wacom: actually report the battery level for wireless connected
HID: wacom: store the type in wacom->shared for INTUOSHT and INTUOSHT2
HID: wacom: remove cleanup of wacom->remote_dir from wacom_clean_inputs()
HID: wacom: untie leds from inputs
HID: wacom: use one work queue per task
HID: wacom: switch battery to devres
HID: wacom: switch inputs to devres
HID: wacom: put the managed resources in a group
HID: wacom: convert LEDs to devres
HID: wacom: use devm_kasprintf for allocating the name of the remote
HID: wacom: use devres to allocate driver data
HID: wacom: devres manage the shared data too
HID: wacom: leds: dynamically allocate LED groups
HID: wacom: EKR: add a worker to add/remove resources on addition/removal
HID: wacom: EKR: have the wacom resources dynamically allocated
HID: wacom: rework fail path in probe() and parse_and_register()
HID: wacom: EKR: have proper allocator and destructor
HID: wacom: EKR: use devres groups to manage resources
HID: wacom: EKR: have one array of struct remotes instead of many arrays
HID: wacom: EKR: allocate one input node per remote
HID: wacom: EKR: have one power_supply per remote
HID: wacom: EKR: attach the power_supply on first connection
HID: wacom: leds: use the ledclass instead of custom made sysfs files
HID: wacom: leds: actually release the LEDs on disconnect
HID: wacom: leds: handle the switch of the LEDs directly in the kernel
HID: wacom: leds: make sure Cintiq 21UX2 and 24HD control the right LEDs
HID: wacom: leds: handle Cintiq 24HD leds buttons
HID: wacom: power_supply: mark the type as USB
HID: wacom: power_supply: remove ac information
HID: wacom: power_supply: provide the actual model_name
HID: input: ignore System Control application usages if not System Controls
HID: uclogic: Switch to reporting abstract button events

Colin Ian King (1):
HID: add missing \n to end of dev_warn messages

Frank Praznik (3):
HID: sony: Relax duplicate checking for USB-only devices
HID: sony: Defer the initial USB Sixaxis output report
HID: sony: Update copyright and add Dualshock 4 rate control note

Jason Gerecke (3):
HID: wacom: Add WACOM_DEVICETYPE_DIRECT for Cintiqs and similar
HID: wacom: Augment 'oVid' and 'oPid' with heuristics for HID_GENERIC
HID: wacom: Update last_slot_field during pre_report phase

Javier Martinez Canillas (1):
HID: use IS_ENABLED() instead of checking for built-in or module

Kai-Heng Feng (1):
HID: alps: fix stick device not working after resume

Marian Krivoš (1):
HID: support for keyboard - Corsair STRAFE

Masaki Ota (1):
HID: alps: fix multitouch cursor issue

Mayeul Cantan (1):
HID: Add a new Saitek mouse device ID (RAT 9)

Michel Hermier (1):
Revert "HID: microsoft: fix invalid rdesc for 3k kbd"

Mikko Perttunen (1):
HID: sony: disable descriptor fixup for FutureMax Dance Mat

Nikolai Kondrashov (8):
HID: Remove broken links to tablet descriptions
HID: kye: Rename MousePen i608X v2 macro
HID: kye: Fix MousePen i608X v2 report descriptor
HID: uclogic: Remove allocation failure messages
HID: uclogic: Add support for several more tablets
HID: uclogic: Support UGTizer GP0610 partially
HID: uclogic: Override constant descriptors
HID: uclogic: Add support for UC-Logic TWHA60 v3

Ping Cheng (1):
HID: wacom - add touch_arbitration parameter to wacom module

Simon Wood (6):
HID: hid-logitech: Introduce control for combined pedals feature
HID: hid-logitech: Add combined pedal support Logitech wheels
HID: hid-logitech: Compute combined pedals value
HID: hid-logitech: Rewrite of descriptor for all DF wheels
HID: hid-logitech: Improve Wingman Formula Force GP support
HID: hid-logitech: Documentation updates/corrections

Srinivas Pandruvada (6):
Documentation: HID: Intel ISH HID document
HID: intel_ish-hid: ISH Transport layer
HID: intel-ish-hid: ipc layer
HID: intel-ish-hid: ISH HID client driver
HID: hid-sensor-hub: Add ISH quirk
MAINTAINERS: Add Intel ISH

Wei Yongjun (6):
HID: intel-ish-hid: use list_move_tail instead of list_del/list_add_tail
HID: intel-ish-hid: use module_pci_driver to simplify the code
HID: intel_ish-hid: Convert list_for_each to entry variant
HID: intel_ish-hid: Use kzalloc instead of kmalloc/memset
HID: intel_ish-hid: Remove duplicated include from bus.c
HID: alps: fix error return code in alps_input_configured()

Yuta Kobayashi (1):
HID: microsoft: Add Surface 4 type cover pro 4 (JP)

.../ABI/testing/sysfs-driver-hid-logitech-lg4ff | 15 +
Documentation/ABI/testing/sysfs-driver-wacom | 5 +
Documentation/hid/intel-ish-hid.txt | 454 ++++++++
MAINTAINERS | 7 +
drivers/hid/Kconfig | 26 +-
drivers/hid/Makefile | 2 +
drivers/hid/hid-alps.c | 26 +-
drivers/hid/hid-core.c | 12 +-
drivers/hid/hid-ids.h | 12 +-
drivers/hid/hid-input.c | 10 +
drivers/hid/hid-kye.c | 123 +-
drivers/hid/hid-lg.c | 86 +-
drivers/hid/hid-lg4ff.c | 109 ++
drivers/hid/hid-lg4ff.h | 4 +
drivers/hid/hid-microsoft.c | 12 +-
drivers/hid/hid-saitek.c | 2 +
drivers/hid/hid-sensor-hub.c | 4 +
drivers/hid/hid-sony.c | 88 +-
drivers/hid/hid-uclogic.c | 187 ++-
drivers/hid/hid-waltop.c | 36 -
drivers/hid/intel-ish-hid/Kconfig | 17 +
drivers/hid/intel-ish-hid/Makefile | 22 +
drivers/hid/intel-ish-hid/ipc/hw-ish-regs.h | 220 ++++
drivers/hid/intel-ish-hid/ipc/hw-ish.h | 71 ++
drivers/hid/intel-ish-hid/ipc/ipc.c | 881 +++++++++++++++
drivers/hid/intel-ish-hid/ipc/pci-ish.c | 322 ++++++
drivers/hid/intel-ish-hid/ipc/utils.h | 64 ++
drivers/hid/intel-ish-hid/ishtp-hid-client.c | 978 ++++++++++++++++
drivers/hid/intel-ish-hid/ishtp-hid.c | 246 ++++
drivers/hid/intel-ish-hid/ishtp-hid.h | 182 +++
drivers/hid/intel-ish-hid/ishtp/bus.c | 788 +++++++++++++
drivers/hid/intel-ish-hid/ishtp/bus.h | 114 ++
drivers/hid/intel-ish-hid/ishtp/client-buffers.c | 257 +++++
drivers/hid/intel-ish-hid/ishtp/client.c | 1054 +++++++++++++++++
drivers/hid/intel-ish-hid/ishtp/client.h | 182 +++
drivers/hid/intel-ish-hid/ishtp/dma-if.c | 175 +++
drivers/hid/intel-ish-hid/ishtp/hbm.c | 1032 +++++++++++++++++
drivers/hid/intel-ish-hid/ishtp/hbm.h | 321 ++++++
drivers/hid/intel-ish-hid/ishtp/init.c | 115 ++
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h | 277 +++++
drivers/hid/usbhid/hid-quirks.c | 4 +-
drivers/hid/wacom.h | 96 +-
drivers/hid/wacom_sys.c | 1187 ++++++++++++++------
drivers/hid/wacom_wac.c | 435 ++++---
drivers/hid/wacom_wac.h | 22 +-
include/linux/hid.h | 4 +-
include/trace/events/intel_ish.h | 30 +
include/uapi/linux/input.h | 1 +
48 files changed, 9645 insertions(+), 672 deletions(-)
create mode 100644 Documentation/hid/intel-ish-hid.txt
create mode 100644 drivers/hid/intel-ish-hid/Kconfig
create mode 100644 drivers/hid/intel-ish-hid/Makefile
create mode 100644 drivers/hid/intel-ish-hid/ipc/hw-ish-regs.h
create mode 100644 drivers/hid/intel-ish-hid/ipc/hw-ish.h
create mode 100644 drivers/hid/intel-ish-hid/ipc/ipc.c
create mode 100644 drivers/hid/intel-ish-hid/ipc/pci-ish.c
create mode 100644 drivers/hid/intel-ish-hid/ipc/utils.h
create mode 100644 drivers/hid/intel-ish-hid/ishtp-hid-client.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp-hid.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp-hid.h
create mode 100644 drivers/hid/intel-ish-hid/ishtp/bus.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/bus.h
create mode 100644 drivers/hid/intel-ish-hid/ishtp/client-buffers.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/client.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/client.h
create mode 100644 drivers/hid/intel-ish-hid/ishtp/dma-if.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/hbm.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/hbm.h
create mode 100644 drivers/hid/intel-ish-hid/ishtp/init.c
create mode 100644 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
create mode 100644 include/trace/events/intel_ish.h

--
Jiri Kosina
SUSE Labs