Configure MPP2 as SW ADC (BTM)

Hello,

We have provided battery’s pin BAT_THM (temperature monitoring) to PMIC as an input. We are now not able to charge the battery using PMIC’s internal charger despite USB is connected.

Please let us know how we can enable the USB charging for the battery in the above case? How can we configure MPP2 as SW ADC (BTM)?

Note: We are working on Linaro_18.01 (Linux).

3 posts were merged into an existing topic: Enable/disable charging from PMIC