Re: [PATCH] Add dynamic MMC-over-SPI-GPIO driver

From: Ben Nizette
Date: Tue Jul 15 2008 - 01:07:05 EST



On Mon, 2008-07-14 at 21:09 +0200, Michael Buesch wrote:
> This driver provides a sysfs interface to dynamically create
> and destroy GPIO-based MMC/SD card interfaces.
> So an MMC or SD card can be connected to generic GPIO pins
> and be configured dynamically from userspace.

Can you use mmc-spi attached to spi-gpio and be done with it? Sure you
won't have the dynamic alloc capability but you won't be reinventing the
wheel either. You don't have dynamic creation for any other platform
device and if you need it then, IMO, it'd be better solved in a more
generic way.

btw, what's this spi-gpio thing? I can't see it in mainline except in a
s3c24xx specific way. My domestic blindness??

--Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/