[PATCH 0/7] power: supply: core: extensions and fixes

From: MichaÅ MirosÅaw
Date: Thu Apr 02 2020 - 10:57:37 EST


This series covers three areas of power supply class:

1-2. constify property and usb_type lists as they should not be changed
after driver registration
3. make HWMON temp* labels match measurements
4. filter out unused HWMON labels
5-7. extend core to support input/battery/output supply point measurements

A patchset extending bq25890 driver to use the new infrastructure will
follow.

MichaÅ MirosÅaw (7):
power: supply: core: reduce power_supply_show_usb_type() parameters
power: supply: core: allow to constify property lists
power: supply: core: fix HWMON temperature labels
power: supply: core: hide unused HWMON labels
power: supply: core: add input voltage/current measurements
power: supply: core: add output voltage measurements
power: supply: core: document measurement points

Documentation/power/power_supply_class.rst | 6 +
drivers/power/supply/power_supply_hwmon.c | 189 ++++++++++++++++++++-
drivers/power/supply/power_supply_sysfs.c | 15 +-
include/linux/power_supply.h | 9 +-
4 files changed, 202 insertions(+), 17 deletions(-)

--
2.20.1