On Tue, Sep 02, 2008 at 12:05:00PM -0700, David Brownell wrote: > From: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> > > Minor cleanups to omap 2430/34xx/35x musb_hdrc init: > > - num_eps is 16; here, each one is bidirectional > - use DMA_32BIT_MASK to prevent confusion/errors > - initialize root port power to reflect 100 mA limit > > This still hard-wires some board-specific data, since there > are no hooks through which different boards can provide the > right data to the init code. > > Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> > + > + /* REVISIT charge pump on TWL4030 can supply up to > + * 100 mA ... but this value is board-specific, like > + * "mode", and should be passed to usb_musb_init(). > + */ > + .power = 50, /* up to 100 mA */ We can add some parameters to usb_musb_init(); Something similar should be done to hsmmc_init(), as of now it only registers one slot and some boards have more than one. -- balbi -- 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