Hi,
> > > >> We are designing a custom OMAP board that
> > will have a 500mA supply on
> > > >> the OTG port. It looks like the power
> > is set with:
> > > >>
> > > >> struct omap_musb_board_data {
> > > >> u8
> > interface_type;
> > > >> u8
> > mode;
> > > >> u8
> > power;
> > > >> };
> > > >>
> > > >> However, with a u8, the max value is
> > 255. Should power be changed to a
> > > >> u16?
>
> No. The units are "2mA" not "1mA", matching the USB specs.
>
> So to specify 500mA (the max), say "250" ...
David,
Actually in OMAP board files, power values have been provided
With units of 1mA which gets divided to half in
arch/arm/mach-omap2/usb-musb.c before sending it to musb driver.
-Ajay
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html