linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] HID: mcp2221: add usb to i2c-smbus host bridge driver
@ 2020-01-20  5:27 Rishi Gupta
  2020-01-20  5:27 ` [PATCH v1 1/1] " Rishi Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Rishi Gupta @ 2020-01-20  5:27 UTC (permalink / raw)
  To: jikos, benjamin.tissoires, wsa+renesas
  Cc: gregkh, linux-i2c, linux-input, linux-kernel, Rishi Gupta

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

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-20 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  5:27 [PATCH v1 0/1] HID: mcp2221: add usb to i2c-smbus host bridge driver Rishi Gupta
2020-01-20  5:27 ` [PATCH v1 1/1] " Rishi Gupta
2020-01-20 18:05   ` kbuild test robot
2020-01-20 18:05   ` [RFC PATCH] HID: mcp2221: mcp_smbus_xfer() can be static kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).