On Mon, Jan 18, 2016 at 05:41:18PM -0200, Raphael wrote: > Hi, > > I developed a hardware that has a Microchip USB2642 (USB Hub with MMC > interface), which is kernel supported by chipidea IP (ci_hdrc) driver. > > I connected a Bluegiga WF111-A WiFi module to the MMC interface of the > USB2642. So, in a hardware sense, everything is fine. > > The problem is that the only driver available from BlueGiga uses linux > MMC stack. So although usb-storage detects the module as a SCSI disk > interface (/dev/sda), the driver doesn't work, as it searches the MMC > stack for the module, and finds nothing. > > I have been taking a look at usb-storage driver, SDIO specs and a > specific document from Microchip that shows a "SDIO over USB bridge" > reference, which actually is what usb-storage does (SCSI Bulk-Only > with SCSI Transparent transport) and so I wonder if is it reasonable > to write a "MMC host interface/bridge" in the usb-storage driver so > that any SDIO driver can attach to the USB subsystem. > > At first it seems only that I need to make some kind of glue between > both stacks (usb-storage and mmc). > > Or, maybe the right option is to ignore usb-storage and implement usb > bindings on a custom MMC host. So I want some opinions before I begin > to make crap. > Take a look at the drivers under drivers/usb/storage/, there are lots of similar bridge driver code. -- Best Regards, Peter Chen -- 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