* Steve Sakoman <sakoman@xxxxxxxxx> [081107 06:19]: > On Thu, Nov 6, 2008 at 9:15 PM, David Brownell <david-b@xxxxxxxxxxx> wrote: > > From: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> > > > > Rework card detect GPIO handling in the twl4030 MMC glue: drive > > it *only* from the hsmmc_info passed; remove most of remaining > > "we know we're always a twl4030 GPIO" logic. > > > > Add write-protect switch detection support to that glue. Stub > > in a not-present WP GPIO into most boards. (Beagle's is real.) > > > > Teach the hsmmc driver how to use the card detect and writeprotect > > methods, and move some data structure init earlier so that when IRQs > > come in, more of the data used by their handlers is initialized. > > > > Verified on Beagle (WP, card detect events) and Overo (boots, both > > card and wlan are seen). Beagle behaves fully, and is the model > > to follow for the common case where the TWL4030 gpio-0 card detect > > magic is used. > > Nice work! Overo uses TWL4030 gpio-0 for card detect (just like > Beagle) and GPIO-54 for WP. Yeah, looks good! Pushing. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html