From 9c585526980f4ed9916a67a052d7eafa3bc014f8 Mon Sep 17 00:00:00 2001 From: Nicholas Troast Date: Tue, 2 Aug 2016 13:43:58 -0700 Subject: power_supply: add PIN_ENABLED property Hardware disables the parallel charger via the CHG_EN pin. Add a new property called PIN_ENABLED which reflects the status of the CHG_EN pin. Change-Id: I79f95b145176b66d6b8cec5a21922ea16c2c8206 Signed-off-by: Nicholas Troast --- include/linux/power_supply.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index b081a56e250f..a035a69815fa 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -174,9 +174,9 @@ enum power_supply_property { /* Local extensions */ POWER_SUPPLY_PROP_USB_HC, POWER_SUPPLY_PROP_USB_OTG, - POWER_SUPPLY_PROP_CHARGE_ENABLED, POWER_SUPPLY_PROP_BATTERY_CHARGING_ENABLED, POWER_SUPPLY_PROP_CHARGING_ENABLED, + POWER_SUPPLY_PROP_PIN_ENABLED, POWER_SUPPLY_PROP_INPUT_SUSPEND, POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION, POWER_SUPPLY_PROP_INPUT_CURRENT_MAX, -- cgit v1.2.3