On Wed, 2011-08-10 at 10:06 -0400, Vivien Didelot wrote: > > And btw, I'm not sure we really want to put all these drivers in > > arch/x86/platform/ts5500/ a re-create the arm driver mess. > > drivers/leds/, drivers/gpio/ and drivers/mtd/ are probably a best > > choice. > > In fact, this set of patches is a rewrite of the first RFC set, where > we discussed that arch/x86/platform/ could be a good place, as the > TS-5500 is a specific platform with its platform devices (the > corresponding thread is here: https://lkml.org/lkml/2011/5/3/60). Just expose these devices in the device-tree. You shouldn't *need* a new MTD device driver; physmap_of should be just fine. If your bootloader doesn't pass one, your platform-specific code should just register its own device-tree blob during early boot. And your device drivers should just match against the devices therein. -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html