diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-12-11 18:44:50 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-13 00:39:38 +0100 |
commit | 5d417a5e7ade02a7b75cd886d8afe3e9025e7e25 (patch) | |
tree | 9cc0f623e670994d1c18a0390b16faf54f821f76 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d24bf99214b199c25f9c2cb04b3a4993d1c7ab60 (diff) |
power: supply: bq24190_charger: Add support for "charge_types" property
The bq24190 power_supply class device has a writeable "charge_type"
property, add support for the new "charge_types" property. Reading this
returns a list of supported charge-types with the currently active type
surrounded by square brackets, allowing userspace to find out which
enum power_supply_charge_type values are supported.
This has been tested on a GPD win gaming-handheld.
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241211174451.355421-4-hdegoede@redhat.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions