Commit b377415f authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

hwmon: pm8921-adc: Add reverse calibration for BTM



-Change BTM threshold table to map temperature vs
input voltage instead of temperature vs A/D word.
Apply reverse calibration to convert the input
voltage to A/D word.
-Fix representing low/high threshold voltage as
a signed int.

CRs-Fixed: 313653
Change-Id: Ib565c672130f8a246a05636c1353ef0d5b373b7d
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 119a7039
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment