From b1f1b07f6d412cb3ec8588a634836e26396eec70 Mon Sep 17 00:00:00 2001 From: Vladimir Kondratyev Date: Wed, 7 Oct 2020 00:50:16 +0300 Subject: 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 --- sys/i386/conf/GENERIC | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/i386/conf') 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 -- cgit v1.2.3