Просмотр исходного кода

kernel: add kirkwood thermal module

Signed-off-by: Luka Perkov <[email protected]>

SVN-Revision: 38371
Luka Perkov 12 лет назад
Родитель
Сommit
408af1f6c7
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      package/kernel/linux/modules/other.mk

+ 17 - 0
package/kernel/linux/modules/other.mk

@@ -824,3 +824,20 @@ define KernelPackage/thermal-imx/description
 endef
 
 $(eval $(call KernelPackage,thermal-imx))
+
+
+define KernelPackage/thermal-kirkwood
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Temperature sensor on Marvell Kirkwood SoCs
+  DEPENDS:=@TARGET_kirkwood +kmod-thermal
+  KCONFIG:=CONFIG_KIRKWOOD_THERMAL
+  FILES:=$(LINUX_DIR)/drivers/thermal/kirkwood_thermal.ko
+  AUTOLOAD:=$(call AutoProbe,kirkwood_thermal)
+endef
+
+define KernelPackage/thermal-kirkwood/description
+ Support for the Kirkwood thermal sensor driver into the Linux thermal
+ framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
+endef
+
+$(eval $(call KernelPackage,thermal-kirkwood))