aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/options
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-10-06 21:50:16 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-01-07 23:18:43 +0000
commitb1f1b07f6d412cb3ec8588a634836e26396eec70 (patch)
tree2fd8f7eaf32b4aa07064833aaf322d1497e0a745 /sys/conf/options
parente49fa9f6f327f3b5464ad638eeb4dfb2d38adf4d (diff)
downloadsrc-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/conf/options')
-rw-r--r--sys/conf/options2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 797fa67f1a92..1c0b643df899 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -1016,3 +1016,5 @@ LINDEBUGFS
# options for HID support
HID_DEBUG opt_hid.h
+IICHID_DEBUG opt_hid.h
+IICHID_SAMPLING opt_hid.h