diff options
author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2020-10-06 21:50:16 +0000 |
---|---|---|
committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2021-01-07 23:18:43 +0000 |
commit | b1f1b07f6d412cb3ec8588a634836e26396eec70 (patch) | |
tree | 2fd8f7eaf32b4aa07064833aaf322d1497e0a745 /sys/i386/conf | |
parent | e49fa9f6f327f3b5464ad638eeb4dfb2d38adf4d (diff) | |
download | src-b1f1b07f6d412cb3ec8588a634836e26396eec70.tar.gz src-b1f1b07f6d412cb3ec8588a634836e26396eec70.zip |
hid: Import iichid - I2C transport backend for HID subsystem
This implements hid_if.m methods for HID-over-I2C protocol [1].
Following kernel options are added:
IICHID_SAMPLING - Enable support for a sampling mode as interrupt
resource acquisition is not always possible in a case
of GPIO interrupts.
IICHID_DEBUG - Enable debug output.
The module is based on prior Marc Priggemeyer work (D16698).
[1] http://download.microsoft.com/download/7/d/d/7dd44bb7-2a7a-4505-ac1c-7227d3d96d5b/hid-over-i2c-protocol-spec-v1-0.docx
Differential revision: https://reviews.freebsd.org/D27892
Diffstat (limited to 'sys/i386/conf')
-rw-r--r-- | sys/i386/conf/GENERIC | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index dabb0575ae3d..88e91ae8d757 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -352,3 +352,4 @@ device uinput # install /dev/uinput cdev # HID support options HID_DEBUG # enable debug msgs device hid # Generic HID support +options IICHID_SAMPLING # Workaround missing GPIO INTR support |