forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'hid-for-linus-2024111801' of git://git.kernel.org/pub/scm/…
…linux/kernel/git/hid/hid Pull HID updates from Jiri Kosina: - improvement in the way hid-bpf coexists with specific drivers (others than hid-generic) that are already bound to devices (Benjamin Tissoires) - removal of three way-too-aggressive BUG_ON()s from HID drivers (He Lugang) - assorted cleanups and small code fixes to HID core (Dmitry Torokhov, Yan Zhen, Nathan Chancellor, Andy Shevchenko) - support for Corsair Void headset family (Stuart Hayhurst) - Support for Goodix GT7986U SPI (Charles Wang) - initial vendor-specific driver for Kysona, currently adding support for Kysona M600 (Lode Willems) - other assorted code cleanups and small bugfixes all over the place * tag 'hid-for-linus-2024111801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (40 commits) HID: multitouch: make mt_set_mode() less cryptic HID: hid-goodix-spi: Add OF supports dt-bindings: input: Goodix GT7986U SPI HID Touchscreen HID: hyperv: streamline driver probe to avoid devres issues HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support HID: rmi: Add select RMI4_F3A in Kconfig HID: wacom: Interpret tilt data from Intuos Pro BT as signed values HID: steelseries: Add capacity_level mapping HID: steelseries: Fix battery requests stopping after some time HID: hid-goodix: Fix HID get/set feature operation overwritten problem HID: hid-goodix: Return 0 when receiving an empty HID feature package HID: bpf: drop use of Logical|Physical|UsageRange HID: bpf: Fix Rapoo M50 Plus Silent side buttons HID: bpf: Fix NKRO on Mistel MD770 HID: replace BUG_ON() with WARN_ON() HID: wacom: Set eraser status when either 'Eraser' or 'Invert' usage is set HID: Kysona: add basic online status HID: Kysona: check battery status every 5s using a workqueue HID: Kysona: Add basic battery reporting for Kysona M600 HID: Add IDs for Kysona ...
- Loading branch information
Showing
50 changed files
with
2,288 additions
and
412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_headset | ||
Date: January 2024 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (R) The firmware version of the headset | ||
* Returns -ENODATA if no version was reported | ||
|
||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_receiver | ||
Date: January 2024 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (R) The firmware version of the receiver | ||
|
||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/microphone_up | ||
Date: July 2023 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (R) Get the physical position of the microphone | ||
* 1 -> Microphone up | ||
* 0 -> Microphone down | ||
|
||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/send_alert | ||
Date: July 2023 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (W) Play a built-in notification from the headset (0 / 1) | ||
|
||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/set_sidetone | ||
Date: December 2023 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (W) Set the sidetone volume (0 - sidetone_max) | ||
|
||
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/sidetone_max | ||
Date: July 2024 | ||
KernelVersion: 6.13 | ||
Contact: Stuart Hayhurst <[email protected]> | ||
Description: (R) Report the maximum sidetone volume |
69 changes: 69 additions & 0 deletions
69
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Goodix GT7986U SPI HID Touchscreen | ||
|
||
maintainers: | ||
- Charles Wang <[email protected]> | ||
|
||
description: | | ||
Supports the Goodix GT7986U touchscreen. | ||
This touch controller reports data packaged according to the HID protocol | ||
over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol. | ||
NOTE: these bindings are distinct from the bindings used with the | ||
GT7986U when the chip is running I2C firmware. This is because there's | ||
not a single device that talks over both I2C and SPI but rather | ||
distinct touchscreens that happen to be built with the same ASIC but | ||
that are distinct products running distinct firmware. | ||
allOf: | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- goodix,gt7986u-spifw | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
reset-gpios: | ||
maxItems: 1 | ||
|
||
spi-max-frequency: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- reset-gpios | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
#include <dt-bindings/gpio/gpio.h> | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
touchscreen@0 { | ||
compatible = "goodix,gt7986u-spifw"; | ||
reg = <0>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <25 IRQ_TYPE_LEVEL_LOW>; | ||
reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.