diff options
| author | 2025-08-31 14:29:40 +0200 | |
|---|---|---|
| committer | 2025-09-06 01:50:01 +0200 | |
| commit | 926b144366c589a0c0c471d02a71590ed24284e0 (patch) | |
| tree | 43610f91708c7575ed06307f508e79cdcfce8aa6 /scripts/basic/git:/ssh: | |
| parent | power: supply: ug3105_battery: Put FG in standby on remove and shutdown (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 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
