[GIT PULL] HID for 4.12

From: Jiri Kosina
Date: Tue May 02 2017 - 15:10:49 EST


Linus,

please pull from

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

to receive HID subsystem updates for 4.12

Thanks.

=====
- the need for HID_QUIRK_NO_INIT_REPORTS per-device quirk has been growing
dramatically during past years, so the time has come to switch over the
default, and perform the pro-active reading only in cases where it's
really needed (multitouch, wacom). The only place where this behavior
is (in some form) preserved is hiddev so that we don't introduce
userspace-visible change of behavior. From Benjamin Tissoires

- HID++ support for power_supply / baterry reporting, from Benjamin
Tissoires and Bastien Nocera

- vast improvements / rework of DS3 and DS4 in Sony driver, from Roderick
Colenbrander

- improving (in terms of getting closer to the Microsoft's interpretation
of slightly ambiguous specification) of logical range interpretation
in case null-state is set in the rdesc. From Valtteri Heikkilä and
Tomasz Kramkowski

- a lot of newly supported device IDs and small assorted fixes
=====

----------------------------------------------------------------
Aaron Armstrong Skomra (1):
HID: wacom: Bamboo One Medium does not have touch

Arnd Bergmann (1):
HID: logitech-hidpp: select CONFIG_POWER_SUPPLY

Bartosz Golaszewski (1):
HID: cp2112: select GPIOLIB_IRQCHIP instead of depending on it

Bastien Nocera (1):
HID: logitech-hidpp: Add scope to battery

Benjamin Tissoires (21):
HID: logitech-hidpp: remove HIDPP_QUIRK_CONNECT_EVENTS
HID: wacom: generic: add mode change touch key
HID: remove initial reading of reports at connect
HID: logitech-dj: allow devices to request full pairing information
HID: logitech-hidpp: make sure we only register one battery per device
HID: logitech-hidpp: do not query the name through HID++ for 1.0 devices
HID: logitech-hidpp: create a capabilities bits field
HID: logitech-hidpp: rework probe path for unifying devices
HID: logitech-hidpp: retrieve the HID++ device name when available
HID: logitech-hidpp: rework hidpp_connect_event()
HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event()
HID: logitech-hidpp: forward device info in power_supply
HID: logitech-hidpp: create the battery for all types of HID++ devices
HID: logitech-hidpp: return an error if the queried feature is not present
HID: logitech-hidpp: notify battery on connect
HID: logitech-hidpp: battery: provide ONLINE property
HID: logitech-hidpp: rename battery level into capacity
HID: logitech-hidpp: battery: provide CAPACITY_LEVEL
HID: logitech-hidpp: add support for battery status for the K750
HID: logitech-hidpp: enable HID++ 1.0 battery reporting
HID: logitech-hidpp: add a sysfs file to tell we support power_supply

Brian Norris (1):
HID: i2c-hid: support regulator power on/off

Caesar Wang (1):
devicetree: i2c-hid: Add regulator support

Carlo Caione (1):
HID: asus: support backlight on USB keyboards

Chris Chiu (1):
HID: asus: support Republic of Gamers special keys

Christophe JAILLET (1):
HID: i2c-hid: Fix error handling

Colin Ian King (1):
HID: sony: remove redundant check for -ve err

Daniel Drake (1):
HID: asus: drop dependency on I2C_HID

Frank Praznik (1):
HID: sony: Use LED_CORE_SUSPENDRESUME

HungNien Chen (1):
HID: multitouch: change for touch height/width

Jaejoong Kim (2):
HID: cp2112: use proper hidraw name with minor number
HID: hiddev: reallocate hiddev's minor number

Jason Gerecke (1):
HID: wacom: Move wacom_remote_irq and wacom_remote_status_irq

Joe Perches (1):
HID: usbhid: Use pr_<level> and remove unnecessary OOM messages

Jonathan Tomer (1):
HID: Add quirk driver for NTI USB-SUN adapter

Martyn Welch (1):
HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens

