RE: Re: omap_musb_board_data -- trouble specifying 500mA supply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > >> 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" ...



--
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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux