summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarry Yang <harryy@codeaurora.org>2016-10-05 15:45:32 -0700
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2016-10-17 11:54:17 -0700
commit3570e9ed98aeb5f8fd538d151cf77205237b3df5 (patch)
tree5cc3edf5b286957d4c4d22ae55154c8d545c8e15 /include
parent04519c9566fdba0027b887c81bcb164d75de8e77 (diff)
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 <harryy@codeaurora.org> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
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,