History log of /src/sys/dev/usb/umcpmio_iic.c
Revision Date Author Comments
# 1.1 29-Nov-2025 brad

umcpmio(4) version 2

o This driver supports a number of different bus frameworks.
Reorganize the driver into specific files based on the bus and
function.

o Fix an error condtion in the HID transport that happens when the
device is removed.

o Add support to the driver for the MCP2210 USB to SPI bridge. This
bridge chip is the companion to the MCP2221 / MCP2221A. The MCP2210
provides a SPI bus to any system that has a USB bus. It also provides
GPIO that is used with the gpio(4) framework and 256 bytes of EEPROM
that is exposed to a /dev/ device. It is almost certain that the chip
is just one of Microchip's PICs and while not at all perfect, is
reasonably decent if your USB bus functions well. Like the MCP2221 /
MCP2221A, umcpmioctl provides control over a number of functions to
the MCP2210.

Premade breakout boards are available from Microchip or Mikeroe, but
the MCP2210 is pretty inexpensive and it is not at all hard to roll
your own breakout for it.