mbox series

[v2,0/8] power: supply: core: extensions and fixes

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

Message

Michał Mirosław April 3, 2020, 4:23 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-5. fix and clean up HWMON labels
6-8. extend core to support input/battery/output supply point
     measurements

---
v2: splits power_supply_hwmon_read_string() fix from extensioa
    (patches 3-4)

Michał Mirosław (8):
  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: tabularize 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  | 198 +++++++++++++++++++--
 drivers/power/supply/power_supply_sysfs.c  |  15 +-
 include/linux/power_supply.h               |   9 +-
 4 files changed, 210 insertions(+), 18 deletions(-)