summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2020-06-29 17:49:26 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-07-27 11:33:41 +0300
commit332bc8ebab2c0d00e80dd23377ec23ad3de83214 (patch)
tree594e9e878604a48045591a2e4145698c6adcacd6 /lib/mpi/mpiutil.c
parentec99756ae139482715c467b406358227dfaa2885 (diff)
downloadlinux-332bc8ebab2c0d00e80dd23377ec23ad3de83214.tar.xz
thermal: qcom: tsens-v0_1: Add support for MSM8939
The TSENS integrated on MSM8939 is a v0_1 device with 10 sensors. Different from its predecessor MSM8916, where 'calib_sel' bits sit in separate qfprom word, MSM8939 has 'cailb' and 'calib_sel' bits mixed and spread on discrete offsets. That's why all qfprom bits are read as one go and later mapped to calibration data for MSM8939. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Amit Kucheria <amit.kucheria@linaro.org> Tested-by: Konrad Dybcio <konradybcio@gmail.com> /* on Asus Z00T smartphone */ Acked-by: Konrad Dybcio <konradybcio@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200629144926.665-3-shawn.guo@linaro.org
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions