commit | 4e64f8c1396f81f6eab7683911a73cffd66c2958 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Mon Apr 08 15:57:32 2013 -0700 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Thu May 09 18:57:11 2013 -0700 |
tree | d235aca0a4c1ad107b039aaa3b12f669cd6994f1 | |
parent | 0e6b2d39b17bdfd706abc9b9c930a39541bb4107 [diff] |
hwmon: qpnp-adc: Add current and vbat compensation Compensate the vbatt voltage for temperature variance above 25degC. The vbatt readings improve with voltage compensation based on the revision. Similar compensation is applied to current which are based on the internal or external rsense and the revision. Change-Id: I3df8b918e6247041d651a0c9d819d77cc6af978c Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org> Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>