[PATCH v3 00/11] extensions and fixes

From: MichaÅ MirosÅaw
Date: Fri Apr 03 2020 - 16:21:15 EST


This series covers three areas of power supply class:

1-5. constify property and usb_type lists as they should not be changed
after driver registration
6-8. fix and clean up HWMON labels
9-11. extend core to support input/battery/output supply point
measurements

I guess the first part is largely independent, so I can extract it to
a separate series if that's useful.

---
v2: splits power_supply_hwmon_read_string() fix from extensioa
(patches 3-4)
v3: removes power_supply_hwmon_read_string() parameter checks and
adds a prerequisite patches to two drivers to make them compile
after property list constification patch is applied
---

MichaÅ MirosÅaw (11):
power: charger-manager: remove duplicate assignment
power: charger-manager: don't write through desc->properties
power: generic-adc-battery: fold psy_props[] to private data
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/charger-manager.c | 17 +-
drivers/power/supply/generic-adc-battery.c | 30 ++--
drivers/power/supply/power_supply_hwmon.c | 178 +++++++++++++++++++--
drivers/power/supply/power_supply_sysfs.c | 15 +-
include/linux/power_supply.h | 9 +-
6 files changed, 211 insertions(+), 44 deletions(-)

--
2.20.1