summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIgor Velkov <iav@iav.lv>2026-10-18 03:57:53 +0000
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-10-18 12:21:00 +0200
commitf0f400459bf6a037e70768de623fff3f8920b8bb (patch)
tree84a9f05b8a3860fd82f2079042d529aa58fa5f26 /include/linux
parent6c8098e04ee4d233399e40e7311715844910f8f8 (diff)
downloadlinux-f0f400459bf6a037e70768de623fff3f8920b8bb.tar.gz
linux-f0f400459bf6a037e70768de623fff3f8920b8bb.zip
power: supply: gpio-charger: Report discharging without input power
The status property follows only the charge-status GPIO. Without input power a charger such as the BQ24133 releases its open-drain STAT pin, and depending on the board the GPIO then reads as charging. On Kobol Helios64 the board runs from its battery after a mains loss, and the charger reports online 0 with status "Charging". Report "Discharging" whenever the online GPIO is present and inactive. Fixes: df68c44c720a ("power: supply: gpio-charger: Add support for charger status.") Assisted-by: LLM Signed-off-by: Igor Velkov <iav@iav.lv> Link: https://patch.msgid.link/20261018-gpio-charger-offline-v2-1-482795f9e27c@iav.lv Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions