stm32: Add kmod-stm32-thermal
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run

This adds the Thermal framework support for STM32MP157.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Thomas Richard 2025-02-26 10:46:30 +01:00 committed by Hauke Mehrtens
parent 7ad335e56e
commit 963d320086

View File

@ -245,6 +245,18 @@ endef
$(eval $(call KernelPackage,stm32-timer-trigger))
define KernelPackage/stm32-thermal
SUBMENU:=$(OTHER_MENU)
TITLE:=Thermal framework support on STMicroelectronics STM32 series of SoCs
KCONFIG:=CONFIG_STM32_THERMAL
DEPENDS:=@TARGET_stm32_stm32mp1 +kmod-thermal
FILES:=$(LINUX_DIR)/drivers/thermal/st/stm_thermal.ko
AUTOLOAD:=$(call AutoProbe,stm_thermal)
endef
$(eval $(call KernelPackage,stm32-thermal))
define KernelPackage/st-thermal
SUBMENU:=$(OTHER_MENU)
TITLE:=Thermal sensors on STMicroelectronics STi series of SoCs