mbox series

[v1,0/1] HID: mcp2221: add usb to i2c-smbus host bridge driver

Message ID cover.1579497275.git.gupt21@gmail.com (mailing list archive)
Headers show
Series HID: mcp2221: add usb to i2c-smbus host bridge driver | expand

Message

Rishi Gupta Jan. 20, 2020, 5:27 a.m. UTC
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.

Different transactions have been tested with various common
hardwares, linux driver and user space tools.

Host PC communicates with mcp2221a over usb using raw hid protocol.
Reports are exchanged using interrupt end points. Command and responses
are mcp2221a specific and documented in datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/20005565B.pdf

There is only 1 patch in this driver submission.

Rishi Gupta (1):
  HID: mcp2221: add usb to i2c-smbus host bridge driver

 drivers/hid/Kconfig       |  10 +
 drivers/hid/Makefile      |   1 +
 drivers/hid/hid-ids.h     |   1 +
 drivers/hid/hid-mcp2221.c | 773 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/hid/hid-quirks.c  |   3 +
 5 files changed, 788 insertions(+)
 create mode 100644 drivers/hid/hid-mcp2221.c