drivers: bcl-pmic5: Add a BCL driver for the BCL Peripheral

The new version 5 of the PMIC, has a new BCL peripheral, where the same
hardware with limited functionality can be found in different PMIC's.
For example, one peripheral can monitor only vbat, while other
peripheral can monitor both vbat and ibat.

This is a common driver, that can be used to configure both the PMIC
versions. This driver can monitor vbat and ibat interrupts and notify
the thermal framework when a trip threshold is reached. This driver can
configure the thresholds for only ibat monitoring. vbat is
pre-configured in hardware.

Change-Id: I69fa0ed1250b51c42764e1b243ddcb284bb0db29
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
4 files changed