diff options
author | Iskren Chernev <iskren.chernev@gmail.com> | 2020-09-22 14:42:37 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-10-03 19:21:24 +0200 |
commit | ee2d433cb47338cd40af800cdab5133f62edca10 (patch) | |
tree | 9acebb0b522877700bbc16a5ef28d7ea9a08fe2f /drivers/power/supply/bq24257_charger.c | |
parent | 1779c6e3496a53d9cbbbcd248b234b2b6a07435c (diff) | |
download | lwn-ee2d433cb47338cd40af800cdab5133f62edca10.tar.gz lwn-ee2d433cb47338cd40af800cdab5133f62edca10.zip |
power: supply: max17040: Support soc alert
max17048 and max17049 support SOC alerts (interrupts when battery
capacity changes by +/- 1%). At the moment the driver polls for changes
every second. Using the alerts removes the need for polling.
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Tested-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/bq24257_charger.c')
0 files changed, 0 insertions, 0 deletions