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

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

 



> Actually in OMAP board files, power values have been
> provided
> With units of 1mA 

Everywhere (!!) in the Linux-USB stack, those units
should be 2mA (just like in config descriptors) ...

which gets divided to half in
> arch/arm/mach-omap2/usb-musb.c

... which is why there's a divide-by-two there.


 before sending it to musb
> driver.

... the divide-by-two should only be skipped when
talking to power supplies or regulators, which don't
have USB conventions to be concerned with.

Looks like some board files need bugfixing.

- Dave


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