More thermal control updates for 6.6-rc1
- Check if the Tegra BPMP supports the trip points in order to set the
.set_trips callback (Mikko Perttunen).
- Add new Loongson-2 thermal sensor along with the DT bindings (Yinbo
Zhu).
- Use IS_ERR_OR_NULL() helper to replace a double test on the TI
bandgap sensor (Li Zetao).
- Remove redundant platform_set_drvdata() calls, as there are no
corresponding calls to platform_get_drvdata(), from a bunch of
drivers (Andrei Coardos).
- Switch the Mediatek LVTS mode to filtered in order to enable
interrupts (NĂcolas F. R. A. Prado).
- Fix Wvoid-pointer-to-enum-cast warning on the Exynos TMU (Krzysztof
Kozlowski).
- Remove redundant dev_err_probe(), because the underlying function
already called it, from the Mediatek sensor (Chen Jiahao).
- Free calibration nvmem after reading it on sun8i (Mark Brown).
- Remove useless comment from the sun8i driver (Yangtao Li).
- Make tsens_xxxx_nvmem static to fix a sparse warning on QCom
tsens (Min-Hua Chen).
- Remove error message at probe deferral on imx8mm (Ahmad Fatoum).
- Fix parameter check in lvts_debugfs_init() with IS_ERR() on
Mediatek LVTS (Minjie Du).
- Fix interrupt routine and configuratoin for Mediatek LVTS (NĂcolas
F. R. A. Prado).
- Drop unused .get_trip_type(), .get_trip_temp() and .get_trip_hyst()
thermal zone callbacks from the core and rework the .get_trend()
one to take a trip point pointer as an argument (Rafael Wysocki).
thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the
.get_trend() thermal zone callback allows one of its 2 implementations,
the thermal_get_trend() function in the ACPI thermal driver, to be
simplified quite a bit, and the other implementation of it in the
ti-soc-thermal driver does not even use the relevant callback argument.
For this reason, change the .get_trend() thermal zone callback
definition and adjust the related code accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
5 files changed