power: pm8921-charger: implement temperature control

pm8921 has a special hardware to monitor the battery temperature. Use
this block to program the cool and warm thresholds and reduce charging
current accordingly.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2 files changed