finding out the attached device current requirement

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

 



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
we can not assume that device will be configured by the time DEVICE_ADD
notification is sent. And also there is a possibility that configuration
change request from use. Is it a good idea to add DEVICE_CONFIG_CHANGE
notification to solve this problem?

Thanks,
Pavan

-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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 Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux