commit | ad74236b904ce758b32aad1c31a29d434975a1e4 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Aug 29 19:50:02 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:18:33 2011 -0700 |
tree | 014332a527f77fe94179f8a048a64853b53ccf08 | |
parent | bc1f0e4bff78efda09639f0a4c5123acba0b4ebd [diff] |
power: pm8921-charger: implement thermal mitigation Implement thermal mitigation in the charger driver. The userspace daemon can get the battery temperature from /sys/class/power_supply/battery/temp and set the mitigation levels on /sys/module/pm8921_charger/parameters/thermal_mitigation The battery driver supports 4 levels [0 through 3]. O being normal and 3 being extreme thermal mitigation. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>