[GIT PULL] thermal material for v6.6-rc1

From: Daniel Lezcano
Date: Tue Aug 29 2023 - 09:11:01 EST



Hi Rafael,

please consider this pull request for the thermal material

Thanks

The following changes since commit f6a756e8fb12923f0e3996a575e935e94f3594eb:

thermal: Explicitly include correct DT includes (2023-07-31 20:03:42 +0200)

are available in the Git repository at:


ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v6.6-rc1

for you to fetch changes up to 1ef5a9f61457b921158ef03f3a2b3e789b41be9f:

thermal/drivers/tegra-bpmp: Check if BPMP supports trip points (2023-08-22 19:10:28 +0200)

----------------------------------------------------------------
- Check if the Tegra BPMP supports the trip points in order to set the
.set_trips callback (Mikko Perttunen)

- Add the 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 the call to platform_set_drvdata() as there is no call to
platform_get_drvdata() in a bunch of drivers where that happens
(Andrei Coardos)

- Switch the Mediatek LVTS mode to filtered in order to enable the
interrupts (Nícolas F. R. A. Prado)

- Fix Wvoid-pointer-to-enum-cast warning on the Exynos TMU (Krzysztof
Kozlowski)

- Remove redundant usage of of_match_ptr() as the driver db8500
already depends on CONFIG_OF (Ruan Jinjie)

- Remove redundant dev_err_probe() because the underlying function
already called it in the Mediatek sensor (Chen Jiahao)

- Free calibration nvmem after reading it on sun8i (Mark Brown)

- Remove useless comment in the code on sun8i (Yangtao Li)

- Make tsens_xxxx_nvmem static to fix 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 the interrupt routine and configuratoin for the Mediatek LVTS
(Nícolas F. R. A. Prado)

----------------------------------------------------------------
Ahmad Fatoum (1):
thermal/drivers/imx8mm: Suppress log message on probe deferral

Andrei Coardos (8):
thermal/drivers/broadcom/sr-thermal: Removed call to platform_set_drvdata()
thermal/drivers/k3_j72xx_bandgap: Removed unneeded call to platform_set_drvdata()
thermal/drivers/k3_bandgap: Remove unneeded call to platform_set_drvdata()
thermal/drivers/broadcom/brcstb_thermal: Removed unneeded platform_set_drvdata()
thermal/drivers/sun8i_thermal: Remove unneeded call to platform_set_drvdata()
thermal/drivers/mediatek/auxadc_thermal: Removed call to platform_set_drvdata()
thermal/drivers/max77620_thermal: Removed unneeded call to platform_set_drvdata()
thermal/drivers/generic-adc: Removed unneeded call to platform_set_drvdata()

Chen Jiahao (1):
thermal/drivers/mediatek: Clean up redundant dev_err_probe()

Krzysztof Kozlowski (1):
thermal/drivers/samsung: Fix Wvoid-pointer-to-enum-cast warning

Li Zetao (1):
thermal/drivers/ti-soc-thermal: Use helper function IS_ERR_OR_NULL()

Mark Brown (1):
thermal/drivers/sun8i: Free calibration nvmem after reading it

Mikko Perttunen (1):
thermal/drivers/tegra-bpmp: Check if BPMP supports trip points

Min-Hua Chen (1):
thermal/drivers/tsens: Make tsens_xxxx_nvmem static

Minjie Du (1):
thermal/drivers/mediatek/lvts: Fix parameter check in lvts_debugfs_init()

Nícolas F. R. A. Prado (7):
thermal/drivers/mediatek/lvts_thermal: Handle IRQ on all controllers
thermal/drivers/mediatek/lvts_thermal: Honor sensors in immediate mode
thermal/drivers/mediatek/lvts_thermal: Use offset threshold for IRQ
thermal/drivers/mediatek/lvts_thermal: Disable undesired interrupts
thermal/drivers/mediatek/lvts_thermal: Don't leave threshold zeroed
thermal/drivers/mediatek/lvts_thermal: Manage threshold between sensors
thermal/drivers/mediatek/lvts_thermal: Make readings valid in filtered mode

Ruan Jinjie (1):
thermal/drivers/db8500: Remove redundant of_match_ptr()

Yangtao Li (1):
thermal/drivers/sun8i: Remove unneeded comments

Yinbo Zhu (2):
thermal/drivers/loongson-2: Add thermal management support
thermal: dt-bindings: add loongson-2 thermal

Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml | 44 +++++++++++++
MAINTAINERS | 8 +++
drivers/thermal/Kconfig | 12 ++++
drivers/thermal/Makefile | 1 +
drivers/thermal/broadcom/brcmstb_thermal.c | 1 -
drivers/thermal/broadcom/sr-thermal.c | 1 -
drivers/thermal/db8500_thermal.c | 2 +-
drivers/thermal/imx8mm_thermal.c | 6 +-
drivers/thermal/k3_bandgap.c | 1 -
drivers/thermal/k3_j72xx_bandgap.c | 2 -
drivers/thermal/loongson2_thermal.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++++
drivers/thermal/max77620_thermal.c | 2 -
drivers/thermal/mediatek/auxadc_thermal.c | 2 -
drivers/thermal/mediatek/lvts_thermal.c | 175 +++++++++++++++++++++++++++++++++++++-------------
drivers/thermal/qcom/tsens-v0_1.c | 6 +-
drivers/thermal/qcom/tsens-v1.c | 2 +-
drivers/thermal/samsung/exynos_tmu.c | 2 +-
drivers/thermal/sun8i_thermal.c | 8 +--
drivers/thermal/tegra/tegra-bpmp-thermal.c | 52 ++++++++++++++-
drivers/thermal/thermal-generic-adc.c | 1 -
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
21 files changed, 426 insertions(+), 73 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml
create mode 100644 drivers/thermal/loongson2_thermal.c



--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog