On Wed, 11 Dec 2024 18:44:47 +0100, Hans de Goede wrote: > As first discussed here: > https://lore.kernel.org/linux-pm/49993a42-aa91-46bf-acef-4a089db4c2db@xxxxxxxxxx/ > > Some power_supply devices have a writable charge_type property, but > userspace cannot know which charge_type values are valid to write. > > This series adds a new "charge_types" property, which is identical to > "charge_type" but reading returns a list of supported charge-types with > the currently active type surrounded by square brackets, e.g.: > > [...] Applied, thanks! [2/4] power: supply: core: Add new "charge_types" property commit: d24bf99214b199c25f9c2cb04b3a4993d1c7ab60 [3/4] power: supply: bq24190_charger: Add support for "charge_types" property commit: 5d417a5e7ade02a7b75cd886d8afe3e9025e7e25 Best regards, -- Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>