summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2017-07-25 13:10:26 -0700
committerNicholas Troast <ntroast@codeaurora.org>2017-08-10 15:42:12 -0700
commitdcdf2ac6c1db1055e2ac0efa5ecc06a172b64aa9 (patch)
tree4d3f2a9897a951d99ea430b1ac095d7fcb535596 /include/linux
parent39b5f76de03e17a0b80cb94a92496b1f95bf32b0 (diff)
power_supply: add properties for SDP current and PD voltage
SDP_CURRENT_MAX is used to communicate the maximum current negotiated by the USB phy. PD_VOLTAGE_MAX is used to communicate the maximum voltage negotiated by the PD phy. PD_VOLTAGE_MIN is used to communicate the minimum voltage negotiated by the PD phy. Change-Id: I8332f7072c99c2c4e009607d92ccfb47534cc23b Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'include/linux')
-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 93efe2b916ea..982b93ccfbe4 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -252,6 +252,9 @@ enum power_supply_property {
POWER_SUPPLY_PROP_CC_STEP,
POWER_SUPPLY_PROP_CC_STEP_SEL,
POWER_SUPPLY_PROP_SW_JEITA_ENABLED,
+ POWER_SUPPLY_PROP_PD_VOLTAGE_MAX,
+ POWER_SUPPLY_PROP_PD_VOLTAGE_MIN,
+ POWER_SUPPLY_PROP_SDP_CURRENT_MAX,
/* Local extensions of type int64_t */
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
/* Properties of type `const char *' */