aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorRishi Gupta <gupt21@gmail.com>2020-01-28 09:48:57 +0530
committerJiri Kosina <jkosina@suse.cz>2020-03-10 12:37:42 +0100
commit67a95c21463d066060b0f66d65a75d45bb386ffb (patch)
treebb08474c552258207a6a2999fb201f2a82b756f2 /drivers/hid/Kconfig
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff)
downloadwireguard-linux-67a95c21463d066060b0f66d65a75d45bb386ffb.tar.xz
wireguard-linux-67a95c21463d066060b0f66d65a75d45bb386ffb.zip
HID: mcp2221: add usb to i2c-smbus host bridge
MCP2221 is a USB HID to I2C/SMbus host bridge device. This commit implements i2c and smbus host adapter support. 7-bit address and i2c multi-message transaction is also supported. Signed-off-by: Rishi Gupta <gupt21@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 494a39e74939..5db6e6a709e0 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1145,6 +1145,16 @@ config HID_ALPS
Say Y here if you have a Alps touchpads over i2c-hid or usbhid
and want support for its special functionalities.
+config HID_MCP2221
+ tristate "Microchip MCP2221 HID USB-to-I2C/SMbus host support"
+ depends on USB_HID && I2C
+ ---help---
+ Provides I2C and SMBUS host adapter functionality over USB-HID
+ through MCP2221 device.
+
+ To compile this driver as a module, choose M here: the module
+ will be called hid-mcp2221.ko.
+
endmenu
endif # HID