summaryrefslogtreecommitdiff
path: root/drivers/thermal/qcom/tsens-v1.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-01-01 21:40:22 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-01-16 11:22:30 +0100
commit903238a33c116edf5f64f7a3fd246e6169cccfa6 (patch)
tree5f9c49d154296f98d5e2f6b2fec32125029843f2 /drivers/thermal/qcom/tsens-v1.c
parent5aec3b035e0cbf3f042c2a03d654e5ad6748feb7 (diff)
thermal/drivers/tsens: limit num_sensors to 9 for msm8939
On msm8939 last (hwid=10) sensor was added in the hw revision 3.0. Calibration data for it was placed outside of the main calibration data blob, so it is not accessible by the current blob-parsing code. Moreover data for the sensor's p2 is not contiguous in the fuses. This makes it hard to use nvmem_cell API to parse calibration data in a generic way. Since the sensor doesn't seem to be actually used by the existing hardware, disable the sensor for now. Fixes: 332bc8ebab2c ("thermal: qcom: tsens-v0_1: Add support for MSM8939") Cc: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Shawn Guo <shawn.guo@linaro.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20230101194034.831222-9-dmitry.baryshkov@linaro.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/qcom/tsens-v1.c')
0 files changed, 0 insertions, 0 deletions