OSDN Git Service

power: bcl_peripheral: Support new bcl peripheral
authorRam Chandrasekar <rkumbako@codeaurora.org>
Fri, 11 Mar 2016 21:29:09 +0000 (14:29 -0700)
committerJeevan Shriram <jshriram@codeaurora.org>
Thu, 12 May 2016 22:05:01 +0000 (15:05 -0700)
commit92ad7a30f32fc98af6b7567300d05a6fadb28c9d
tree549653f3b9976feb5bd004c92b9b382e2866b1f5
parent9383bcf86ad0fb0617ae64930315070148ac26ae
power: bcl_peripheral: Support new bcl peripheral

Add support for the new version of bcl peripheral introduced
in PMIcobalt.

The new support includes,
1. support the new address space
2. set the new Ibat too high threshold
3. set the new vbat low comparator threshold
4. set the new vbat too low comparator threshold
5. enable the LMH DCVSh monitor algorithm, when the
   thresholds are configured.

CRs-Fixed: 1010115
Change-Id: I6dad908bbc673ff1b7f7d3d05fecdfc8f48b5815
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Documentation/devicetree/bindings/arm/msm/bcl.txt
drivers/power/qcom-charger/bcl_peripheral.c