On Mon, 09 Dec 2024 21:40: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! [1/4] power: supply: power_supply_show_enum_with_available(): Replace spaces with '_' commit: cc4c34577dbc17729b7e3f1266cf12d043e8c170 Best regards, -- Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>