summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAshay Jaiswal <ashayj@codeaurora.org>2017-08-09 09:46:31 +0530
committerAnirudh Ghayal <aghayal@codeaurora.org>2017-08-09 09:47:17 +0530
commit04e88147af6a44ee699ac54c0e21d64814d52924 (patch)
tree2ba5097c74673870a79c929716c1030f521b8466 /include/linux
parent1b6a7f7ebb8debc61b7123ffab4e28fc2e85d52d (diff)
power: power_supply: add property for sw based JEITA
Add power_supply property to enable/disable software based JEITA charging. Change-Id: I9fca73c1de524e78c3df83b02a9f5a64488eaae0 Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 6721be921d87..93efe2b916ea 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -251,6 +251,7 @@ enum power_supply_property {
POWER_SUPPLY_PROP_PR_SWAP,
POWER_SUPPLY_PROP_CC_STEP,
POWER_SUPPLY_PROP_CC_STEP_SEL,
+ POWER_SUPPLY_PROP_SW_JEITA_ENABLED,
/* Local extensions of type int64_t */
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
/* Properties of type `const char *' */