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

Commit 125df02f authored by Rama Krishna Phani A's avatar Rama Krishna Phani A
Browse files

hwmon: qpnp-adc-voltage: Add version check for case_therm channel



case_therm channel is used for reading the skin temperature.
Calibration type for above thermistor channel 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: Ia9e959ca496cbbb9131a4786cc1c79402bf2b005
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent 81e1da90
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