xref: /linux/drivers/thermal/Kconfig (revision a56757af8e7d7d8bfb6317c25b6a8809abfceb9a)
1203d3d4aSZhang Rui#
2203d3d4aSZhang Rui# Generic thermal sysfs drivers configuration
3203d3d4aSZhang Rui#
4203d3d4aSZhang Rui
5203d3d4aSZhang Ruimenuconfig THERMAL
663c4ec90SZhang Rui	tristate "Generic Thermal sysfs driver"
7203d3d4aSZhang Rui	help
8203d3d4aSZhang Rui	  Generic Thermal Sysfs driver offers a generic mechanism for
9203d3d4aSZhang Rui	  thermal management. Usually it's made up of one or more thermal
10203d3d4aSZhang Rui	  zone and cooling device.
11543a9561SLen Brown	  Each thermal zone contains its own temperature, trip points,
12203d3d4aSZhang Rui	  cooling devices.
13203d3d4aSZhang Rui	  All platforms with ACPI thermal support can use this driver.
1463c4ec90SZhang Rui	  If you want this support, you should say Y or M here.
1516d75239SRene Herman
1616d75239SRene Hermanconfig THERMAL_HWMON
17ab92402aSJean Delvare	bool
18df43176cSJan Beulich	depends on THERMAL
1916d75239SRene Herman	depends on HWMON=y || HWMON=THERMAL
20ab92402aSJean Delvare	default y
216a92c366SVincenzo Frascino
2202361418SAmit Daniel Kachhapconfig CPU_THERMAL
2302361418SAmit Daniel Kachhap	bool "generic cpu cooling support"
2402361418SAmit Daniel Kachhap	depends on THERMAL && CPU_FREQ
25dd8e8c4aSDavid Rientjes	select CPU_FREQ_TABLE
2602361418SAmit Daniel Kachhap	help
2702361418SAmit Daniel Kachhap	  This implements the generic cpu cooling mechanism through frequency
2802361418SAmit Daniel Kachhap	  reduction, cpu hotplug and any other ways of reducing temperature. An
2902361418SAmit Daniel Kachhap	  ACPI version of this already exists(drivers/acpi/processor_thermal.c).
3002361418SAmit Daniel Kachhap	  This will be useful for platforms using the generic thermal interface
3102361418SAmit Daniel Kachhap	  and not the ACPI interface.
3202361418SAmit Daniel Kachhap	  If you want this support, you should say Y here.
3302361418SAmit Daniel Kachhap
346a92c366SVincenzo Frascinoconfig SPEAR_THERMAL
356a92c366SVincenzo Frascino	bool "SPEAr thermal sensor driver"
366a92c366SVincenzo Frascino	depends on THERMAL
376a92c366SVincenzo Frascino	depends on PLAT_SPEAR
38b9c7aff4SViresh Kumar	depends on OF
396a92c366SVincenzo Frascino	help
406a92c366SVincenzo Frascino	  Enable this to plug the SPEAr thermal sensor driver into the Linux
416a92c366SVincenzo Frascino	  thermal framework
421e426ffdSKuninori Morimoto
431e426ffdSKuninori Morimotoconfig RCAR_THERMAL
441e426ffdSKuninori Morimoto	tristate "Renesas R-Car thermal driver"
451e426ffdSKuninori Morimoto	depends on THERMAL
461e426ffdSKuninori Morimoto	depends on ARCH_SHMOBILE
471e426ffdSKuninori Morimoto	help
481e426ffdSKuninori Morimoto	  Enable this to plug the R-Car thermal sensor driver into the Linux
491e426ffdSKuninori Morimoto	  thermal framework
50c48cbba6SAmit Daniel Kachhap
51c48cbba6SAmit Daniel Kachhapconfig EXYNOS_THERMAL
52c48cbba6SAmit Daniel Kachhap	tristate "Temperature sensor on Samsung EXYNOS"
53f22d9c03SAmit Daniel Kachhap	depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && THERMAL
54dd8e8c4aSDavid Rientjes	select CPU_FREQ_TABLE
55c48cbba6SAmit Daniel Kachhap	help
56c48cbba6SAmit Daniel Kachhap	  If you say yes here you get support for TMU (Thermal Managment
57c48cbba6SAmit Daniel Kachhap	  Unit) on SAMSUNG EXYNOS series of SoC.
584ccc5743SDurgadoss R
594ccc5743SDurgadoss Rconfig FAIR_SHARE
604ccc5743SDurgadoss R	bool "Fair-share thermal governor"
614ccc5743SDurgadoss R	depends on THERMAL
624ccc5743SDurgadoss R	help
634ccc5743SDurgadoss R	  Enable this to manage platform thermals using fair-share governor.
64e151a202SDurgadoss R
65e151a202SDurgadoss Rconfig STEP_WISE
66e151a202SDurgadoss R	bool "Step_wise thermal governor"
67e151a202SDurgadoss R	depends on THERMAL
68e151a202SDurgadoss R	help
69e151a202SDurgadoss R	  Enable this to manage platform thermals using a simple linear
701cc807a2SDurgadoss R
711cc807a2SDurgadoss Rconfig USER_SPACE
721cc807a2SDurgadoss R	bool "User_space thermal governor"
731cc807a2SDurgadoss R	depends on THERMAL
741cc807a2SDurgadoss R	help
751cc807a2SDurgadoss R	  Enable this to let the user space manage the platform thermals.
76*a56757afSDurgadoss R
77*a56757afSDurgadoss Rchoice
78*a56757afSDurgadoss R	prompt "Default Thermal governor"
79*a56757afSDurgadoss R	depends on THERMAL
80*a56757afSDurgadoss R	default THERMAL_DEFAULT_GOV_STEP_WISE
81*a56757afSDurgadoss R	help
82*a56757afSDurgadoss R	  This option sets which thermal governor shall be loaded at
83*a56757afSDurgadoss R	  startup. If in doubt, select 'step_wise'.
84*a56757afSDurgadoss R
85*a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_STEP_WISE
86*a56757afSDurgadoss R	bool "step_wise"
87*a56757afSDurgadoss R	select STEP_WISE
88*a56757afSDurgadoss R	help
89*a56757afSDurgadoss R	  Use the step_wise governor as default. This throttles the
90*a56757afSDurgadoss R	  devices one step at a time.
91*a56757afSDurgadoss R
92*a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_FAIR_SHARE
93*a56757afSDurgadoss R	bool "fair_share"
94*a56757afSDurgadoss R	select FAIR_SHARE
95*a56757afSDurgadoss R	help
96*a56757afSDurgadoss R	  Use the fair_share governor as default. This throttles the
97*a56757afSDurgadoss R	  devices based on their 'contribution' to a zone. The
98*a56757afSDurgadoss R	  contribution should be provided through platform data.
99*a56757afSDurgadoss R
100*a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_USER_SPACE
101*a56757afSDurgadoss R	bool "user_space"
102*a56757afSDurgadoss R	select USER_SPACE
103*a56757afSDurgadoss R	help
104*a56757afSDurgadoss R	  Select this if you want to let the user space manage the
105*a56757afSDurgadoss R	  platform thermals.
106*a56757afSDurgadoss Rendchoice
107