On Fri, Sep 14, 2012 at 10:08:56PM +0000, Robert Ryszard Paciorek wrote: > Maybe this is a better solution, especially considering aversion to do this > by the module parameters. > > Or maybe it is better to give support for I2C, SPI to ftdi_sio module and use > sysfs to switch betwen uart/ic2c/spi ... If can do this on interface basis per-device it looks better. > > However back to the SPI/I2C > > thingy. You ignore one uart port and decide to use it as SPI host right? So > > you should get a reference somehow to this port so you can register a SPI > > host to the system right? How do you do this? > > I plan do this with other kernel module, matching to the same device, but > serving other interface. I haven't complete module yet, but in first tests > this concept works ok. How generic is this? I mean is this SPI mode something the chip supports or is this just SPI over UART since you enough wires? > Robert Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html