Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1af45a9 authored by Rama Krishna Phani A's avatar Rama Krishna Phani A Committed by Gerrit - the friendly Code Review server
Browse files

hwmon: qpnp-adc-voltage: Add version check for VADC thermistor channels



pa-therm, xo_therm channels are used for reading the temperature.
Calibration type for above thermistor channels has to be absolute
for PM8950 1.0 and ratiometric for PM8950 2.0. Add version check to
detect the PMIC used and update the calibration type accordingly.

Change-Id: Iec4ed2ee5895feb91f74051a5ef060a19acb7ec0
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent 6326f417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment