Re: [RFC PATCH 06/10] thermal/drivers/tsens: use generic calibration routine for msm8976

AngeloGioacchino Del Regno
2022-09-12T08:57:47Z

Il 10/09/22 14:46, Dmitry Baryshkov ha scritto:
> According to msm-3.10, msm8976 uses the same routine for processing
> calibration data as other platforms. Drop the msm8976-specific
> compute_intercept_slope_8976() and use compute_intercept_slope().
>
> Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

As far as I remember, at least some MSM8976 versions don't have the slope
fuses populated and/or the values are bad. This is the reason why slopes
are hardcoded.

This commit would break support for MSM8976.
Cc'ing Marijn, as he should be able to re-test this.

Cheers,
Angelo