Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f7c1bfcf authored by David Collins's avatar David Collins Committed by Stephen Boyd
Browse files

mfd: pm8xxx: Add PM8xxx battery alarm driver



Add a driver to control the battery alarm module of PMIC PM8xxx
devices.  This module uses a pair of comparators to determine
when battery under and over-voltage take place.  A wakeup
interrupt is triggered in these cases which can then run any
notifiers which have been registered.  Also add APIs to
configure the threshold voltages and the frequency at which the
hardware checks the state of the battery voltage.

Change-Id: Id0b82f9090b29ce743b5e0faac17853c94111771
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 07cebaca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment