Add basic device detection and updated udev rules for nanofury devices.
Merge branch 'master' into nanofury
nil
Add basic SPI comms defines for mcp2210 and build rules for bitfury.
Include mcp header for bitfury and fix extra params in macro.
Create a generic mcp2210 send_rcv function.
Add a set of usb commands to the usbutils defines for mcp2210 comms, and use the same command name for send and receive.
Check the receive msg of a send/receive cycle on mcp2210 matches the send message.
Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
Add mcp2210 helper functions for getting and setting one GPIO pin val and direction.
Use correct endpoint order for nanofury devices and read with a short timeout on return loop from send_recv.
Don't return an error in usb read if we've managed to get the whole read length we've asked for.
Add helper functions for getting and setting mcp2210 gpio pin designations.
Implement initial part of nanofury init sequence for GPIO pin settings and add output debugging of set values.
Set GPIO LED and power to high in nanofury driver.
Return only binary values for mcp2210 GPIO values.
Implement an mcp2210 spi cancel function.
Cancel any SPI transfers in progress in nanofury after initial setup.
Implement an mcp2210 set spi transfer settings function.
Provide a helper function for gettings mcp2210 spi settings.