power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | regulator: act8865-regulator: switch psy_cfg from of_node to fwnodedrivers/ | +1 | 0 replies | |
| 2/10 | power: supply: core: remove of_node from power_supply_configdrivers/ include/ | +1 | 0 replies | |
| 3/10 | power: supply: core: battery-info: fully switch to fwnodedrivers/ | +63 | 0 replies | |
| 4/10 | fixup! power: supply: core: battery-info: fully switch to fwnodedrivers/ | +7 | 0 replies | |
| 5/10 | fixup! power: supply: core: battery-info: fully switch to fwnodedrivers/ | +3 | 0 replies | |
| 6/10 | power: supply: core: convert to fwnnodedrivers/ drivers/ include/ | +34 | 0 replies | |
| 7/10 | power: supply: core: rename power_supply_get_by_phandle to power_supply_get_by_referencedrivers/ drivers/ drivers/ +1 more | +15 | 0 replies | |
| 8/10 | power: supply: ug3105_battery: Use psy->battery_infodrivers/ | +7 | 0 replies | |
| 9/10 | power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()drivers/ | +10 | 0 replies | |
| 10/10 | power: supply: bq24190: Free battery_infodrivers/ | +2 | 0 replies |
Reviews trailers per patch
5 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Hans de Goede | AngeloGioacchino Del Regno |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | R-b |
| 3/10 | R-b | |
| 4/10 | ||
| 5/10 | ||
| 6/10 | R-b | R-b |
| 7/10 | R-b | |
| 8/10 | ||
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()
Hi All,
This series converts the ug3105_battery driver from using a static ovc - capcity mapping table + its own DIY code to using the ovc-capacity-table(s) from the battery fwnode and using the power_supply_batinfo_ocv2cap() helper.
Since the ug3105_battery driver is used on ACPI platforms this relies on sre's "[PATCH v2 0/5] power: supply: core: convert to fwnode" series for completenes sake I've added a copy of that series + 2 fixup patches to "[PATCH v2 3/5] power: supply: core: battery-info: fully switch to fwnode", the original patches are unmodified.
While working on this I also noticed somewhat of a memleak in the bq24190 driver, so the final patch in the series is a fix for that.
Regards,
Hans
Hans de Goede (5):
fixup! power: supply: core: battery-info: fully switch to fwnode fixup! power: supply: core: battery-info: fully switch to fwnode
power: supply: ug3105_battery: Use psy->battery_info
power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()
power: supply: bq24190: Free battery_info
Sebastian Reichel (5):
regulator: act8865-regulator: switch psy_cfg from of_node to fwnode
power: supply: core: remove of_node from power_supply_config
power: supply: core: battery-info: fully switch to fwnode
power: supply: core: convert to fwnnode
power: supply: core: rename power_supply_get_by_phandle to
power_supply_get_by_reference
drivers/phy/allwinner/phy-sun4i-usb.c | 2 +- drivers/power/supply/bq2415x_charger.c | 2 +- drivers/power/supply/bq24190_charger.c | 2 + drivers/power/supply/power_supply_core.c | 185 ++++++++++++----------- drivers/power/supply/ug3105_battery.c | 81 ++-------- drivers/regulator/act8865-regulator.c | 2 +- include/linux/power_supply.h | 16 +- 7 files changed, 118 insertions(+), 172 deletions(-)
Signature · 1 line
2.49.0