[openwrt/openwrt] stm32: Add kmod-stm32-thermal
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 19 09:46:52 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/963d320086cf9874746811e24a3fef6a770c7dc4
commit 963d320086cf9874746811e24a3fef6a770c7dc4
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Wed Feb 26 10:46:30 2025 +0100
stm32: Add kmod-stm32-thermal
This adds the Thermal framework support for STM32MP157.
Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/stm32/modules.mk | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk
index 4daf956438..0f407008dc 100644
--- a/target/linux/stm32/modules.mk
+++ b/target/linux/stm32/modules.mk
@@ -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
More information about the lede-commits
mailing list