summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@nokia.com>2010-11-04 15:31:47 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-11-18 14:56:19 +0100
commitbac43b20501058ab0728246acce3bb85f2e72648 (patch)
treefed801e3c27befbfc35042d2b77373c2f08e66a6 /kernel
parentisp1704_charger: Correct length for storing model (diff)
downloadlinux-bac43b20501058ab0728246acce3bb85f2e72648.tar.xz
linux-bac43b20501058ab0728246acce3bb85f2e72648.zip
isp1704_charger: Detect HUB/Host chargers
To avoid breaking high speed chirp handshaking with CDP chargers, no more then 500mA should be drawn. To make sure of this, utilizing current_max property. After the device has enumerated, it's safe to draw the maximum 1800mA as defined in the Battery Charging Specification. This can be also used with normal USB connection if the controller sends ENUMERATED notification with the milliamps as data. From now on the online property indicates VBUS, present property if there is a charger and current_max the milliamps possible to draw from VBUS. Signed-off-by: Heikki Krogerus <heikki.krogerus@nokia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions