linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()
@ 2025-06-08 20:40 Hans de Goede
  2025-06-08 20:40 ` [PATCH 01/10] regulator: act8865-regulator: switch psy_cfg from of_node to fwnode Hans de Goede
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Hans de Goede @ 2025-06-08 20:40 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Hans de Goede, Mark Brown, AngeloGioacchino Del Regno,
	Linus Walleij, linux-pm

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(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-07-06 23:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 20:40 [PATCH 00/10] power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap() Hans de Goede
2025-06-08 20:40 ` [PATCH 01/10] regulator: act8865-regulator: switch psy_cfg from of_node to fwnode Hans de Goede
2025-06-08 20:40 ` [PATCH 02/10] power: supply: core: remove of_node from power_supply_config Hans de Goede
2025-06-08 20:40 ` [PATCH 03/10] power: supply: core: battery-info: fully switch to fwnode Hans de Goede
2025-06-08 20:40 ` [PATCH 04/10] fixup! " Hans de Goede
2025-06-08 20:40 ` [PATCH 05/10] " Hans de Goede
2025-06-08 20:40 ` [PATCH 06/10] power: supply: core: convert to fwnnode Hans de Goede
2025-06-08 20:40 ` [PATCH 07/10] power: supply: core: rename power_supply_get_by_phandle to power_supply_get_by_reference Hans de Goede
2025-06-08 20:40 ` [PATCH 08/10] power: supply: ug3105_battery: Use psy->battery_info Hans de Goede
2025-06-08 20:40 ` [PATCH 09/10] power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap() Hans de Goede
2025-06-08 20:40 ` [PATCH 10/10] power: supply: bq24190: Free battery_info Hans de Goede
2025-06-22  0:10 ` (subset) [PATCH 00/10] power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap() Sebastian Reichel
2025-06-22  1:09   ` Sebastian Reichel
2025-06-26 23:31     ` Mark Brown
2025-07-06 23:36       ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).