summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyongbin Kim <hyongbink@nvidia.com>2013-08-21 12:22:27 +0900
committerHarry Hong <hhong@nvidia.com>2013-10-20 19:13:39 -0700
commit36224f36babf055557c49418872e4288c5487808 (patch)
treee3f3c81b5309d1275230f56dab97e192bbf23e08 /include
parentb47602e78af87957c192276a335496f160ddf616 (diff)
power: max17048: sysedp throttle in low SOC
When low SOC, limit freq of cpu, gpu, emc by sysedp_lite. Bug 1316595 Change-Id: I112efb815d3c57731d7478bb2ab0589c10f72865 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/264167 (cherry picked from commit 51ac69e5b329f61d7c5ab4c37da4917e36ba256c) Reviewed-on: http://git-master/r/301068 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/max17048_battery.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/max17048_battery.h b/include/linux/max17048_battery.h
index 14ecfb459493..0a03efa3483a 100644
--- a/include/linux/max17048_battery.h
+++ b/include/linux/max17048_battery.h
@@ -41,6 +41,11 @@ struct max17048_platform_data {
int current_threshold_num;
int current_threshold_soc[MAX17048_MAX_SOC_STEP];
int current_threshold[MAX17048_MAX_SOC_STEP];
+
+ void (*sysedp_throttle)(unsigned int power);
+ int sysedp_throttle_num;
+ int sysedp_throttle_soc[MAX17048_MAX_SOC_STEP];
+ unsigned int sysedp_throttle_power[MAX17048_MAX_SOC_STEP];
};
void max17048_battery_status(int status, int chrg_type);