Johan Hovold <johan@xxxxxxxxxx> writes: > On Tue, Jul 11, 2017 at 08:52:37AM +0200, Anatolij Gustschin wrote: > >> For devices with connected EEPROM some modes (including UART) are >> configurable in the EEPROM. For devices without EEPROM the default >> mode is always UART, but FIFO-, Bitbang- and MPSSE-mode can be >> switched via commands to the the chip. > > IIRC we should be able read from the EEPROM, and I would at least expect > there to be a way to retrieve the current mode as well. Stupid question, I know, but I cannot help thinking: If you have an EEPROM then why the h... don't you use an application specific device ID? Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html