summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-03-21 15:54:35 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-02-15 03:18:57 -0800
commit217426d4c2ea6bda5205ca4b2b7f40128b12316e (patch)
tree88af36726c82d753cec9522a84308027d9541cc1 /include/linux
parentdb40308e7b75501138851f8ab5feaa12b51e60dd (diff)
power_supply: add support to control hvdcp3 detection
Currently, HVDCP3 detection is enabled by default. Add support to control it dynamically through a power supply property "allow_hvdcp3". CRs-Fixed: 991060 Change-Id: Id283b572cdb51094ad53d590e230104dc3e1beb7 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org> Signed-off-by: Shilpa Suresh <sbsure@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 23c1e473f34b..c0dff92be9b9 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -265,6 +265,7 @@ enum power_supply_property {
POWER_SUPPLY_PROP_BATTERY_INFO,
POWER_SUPPLY_PROP_BATTERY_INFO_ID,
POWER_SUPPLY_PROP_ENABLE_JEITA_DETECTION,
+ POWER_SUPPLY_PROP_ALLOW_HVDCP3,
/* Local extensions of type int64_t */
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
/* Properties of type `const char *' */