Skip to content

Commit 4f8a21a

Browse files
author
Jiri Kosina
committed
Merge branch 'for-5.7/mcp2221' into for-linus
2 parents e4c429c + 67a95c2 commit 4f8a21a

File tree

5 files changed

+761
-0
lines changed

5 files changed

+761
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10234,6 +10234,13 @@ F: drivers/net/can/m_can/m_can.c
1023410234
F: drivers/net/can/m_can/m_can.h
1023510235
F: drivers/net/can/m_can/m_can_platform.c
1023610236

10237+
MCP2221A MICROCHIP USB-HID TO I2C BRIDGE DRIVER
10238+
M: Rishi Gupta <[email protected]>
10239+
10240+
10241+
S: Maintained
10242+
F: drivers/hid/hid-mcp2221.c
10243+
1023710244
MCP4018 AND MCP4531 MICROCHIP DIGITAL POTENTIOMETER DRIVERS
1023810245
M: Peter Rosin <[email protected]>
1023910246

drivers/hid/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,16 @@ config HID_ALPS
11521152
Say Y here if you have a Alps touchpads over i2c-hid or usbhid
11531153
and want support for its special functionalities.
11541154

1155+
config HID_MCP2221
1156+
tristate "Microchip MCP2221 HID USB-to-I2C/SMbus host support"
1157+
depends on USB_HID && I2C
1158+
---help---
1159+
Provides I2C and SMBUS host adapter functionality over USB-HID
1160+
through MCP2221 device.
1161+
1162+
To compile this driver as a module, choose M here: the module
1163+
will be called hid-mcp2221.ko.
1164+
11551165
endmenu
11561166

11571167
endif # HID

drivers/hid/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ obj-$(CONFIG_HID_LOGITECH_HIDPP) += hid-logitech-hidpp.o
7171
obj-$(CONFIG_HID_MACALLY) += hid-macally.o
7272
obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
7373
obj-$(CONFIG_HID_MALTRON) += hid-maltron.o
74+
obj-$(CONFIG_HID_MCP2221) += hid-mcp2221.o
7475
obj-$(CONFIG_HID_MAYFLASH) += hid-mf.o
7576
obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
7677
obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@
825825
#define USB_DEVICE_ID_PICK16F1454 0x0042
826826
#define USB_DEVICE_ID_PICK16F1454_V2 0xf2f7
827827
#define USB_DEVICE_ID_LUXAFOR 0xf372
828+
#define USB_DEVICE_ID_MCP2221 0x00dd
828829

829830
#define USB_VENDOR_ID_MICROSOFT 0x045e
830831
#define USB_DEVICE_ID_SIDEWINDER_GV 0x003b

0 commit comments

Comments
 (0)