Changeset 38230


Ignore:
Timestamp:
2013-09-27T12:49:33+02:00 (4 years ago)
Author:
luka
Message:

kernel: add thermal modules

Signed-off-by: Luka Perkov <luka@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/other.mk

    r38187 r38230  
    761761 
    762762$(eval $(call KernelPackage,random-core)) 
     763 
     764 
     765define KernelPackage/thermal 
     766  SUBMENU:=$(OTHER_MENU) 
     767  TITLE:=Generic Thermal sysfs driver 
     768  KCONFIG:= \ 
     769        CONFIG_THERMAL \ 
     770        CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \ 
     771        CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \ 
     772        CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \ 
     773        CONFIG_THERMAL_GOV_FAIR_SHARE=n \ 
     774        CONFIG_THERMAL_GOV_STEP_WISE=y \ 
     775        CONFIG_THERMAL_GOV_USER_SPACE=n \ 
     776        CONFIG_THERMAL_EMULATION=n 
     777  FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko 
     778  AUTOLOAD:=$(call AutoProbe,thermal_sys) 
     779endef 
     780 
     781define KernelPackage/thermal/description 
     782 Generic Thermal Sysfs driver offers a generic mechanism for thermal 
     783 management. Usually it's made up of one or more thermal zone and cooling 
     784 device. 
     785endef 
     786 
     787$(eval $(call KernelPackage,thermal)) 
     788 
     789 
     790define KernelPackage/thermal-armada 
     791  SUBMENU:=$(OTHER_MENU) 
     792  TITLE:=Armada 370/XP thermal management 
     793  DEPENDS:=@TARGET_mvebu +kmod-thermal 
     794  KCONFIG:=CONFIG_ARMADA_THERMAL 
     795  FILES:=$(LINUX_DIR)/drivers/thermal/armada_thermal.ko 
     796  AUTOLOAD:=$(call AutoProbe,armada_thermal) 
     797endef 
     798 
     799define KernelPackage/thermal-armada/description 
     800 Enable this module if you want to have support for thermal management 
     801 controller present in Armada 370 and Armada XP SoC. 
     802endef 
     803 
     804$(eval $(call KernelPackage,thermal-armada)) 
     805 
     806 
     807define KernelPackage/thermal-imx 
     808  SUBMENU:=$(OTHER_MENU) 
     809  TITLE:=Temperature sensor driver for Freescale i.MX SoCs 
     810  DEPENDS:=@TARGET_imx6 +kmod-thermal 
     811  KCONFIG:= \ 
     812        CONFIG_CPU_THERMAL=y \ 
     813        CONFIG_IMX_THERMAL 
     814  FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko 
     815  AUTOLOAD:=$(call AutoProbe,imx_thermal) 
     816endef 
     817 
     818define KernelPackage/thermal-imx/description 
     819 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs. 
     820 It supports one critical trip point and one passive trip point. The 
     821 cpufreq is used as the cooling device to throttle CPUs when the 
     822 passive trip is crossed. 
     823endef 
     824 
     825$(eval $(call KernelPackage,thermal-imx)) 
Note: See TracChangeset for help on using the changeset viewer.