summaryrefslogtreecommitdiff
path: root/drivers/power/wm97xx_battery.c
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2009-11-04 21:24:55 (GMT)
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-11-16 00:28:31 (GMT)
commit31b4ff06e01a9a98a8e6ae6e8c42213648eec1d1 (patch)
tree1ba2e40e552da32d63e644d972ddc1cfc7be5343 /drivers/power/wm97xx_battery.c
parent7677f33f0a813e98612dce97d5342c1f5046878a (diff)
downloadlinux-fsl-qoriq-31b4ff06e01a9a98a8e6ae6e8c42213648eec1d1.tar.xz
pcf50633: introduces battery charging current control
Implement a new sysfs attribute to allow changing MBC charging limit on the fly independently of usb current limit. It also gets set automatically every time usb current limit is changed. Limiting charging current also prevents violating USB specification in the case when the whole device is shut down and usb current limit is reset to the factory default by the pcf50633 state transition. Signed-off-by: Balaji Rao <balajirrao@openmoko.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/wm97xx_battery.c')
0 files changed, 0 insertions, 0 deletions