On Thu, Mar 03, 2011 at 02:22:34PM +0530, Pavan Kondeti wrote:
> Hi
> 
> I am adding ACA (Accessory Charger Adapter) detection support for MSM
> OTG driver. Battery charging spec introduced ACA to facilitate charging
> when acting as a host. The host does not have to supply power on VBUS
> when ACA is connected. Host device can also draw some amount of current.
> The amount of current is determined by subtracting the attached
> peripheral current requirement from the charger rating current. I am
> looking for a way to find out the attached peripheral's current
> requirement. We already DEVICE_ADD and DEVICE_REMOVE notifications. But

bMaxPower from the device descriptor ??

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to