On Wed, Apr 28, 2010 at 10:53 AM, Gupta, Ajay Kumar <ajay.gu...@ti.com> wrote:
> Hi,
>> -----Original Message-----
>> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
>> ow...@vger.kernel.org] On Behalf Of Cliff Brake
>> Sent: Wednesday, April 28, 2010 7:40 PM
>> To: Linux OMAP Users
>> Subject: omap_musb_board_data -- trouble specifying 500mA supply
>>
>> Hello,
>>
>> 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?
>
> There is already a fix submitted and is available at Greg's queue,
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb.current/musb-fix-power-field-to-hold-all-possible-values.patch

I'm also having trouble figuring out the correct way to convince the
OTG system not to use the internal phy VBUS power supply.  Are there
any examples of a board config that does this?  Perhaps the AM35xx,
etc?

Thanks,
Cliff
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to