From 17d9f0383d607a8c8856d6d347a1b9997e356644 Mon Sep 17 00:00:00 2001 From: Ashay Jaiswal Date: Thu, 23 Mar 2017 10:34:18 +0530 Subject: power_supply: add HW_CURRENT_MAX power_supply property Add support for HW_CURRENT_MAX property which returns maximum input current that can be set for an adapter. This property will be specifically used by parallel charger to cast an initial ICL vote. CRs-Fixed: 2014572 Change-Id: I49e80e6b25f40791d9035bc1567fdf881914b1e8 Signed-off-by: Ashay Jaiswal Signed-off-by: Abhijeet Dharmapurikar --- include/linux/power_supply.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 864f7f6a0d01..7488bb993d7a 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -246,6 +246,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_DIE_HEALTH, POWER_SUPPLY_PROP_CONNECTOR_HEALTH, POWER_SUPPLY_PROP_CTM_CURRENT_MAX, + POWER_SUPPLY_PROP_HW_CURRENT_MAX, /* Local extensions of type int64_t */ POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT, /* Properties of type `const char *' */ -- cgit v1.2.3