forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…rzhang/linux Pull thermal management updates from Zhang Rui: - Add locking for cooling device sysfs attribute in case the cooling device state is changed by userspace and thermal framework simultaneously. (Thara Gopinath) - Fix a problem that passive cooling is reset improperly after system suspend/resume. (Wei Wang) - Cleanup the driver/thermal/ directory by moving intel and qcom platform specific drivers to platform specific sub-directories. (Amit Kucheria) - Some trivial cleanups. (Lukasz Luba, Wolfram Sang) * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: thermal/intel: fixup for Kconfig string parsing tightening up drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir drivers: thermal: Move various drivers for intel platforms into a subdir thermal: Fix locking in cooling device sysfs update cur_state Thermal: do not clear passive state during system sleep thermal: zx2967_thermal: simplify getting .driver_data thermal: st: st_thermal: simplify getting .driver_data thermal: spear_thermal: simplify getting .driver_data thermal: rockchip_thermal: simplify getting .driver_data thermal: int340x_thermal: int3400_thermal: simplify getting .driver_data thermal: remove unused function parameter
- Loading branch information
Showing
32 changed files
with
138 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
config INTEL_POWERCLAMP | ||
tristate "Intel PowerClamp idle injection driver" | ||
depends on THERMAL | ||
depends on X86 | ||
depends on CPU_SUP_INTEL | ||
help | ||
Enable this to enable Intel PowerClamp idle injection driver. This | ||
enforce idle time which results in more package C-state residency. The | ||
user interface is exposed via generic thermal framework. | ||
|
||
config X86_PKG_TEMP_THERMAL | ||
tristate "X86 package temperature thermal driver" | ||
depends on X86_THERMAL_VECTOR | ||
select THERMAL_GOV_USER_SPACE | ||
select THERMAL_WRITABLE_TRIPS | ||
default m | ||
help | ||
Enable this to register CPU digital sensor for package temperature as | ||
thermal zone. Each package will have its own thermal zone. There are | ||
two trip points which can be set by user to get notifications via thermal | ||
notification methods. | ||
|
||
config INTEL_SOC_DTS_IOSF_CORE | ||
tristate | ||
depends on X86 && PCI | ||
select IOSF_MBI | ||
help | ||
This is becoming a common feature for Intel SoCs to expose the additional | ||
digital temperature sensors (DTSs) using side band interface (IOSF). This | ||
implements the common set of helper functions to register, get temperature | ||
and get/set thresholds on DTSs. | ||
|
||
config INTEL_SOC_DTS_THERMAL | ||
tristate "Intel SoCs DTS thermal driver" | ||
depends on X86 && PCI && ACPI | ||
select INTEL_SOC_DTS_IOSF_CORE | ||
select THERMAL_WRITABLE_TRIPS | ||
help | ||
Enable this to register Intel SoCs (e.g. Bay Trail) platform digital | ||
temperature sensor (DTS). These SoCs have two additional DTSs in | ||
addition to DTSs on CPU cores. Each DTS will be registered as a | ||
thermal zone. There are two trip points. One of the trip point can | ||
be set by user mode programs to get notifications via Linux thermal | ||
notification methods.The other trip is a critical trip point, which | ||
was set by the driver based on the TJ MAX temperature. | ||
|
||
config INTEL_QUARK_DTS_THERMAL | ||
tristate "Intel Quark DTS thermal driver" | ||
depends on X86_INTEL_QUARK | ||
help | ||
Enable this to register Intel Quark SoC (e.g. X1000) platform digital | ||
temperature sensor (DTS). For X1000 SoC, it has one on-die DTS. | ||
The DTS will be registered as a thermal zone. There are two trip points: | ||
hot & critical. The critical trip point default value is set by | ||
underlying BIOS/Firmware. | ||
|
||
menu "ACPI INT340X thermal drivers" | ||
source "drivers/thermal/intel/int340x_thermal/Kconfig" | ||
endmenu | ||
|
||
config INTEL_BXT_PMIC_THERMAL | ||
tristate "Intel Broxton PMIC thermal driver" | ||
depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP | ||
help | ||
Select this driver for Intel Broxton PMIC with ADC channels monitoring | ||
system temperature measurements and alerts. | ||
This driver is used for monitoring the ADC channels of PMIC and handles | ||
the alert trip point interrupts and notifies the thermal framework with | ||
the trip point and temperature details of the zone. | ||
|
||
config INTEL_PCH_THERMAL | ||
tristate "Intel PCH Thermal Reporting Driver" | ||
depends on X86 && PCI | ||
help | ||
Enable this to support thermal reporting on certain intel PCHs. | ||
Thermal reporting device will provide temperature reading, | ||
programmable trip points and other information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Makefile for various Intel thermal drivers. | ||
|
||
obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o | ||
obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o | ||
obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o | ||
obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += intel_soc_dts_thermal.o | ||
obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += intel_quark_dts_thermal.o | ||
obj-$(CONFIG_INT340X_THERMAL) += int340x_thermal/ | ||
obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o | ||
obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
obj-$(CONFIG_QCOM_TSENS) += qcom_tsens.o | ||
qcom_tsens-y += tsens.o tsens-common.o tsens-8916.o tsens-8974.o tsens-8960.o tsens-v2.o | ||
obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.