From 3570e9ed98aeb5f8fd538d151cf77205237b3df5 Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Wed, 5 Oct 2016 15:45:32 -0700 Subject: power_supply: add property to reflect switcher frequency Modern battery chargers use a switching buck whose frequency can be adjusted. Create a property to read/update it. CRs-Fixed: 1048242 Change-Id: I7611e6b697222427303df47f837716005e013443 Signed-off-by: Harry Yang 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 cd559848070f..a8ccecf5799a 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -198,6 +198,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_FLASH_CURRENT_MAX, POWER_SUPPLY_PROP_UPDATE_NOW, POWER_SUPPLY_PROP_ESR_COUNT, + POWER_SUPPLY_PROP_BUCK_FREQ, POWER_SUPPLY_PROP_SAFETY_TIMER_ENABLE, POWER_SUPPLY_PROP_CHARGE_DONE, POWER_SUPPLY_PROP_FLASH_ACTIVE, -- cgit v1.2.3