android_kernel_xiaomi_sm8450/drivers/thermal
Dmitry Baryshkov 695f1d9431 thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
[ Upstream commit a7d3006be5ca7b04e4b84b5ceaae55a700e511bd ]

Tsens driver mentions that msm8976 data should be used for both msm8976
and msm8956 SoCs. This is not quite correct, as according to the
vendor kernels, msm8976 should use standard slope values (3200), while
msm8956 really uses the slope values found in the driver.

Add separate compatibility string for msm8956, move slope value
overrides to the corresponding init function and use the standard
compute_intercept_slope() function for both platforms.

Fixes: 0e58029017 ("thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-7-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:21 +01:00
..
broadcom thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe 2022-06-09 10:21:11 +02:00
intel thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type() 2023-02-01 08:23:25 +01:00
qcom thermal/drivers/tsens: Sort out msm8976 vs msm8956 data 2023-03-11 16:39:21 +01:00
samsung thermal/drivers/exynos: Fix an error code in exynos_tmu_probe() 2021-09-26 14:08:57 +02:00
st
tegra
ti-soc-thermal
amlogic_thermal.c
armada_thermal.c
cpufreq_cooling.c thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure 2021-07-14 16:55:47 +02:00
cpuidle_cooling.c
da9062-thermal.c
db8500_thermal.c
devfreq_cooling.c
dove_thermal.c
gov_bang_bang.c
gov_fair_share.c thermal/core/fair share: Lock the thermal zone while looping over instances 2021-05-11 14:47:41 +02:00
gov_power_allocator.c
gov_step_wise.c
gov_user_space.c
hisi_thermal.c
imx8mm_thermal.c thermal/drivers/imx8mm_thermal: Validate temperature range 2023-01-14 10:16:01 +01:00
imx_sc_thermal.c thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe 2022-06-09 10:21:11 +02:00
imx_thermal.c thermal/drivers/imx: Implement runtime PM support 2022-01-27 10:53:52 +01:00
k3_bandgap.c
Kconfig
khadas_mcu_fan.c
kirkwood_thermal.c
Makefile
max77620_thermal.c
mtk_thermal.c
qoriq_thermal.c
rcar_gen3_thermal.c thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1 2021-07-25 14:36:16 +02:00
rcar_thermal.c
rockchip_thermal.c
spear_thermal.c
sprd_thermal.c thermal/drivers/sprd: Add missing of_node_put for loop iteration 2021-07-25 14:36:16 +02:00
sun8i_thermal.c
tango_thermal.c
thermal_core.c thermal/core: Fix memory leak in the error path 2022-06-09 10:21:30 +02:00
thermal_core.h
thermal_helpers.c
thermal_hwmon.c
thermal_hwmon.h
thermal_mmio.c
thermal_netlink.c thermal: core: Fix TZ_GET_TRIP NULL pointer dereference 2022-03-08 19:09:32 +01:00
thermal_netlink.h
thermal_of.c thermal: Fix NULL pointer dereferences in of_thermal_ functions 2021-11-21 13:46:37 +01:00
thermal_sysfs.c thermal: sysfs: Fix cooling_device_stats_setup() error code path 2022-08-21 15:15:22 +02:00
thermal-generic-adc.c
uniphier_thermal.c
zx2967_thermal.c