diff options
| author | Hans de Goede <hansg@kernel.org> | 2025-08-31 14:29:40 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-09-06 01:50:01 +0200 |
| commit | 926b144366c589a0c0c471d02a71590ed24284e0 (patch) | |
| tree | 43610f91708c7575ed06307f508e79cdcfce8aa6 /tools/perf/scripts/python/syscall-counts.py | |
| parent | eede3f72a9658a3c82725ed36723d3189a91b3e5 (diff) | |
power: supply: adc-battery-helper: Add support for optional charge_finished GPIO
Charger ICs often have a status pin which indicates when the charger has
finished charging the battery. Sometimes the status of this pin can be
read over a GPIO.
Add support for optionally reading a charge-finished GPIO and when
available use this to determine when to return POWER_SUPPLY_STATUS_FULL.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250831122942.47875-5-hansg@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
