Commit 238e34ad authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Daniel Lezcano
Browse files

iio: adc: qcom-vadc-common: add reverse scaling for PMIC5 Gen2 ADC_TM



Add reverse scaling function for PMIC5 Gen2 ADC_TM, to convert
temperature to raw ADC code, for setting thresholds for
thermistor channels.

Signed-off-by: default avatarJishnu Prakash <quic_jprakash@quicinc.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/1648991869-20899-3-git-send-email-quic_jprakash@quicinc.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent e46e003a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment