power: battery_current_limit: Add Battery Current Limit Driver.
Add Battery Current Limit Driver(BCL).
The BCL driver will poll battery monitor system
if thermal daemon enables BCL.
It will notify thermal daemon if IBat crosses Imax threshold.
Change-Id: Id2368e42cc372fbc57e8b03d1e7e4b9c492ed965
Signed-off-by: Binqiang Qiu <bqiu@codeaurora.org>
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 5bcdf7d..00254dd 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -415,6 +415,14 @@
help
Say Y here to enable support for pm8921 chip bms subdevice
+config BATTERY_BCL
+ tristate "Battery Current Limit driver"
+ help
+ Say Y here to enable support for battery current limit
+ device. The BCL driver will poll BMS if
+ thermal daemon enables BCL.
+ It will notify thermal daemon if IBat crosses Imax threshold.
+
config CHARGER_SMB347
tristate "Summit Microelectronics SMB347 Battery Charger"
depends on I2C