summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUmang Agrawal <uagrawal@codeaurora.org>2018-05-08 17:12:30 +0530
committerUmang Agrawal <uagrawal@codeaurora.org>2018-05-08 17:15:50 +0530
commit0d177827e0862af1a065447590b58d0f00139741 (patch)
treeb8eb13c3838df9665f5647c7f9d08ba811807812 /include
parent463cf733689568e014555ceeba83f2f0dcaacf5a (diff)
smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V
This change will enable userspace to control adapter's output voltage. Userspace can force adapter's output voltage to 5V/9V/12V. Change-Id: I4a60a681c136df6864294dbd19849503a2be2e7b Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/power_supply.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 8b8a46ce32d0..64d0797cc3a7 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -103,6 +103,9 @@ enum {
POWER_SUPPLY_DP_DM_HVDCP3_SUPPORTED = 10,
POWER_SUPPLY_DP_DM_ICL_DOWN = 11,
POWER_SUPPLY_DP_DM_ICL_UP = 12,
+ POWER_SUPPLY_DP_DM_FORCE_5V = 13,
+ POWER_SUPPLY_DP_DM_FORCE_9V = 14,
+ POWER_SUPPLY_DP_DM_FORCE_12V = 15,
};
enum {