linux/drivers/thermal/qcom
Dmitry Baryshkov 903238a33c 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: 332bc8ebab ("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>
2023-01-16 11:22:30 +01:00
..
Kconfig nvmem: prefix all symbols with NVMEM_ 2022-09-24 14:54:38 +02:00
lmh.c thermal/drivers/qcom/lmh: Fix irq handler return value 2022-12-14 15:25:41 +01:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c thermal/drivers/qcom: Demote error log of thermal zone register to debug 2022-12-14 15:25:40 +01:00
qcom-spmi-temp-alarm.c thermal/drivers/qcom: Fix lock inversion 2023-01-06 14:14:48 +01:00
tsens-8960.c thermal/drivers/tsens: Allow configuring min and max trips 2022-12-14 15:25:40 +01:00
tsens-v0_1.c thermal/drivers/tsens: limit num_sensors to 9 for msm8939 2023-01-16 11:22:30 +01:00
tsens-v1.c thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-01-16 11:22:30 +01:00
tsens-v2.c thermal/drivers/tsens: Add IPQ8074 support 2022-12-14 15:25:40 +01:00
tsens.c thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-01-16 11:22:30 +01:00
tsens.h thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-01-16 11:22:30 +01:00