Matjaz Hegedic (3):
HID: asus: fix and generalize ambiguous preprocessor macros
HID: asus: ignore declared dummy usages
HID: asus: change mapping from KEY_WLAN to KEY_RFKILL

Peter Hutterer (1):
HID: logitech-hidpp: add battery support for HID++ 2.0 devices

Ping Cheng (3):
HID: wacom: generic: add 3 tablet touch keys
HID: wacom: generic: support touch on/off softkey
HID: wacom: generic: sync pad events only for actual packets

Roderick Colenbrander (18):
HID: sony: Report DS4 motion sensors through a separate device
HID: sony: Calibrate DS4 motion sensors
HID: sony: Report hardware timestamp for DS4 sensor values
HID: sony: Remove report descriptor fixup for DS4
HID: sony: Treat the ds4 dongle as a separate device
HID: sony: Make work handling more generic
HID: sony: Support motion sensor calibration on dongle
HID: sony: Mark DS4 touchpad device as a pointer
HID: sony: DS3 comply to Linux gamepad spec
HID: sony: Print error on failure to active DS3 / Navigation controllers
HID: sony: Expose DS3 motion sensors through separate device
HID: sony: Perform duplicate device check earlier on
HID: sony: Use DS3 MAC address as unique identifier on USB
HID: sony: Improve navigation controller axis/button mapping
HID: sony: DS4 use brighter LED colors
HID: sony: Set proper bit flags on DS4 output report
HID: sony: Make DS4 bt poll interval adjustable
HID: sony: Make sure to unregister sensors on failure

Tobias Jakobi (1):
HID: usbhid: extend polling interval configuration to joysticks

Tomasz Kramkowski (2):
HID: usbhid: add quirk for innomedia INNEX GENESIS/ATARI adapter
HID: clamp input to logical range if no null state

Valtteri Heikkilä (1):
HID: reject input outside logical range only if null state is set

Vasilis Liaskovitis (1):
HID: usbhid: Add HID_QUIRK_NOGET for Aten CS-1758 KVM switch

Xiaolei Yu (1):
HID: add two missing usages for digitizer

Documentation/admin-guide/kernel-parameters.txt | 3 +
.../devicetree/bindings/input/hid-over-i2c.txt | 16 +
Documentation/input/event-codes.txt | 5 +-
drivers/hid/Kconfig | 29 +-
drivers/hid/Makefile | 2 +
drivers/hid/hid-accutouch.c | 52 +
drivers/hid/hid-asus.c | 248 ++-
drivers/hid/hid-core.c | 10 +-
drivers/hid/hid-cp2112.c | 4 +-
drivers/hid/hid-debug.c | 2 +
drivers/hid/hid-ids.h | 14 +-
drivers/hid/hid-input.c | 20 +-
drivers/hid/hid-logitech-dj.c | 19 +-
drivers/hid/hid-logitech-hidpp.c | 846 +++++++++-
drivers/hid/hid-multitouch.c | 18 +-
drivers/hid/hid-nti.c | 59 +
drivers/hid/hid-sony.c | 1674 ++++++++++----------
drivers/hid/i2c-hid/i2c-hid.c | 105 +-
drivers/hid/usbhid/hid-core.c | 45 +-
drivers/hid/usbhid/hid-quirks.c | 15 +-
drivers/hid/usbhid/hiddev.c | 24 +-
drivers/hid/wacom.h | 5 +
drivers/hid/wacom_sys.c | 53 +-
drivers/hid/wacom_wac.c | 306 ++--
drivers/hid/wacom_wac.h | 10 +
include/linux/hid.h | 5 +-
include/linux/hiddev.h | 12 +
include/linux/i2c/i2c-hid.h | 6 +
include/uapi/linux/input-event-codes.h | 1 +
include/uapi/linux/input.h | 11 +-
30 files changed, 2490 insertions(+), 1129 deletions(-)
create mode 100644 drivers/hid/hid-accutouch.c
create mode 100644 drivers/hid/hid-nti.c

--
Jiri Kosina
SUSE Labs