periph / host

Go·Hardware·Lean - Host drivers
https://periph.io
Apache License 2.0
57 stars 32 forks source link

Support for MCP2221/MCP2221A #28

Open kabili207 opened 1 year ago

kabili207 commented 1 year ago

What kind of new feature are you looking for?

These are similar to the FTDI232X chips in that they expose GPIO and I2C over USB. (They also expose UART and an ADC and DAC, but I believe those are out of scope for this periph)

Adafruit has a handy little breakout for this chip available here: https://www.adafruit.com/product/4471

Do you plan to:

kabili207 commented 1 year ago

Additional note: there is a kernel module for this in Linux (https://github.com/torvalds/linux/blob/master/drivers/hid/hid-mcp2221.c), however it's not enabled by default in any major distro and I'd really rather not have to maintain a custom kernel image long-term.

There's also the obvious point that a linux kernel module is useless on other platforms.