forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'thermal-v5.15-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/thermal/linux Pull thermal updates from Daniel Lezcano: - Add the tegra3 thermal sensor and fix the compilation testing on tegra by adding a dependency on ARCH_TEGRA along with COMPILE_TEST (Dmitry Osipenko) - Fix the error code for the exynos when devm_get_clk() fails (Dan Carpenter) - Add the TCC cooling support for AlderLake platform (Sumeet Pawnikar) - Add support for hardware trip points for the rcar gen3 thermal driver and store TSC id as unsigned int (Niklas Söderlund) - Replace the deprecated CPU-hotplug functions get_online_cpus() and put_online_cpus (Sebastian Andrzej Siewior) - Add the thermal tools directory in the MAINTAINERS file (Daniel Lezcano) - Fix the Makefile and the cross compilation flags for the userspace 'tmon' tool (Rolf Eike Beer) - Allow to use the IMOK independently from the GDDV on Int340x (Sumeet Pawnikar) - Fix the stub thermal_cooling_device_register() function prototype which does not match the real function (Arnd Bergmann) - Make the thermal trip point optional in the DT bindings (Maxime Ripard) - Fix a typo in a comment in the core code (Geert Uytterhoeven) - Reduce the verbosity of the trace in the SoC thermal tegra driver (Dmitry Osipenko) - Add the support for the LMh (Limit Management hardware) driver on the QCom platforms (Thara Gopinath) - Allow processing of HWP interrupt by adding a weak function in the Intel driver (Srinivas Pandruvada) - Prevent an abort of the sensor probe is a channel is not used (Matthias Kaehlcke) * tag 'thermal-v5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used thermal/drivers/intel: Allow processing of HWP interrupt dt-bindings: thermal: Add dt binding for QCOM LMh thermal/drivers/qcom: Add support for LMh driver firmware: qcom_scm: Introduce SCM calls to access LMh thermal/drivers/tegra-soctherm: Silence message about clamped temperature thermal: Spelling s/scallbacks/callbacks/ dt-bindings: thermal: Make trips node optional thermal/core: Fix thermal_cooling_device_register() prototype thermal/drivers/int340x: Use IMOK independently tools/thermal/tmon: Add cross compiling support thermal/tools/tmon: Improve the Makefile MAINTAINERS: Add missing userspace thermal tools to the thermal section thermal/drivers/intel_powerclamp: Replace deprecated CPU-hotplug functions. thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int thermal/drivers/rcar_gen3_thermal: Add support for hardware trip points drivers/thermal/intel: Add TCC cooling support for AlderLake platform thermal/drivers/exynos: Fix an error code in exynos_tmu_probe() thermal/drivers/tegra: Correct compile-testing of drivers thermal/drivers/tegra: Add driver for Tegra30 thermal sensor
- Loading branch information
Showing
21 changed files
with
1,221 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
# Copyright 2021 Linaro Ltd. | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/thermal/qcom-lmh.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Limits Management Hardware(LMh) | ||
|
||
maintainers: | ||
- Thara Gopinath <[email protected]> | ||
|
||
description: | ||
Limits Management Hardware(LMh) is a hardware infrastructure on some | ||
Qualcomm SoCs that can enforce temperature and current limits as | ||
programmed by software for certain IPs like CPU. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sdm845-lmh | ||
|
||
reg: | ||
items: | ||
- description: core registers | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
'#interrupt-cells': | ||
const: 1 | ||
|
||
interrupt-controller: true | ||
|
||
cpus: | ||
description: | ||
phandle of the first cpu in the LMh cluster | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
|
||
qcom,lmh-temp-arm-millicelsius: | ||
description: | ||
An integer expressing temperature threshold at which the LMh thermal | ||
FSM is engaged. | ||
|
||
qcom,lmh-temp-low-millicelsius: | ||
description: | ||
An integer expressing temperature threshold at which the state machine | ||
will attempt to remove frequency throttling. | ||
|
||
qcom,lmh-temp-high-millicelsius: | ||
description: | ||
An integer expressing temperature threshold at which the state machine | ||
will attempt to throttle the frequency. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- '#interrupt-cells' | ||
- interrupt-controller | ||
- cpus | ||
- qcom,lmh-temp-arm-millicelsius | ||
- qcom,lmh-temp-low-millicelsius | ||
- qcom,lmh-temp-high-millicelsius | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
lmh@17d70800 { | ||
compatible = "qcom,sdm845-lmh"; | ||
reg = <0x17d70800 0x400>; | ||
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; | ||
cpus = <&CPU4>; | ||
qcom,lmh-temp-arm-millicelsius = <65000>; | ||
qcom,lmh-temp-low-millicelsius = <94500>; | ||
qcom,lmh-temp-high-millicelsius = <95000>; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
}; |
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 |
---|---|---|
|
@@ -18566,6 +18566,7 @@ F: drivers/thermal/ | |
F: include/linux/cpu_cooling.h | ||
F: include/linux/thermal.h | ||
F: include/uapi/linux/thermal.h | ||
F: tools/thermal/ | ||
|
||
THERMAL DRIVER FOR AMLOGIC SOCS | ||
M: Guillaume La Roque <[email protected]> | ||
|
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
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.