From 0d177827e0862af1a065447590b58d0f00139741 Mon Sep 17 00:00:00 2001 From: Umang Agrawal Date: Tue, 8 May 2018 17:12:30 +0530 Subject: 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 --- include/linux/power_supply.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3