power: bcl: Add IAVAIL BCL monitor mode support for non-bms targets
IAVAIL BCL monitor mode gets rbat value from power supply bms module
to calculate iavail. Some targets don't have bms module and hence bcl
fails, but rbat value is availabale in power supply battery module for
these targets. Add IAVAIL BCL monitor mode support for non-bms
targets by reading rbat from battery module. BCL checks rbat value
from battery module only if 'qcom,bcl-no-bms' entry is defined in DT.
Change-Id: Id3e9a01c7c447abfceaa0fafe833b6c7542b258c
Signed-off-by:
Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Loading
Please register or sign in to comment