mbox series

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

Message ID cover.1585837575.git.mirq-linux@rere.qmqm.pl (mailing list archive)
Headers show
Series power: supply: core: extensions and fixes | expand

Message

Michał Mirosław April 2, 2020, 2:57 p.m. UTC
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(-)