linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] power: supply: core: align charge_behaviour format with docs
@ 2024-02-04 17:26 Thomas Weißschuh
  2024-02-04 17:26 ` [PATCH 1/4] power: supply: core: fix charge_behaviour formatting Thomas Weißschuh
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Thomas Weißschuh @ 2024-02-04 17:26 UTC (permalink / raw)
  To: Sebastian Reichel, Hans de Goede, Konrad Dybcio
  Cc: linux-pm, linux-kernel, Sebastian Reichel, Thomas Weißschuh

The original submission of the charge_behaviour property did not
implement proper formatting in the default formatting handler in
power_supply_sysfs.c.

At that time it was not a problem because the only provider of the UAPI,
thinkpad_acpi, did its own formatting.

Now there is an in-tree driver, mm8013, and out-of-tree driver which use
the normal power-supply properties and are affected by the wrong
formatting.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      power: supply: core: fix charge_behaviour formatting
      power: supply: test-power: implement charge_behaviour property
      power: supply: mm8013: implement POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR_AVAILABLE
      power: supply: core: drop workaround for missing POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR_AVAILABLE

 drivers/power/supply/mm8013.c             |  5 +++++
 drivers/power/supply/power_supply_sysfs.c | 28 ++++++++++++++++++++++++++++
 drivers/power/supply/test_power.c         | 10 ++++++++++
 include/linux/power_supply.h              |  1 +
 4 files changed, 44 insertions(+)
---
base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
change-id: 20230929-power_supply-charge_behaviour_prop-10ccfd96a666

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


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

end of thread, other threads:[~2024-02-19 23:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-04 17:26 [PATCH 0/4] power: supply: core: align charge_behaviour format with docs Thomas Weißschuh
2024-02-04 17:26 ` [PATCH 1/4] power: supply: core: fix charge_behaviour formatting Thomas Weißschuh
2024-02-05  9:52   ` Hans de Goede
2024-02-05 11:43     ` Hans de Goede
2024-02-19 23:19       ` Sebastian Reichel
2024-02-04 17:26 ` [PATCH 2/4] power: supply: test-power: implement charge_behaviour property Thomas Weißschuh
2024-02-05  9:59   ` Hans de Goede
2024-02-04 17:26 ` [PATCH 3/4] power: supply: mm8013: implement POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR_AVAILABLE Thomas Weißschuh
2024-02-05 10:00   ` Hans de Goede
2024-02-05 11:21     ` Thomas Weißschuh
2024-02-12 13:22       ` Konrad Dybcio
2024-02-05 11:41   ` Konrad Dybcio
2024-02-04 17:26 ` [PATCH 4/4] power: supply: core: drop workaround for missing POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR_AVAILABLE Thomas Weißschuh
2024-02-05  9:58   ` Hans de Goede

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