diff options
author | Nicholas Troast <ntroast@codeaurora.org> | 2017-02-05 19:44:33 -0800 |
---|---|---|
committer | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-02-10 12:52:15 +0530 |
commit | fcc57cd62fa19d916fdcca66df3bbf09ebb62c56 (patch) | |
tree | 81cacc95f03fa79c3c2e0665a1308de80c875322 /include | |
parent | 683a347835e6aa2a70af3f3af4e552d92b1243f9 (diff) |
power_supply: add CTM_CURRENT_MAX property
POWER_SUPPLY_PROP_CTM_CURRENT_MAX is needed by CTM to limit USB input
current. Add it.
Change-Id: I8aac65a91959300676cf7e1c2685a557f322c509
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index ee87e77e1b16..41568e45c024 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -240,6 +240,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_PARALLEL_MODE, POWER_SUPPLY_PROP_DIE_HEALTH, POWER_SUPPLY_PROP_CONNECTOR_HEALTH, + POWER_SUPPLY_PROP_CTM_CURRENT_MAX, /* Local extensions of type int64_t */ POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT, /* Properties of type `const char *' */ |