Home
last modified time | relevance | path

Searched +full:- +full:thermal (Results 1 – 25 of 1032) sorted by relevance

12345678910>>...42

/linux-6.12.1/drivers/thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic thermal drivers configuration
6 menuconfig THERMAL config
7 bool "Thermal drivers"
9 Thermal drivers offer a generic mechanism for
10 thermal management. Usually it's made up of one or more thermal
12 Each thermal zone contains its own temperature, trip points,
14 All platforms with ACPI or Open Firmware thermal support can use
18 if THERMAL
21 bool "Thermal netlink management"
[all …]
Dda9062-thermal.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Thermal device driver for DA9062 and DA9061
7 /* When over-temperature is reached, an interrupt from the device will be
11 * implementation of the thermal driver will include a .notify() function
14 * These uevents are intended to indicate non-invasive temperature control
17 * the IRQ is re-enabled so the start of a new over-temperature event can
27 #include <linux/thermal.h>
63 struct da9062_thermal *thermal = container_of(work, in da9062_thermal_poll_on() local
71 ret = regmap_write(thermal->hw->regmap, in da9062_thermal_poll_on()
75 dev_err(thermal->dev, in da9062_thermal_poll_on()
[all …]
Drockchip_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, Fuzhou Rockchip Electronics Co., Ltd
4 * Caesar Wang <wxt@rock-chips.com>
18 #include <linux/thermal.h>
55 * struct chip_tsadc_table - hold information about chip-specific differences
69 * struct rockchip_tsadc_chip - hold the private data of tsadc chip
72 * @tshut_temp: the hardware-controlled shutdown temperature value
73 * @tshut_mode: the hardware-controlled shutdown mode (0:CRU 1:GPIO)
74 * @tshut_polarity: the hardware-controlled active polarity (0:LOW 1:HIGH)
80 * @set_tshut_temp: set the hardware-controlled shutdown temperature
[all …]
Dkirkwood_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kirkwood thermal sensor driver
14 #include <linux/thermal.h>
21 /* Kirkwood Thermal Sensor Dev Structure */
26 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp() argument
30 struct kirkwood_thermal_priv *priv = thermal_zone_device_priv(thermal); in kirkwood_get_temp()
32 reg = readl_relaxed(priv->sensor); in kirkwood_get_temp()
37 return -EIO; in kirkwood_get_temp()
42 * Celsius = (322-reg)/1.3625 in kirkwood_get_temp()
46 *temp = ((3220000000UL - (10000000UL * reg)) / 13625); in kirkwood_get_temp()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Drcar-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only
4 ---
5 $id: http://devicetree.org/schemas/thermal/rcar-thermal.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Thermal
11 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
16 - items:
17 - enum:
18 - renesas,thermal-r8a73a4 # R-Mobile APE6
19 - renesas,thermal-r8a7779 # R-Car H1
[all …]
Drcar-gen3-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only
4 ---
5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Gen3 Thermal Sensor
11 On most R-Car Gen3 and later SoCs, the thermal sensor controllers (TSC)
12 control the thermal sensors (THS) which are the analog circuits for
16 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
18 $ref: thermal-sensor.yaml#
23 - renesas,r8a774a1-thermal # RZ/G2M
[all …]
Dthermal-zones.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
8 title: Thermal zone
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
14 Thermal management is achieved in devicetree by describing the sensor hardware
15 and the software abstraction of cooling devices and thermal zones required to
16 take appropriate action to mitigate thermal overloads.
18 The following node types are used to completely describe a thermal management
[all …]
Dbrcm,sr-thermal.txt1 * Broadcom Stingray Thermal
3 This binding describes thermal sensors that is part of Stingray SoCs.
6 - compatible : Must be "brcm,sr-thermal"
7 - reg : Memory where tmon data will be available.
8 - brcm,tmon-mask: A one cell bit mask of valid TMON sources.
10 - #thermal-sensor-cells : Thermal sensor phandler
11 - polling-delay: Max number of milliseconds to wait between polls.
12 - thermal-sensors: A list of thermal sensor phandles and specifier.
14 in correspond with brcm,tmon-mask.
15 - temperature: trip temperature threshold in millicelsius.
[all …]
Dthermal-sensor.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Thermal sensor
11 - Amit Kucheria <amitk@kernel.org>
14 Thermal management is achieved in devicetree by describing the sensor hardware
15 and the software abstraction of thermal zones required to take appropriate
16 action to mitigate thermal overloads.
18 The following node types are used to completely describe a thermal management
[all …]
Damazon,al-thermal.txt1 Amazon's Annapurna Labs Thermal Sensor
3 Simple thermal device that allows temperature reading by a single MMIO
7 - compatible: "amazon,al-thermal".
8 - reg: The physical base address and length of the sensor's registers.
9 - #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.ya…
12 thermal: thermal {
13 compatible = "amazon,al-thermal";
15 #thermal-sensor-cells = <0x1>;
18 thermal-zones {
19 thermal-z0 {
[all …]
Dbrcm,ns-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom Northstar Thermal
10 - Rafał Miłecki <rafal@milecki.pl>
13 Thermal sensor that is part of Northstar's DMU (Device Management Unit).
16 - $ref: thermal-sensor.yaml#
20 const: brcm,ns-thermal
26 "#thermal-sensor-cells":
[all …]
Dloongson,ls2k-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Thermal sensors on Loongson-2 SoCs
10 - zhanghongchen <zhanghongchen@loongson.cn>
11 - Yinbo Zhu <zhuyinbo@loongson.cn>
14 - $ref: /schemas/thermal/thermal-sensor.yaml#
19 - enum:
20 - loongson,ls2k1000-thermal
[all …]
Dmediatek,thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek thermal controller for on-SoC temperatures
10 - Sascha Hauer <s.hauer@pengutronix.de>
19 - $ref: thermal-sensor.yaml#
24 - mediatek,mt2701-thermal
25 - mediatek,mt2712-thermal
26 - mediatek,mt7622-thermal
[all …]
Darmada-thermal.txt1 * Marvell Armada 370/375/380/XP thermal management
5 - compatible: Should be set to one of the following:
6 * marvell,armada370-thermal
7 * marvell,armada375-thermal
8 * marvell,armada380-thermal
9 * marvell,armadaxp-thermal
10 * marvell,armada-ap806-thermal
11 * marvell,armada-ap807-thermal
12 * marvell,armada-cp110-thermal
16 Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
[all …]
Dsocionext,uniphier-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Socionext UniPhier thermal monitor
10 This describes the devicetree bindings for thermal monitor supported by
15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
17 $ref: thermal-sensor.yaml#
22 - socionext,uniphier-pxs2-thermal
23 - socionext,uniphier-ld20-thermal
[all …]
Damlogic,thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Thermal
10 - Guillaume La Roque <glaroque@baylibre.com>
12 description: Binding for Amlogic Thermal
14 $ref: thermal-sensor.yaml#
19 - items:
20 - enum:
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-thermal1 What: /sys/class/thermal/thermal_zoneX/type
3 Strings which represent the thermal zone type.
4 This is given by thermal zone driver as part of registration.
5 E.g: "acpitz" indicates it's an ACPI thermal device.
12 What: /sys/class/thermal/thermal_zoneX/temp
14 Current temperature as reported by thermal zone (sensor).
20 What: /sys/class/thermal/thermal_zoneX/mode
24 currently managing the thermal zone. It can be either default
28 enable Kernel Thermal management.
30 Preventing kernel thermal zone driver actions upon
[all …]
/linux-6.12.1/Documentation/driver-api/thermal/
Dsysfs-api.rst2 Generic Thermal Sysfs driver How To
13 The generic thermal sysfs provides a set of interfaces for thermal zone
14 devices (sensors) and thermal cooling devices (fan, processor...) to register
15 with the thermal management solution and to be a part of it.
17 This how-to focuses on enabling new thermal zone and cooling devices to
18 participate in thermal management.
19 This solution is platform independent and any type of thermal zone devices
22 The main task of the thermal sysfs driver is to expose thermal zone attributes
24 An intelligent thermal management application can make decisions based on
25 inputs from thermal zone attributes (the current temperature and trip point
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
2 /* Copyright (c) 2016-2018 Mellanox Technologies. All rights reserved
10 #include <linux/thermal.h>
31 /* External cooling devices, allowed for binding to mlxsw thermal zones. */
43 { /* In range - 0-40% PWM */
50 /* In range - 40-100% PWM */
64 { /* In range - 0-40% PWM */
71 /* In range - 40-100% PWM */
104 struct mlxsw_thermal *thermal; member
150 static int mlxsw_get_cooling_device_idx(struct mlxsw_thermal *thermal, in mlxsw_get_cooling_device_idx() argument
[all …]
/linux-6.12.1/drivers/thermal/testing/
Dcommand.c1 // SPDX-License-Identifier: GPL-2.0
7 * Thermal subsystem testing facility.
9 * This facility allows the thermal core functionality to be exercised in a
12 * It resides in the "thermal-testing" directory under the debugfs root and
14 * representing a thermal testing facility command.
18 * The "addtz" command causes a new test thermal zone template to be created,
21 * # echo addtz > /sys/kernel/debug/thermal-testing/command
23 * That template will be represented as a subdirectory in the "thermal-testing"
26 * # ls /sys/kernel/debug/thermal-testing/
29 * The thermal zone template can be populated with trip points with the help of
[all …]
/linux-6.12.1/drivers/thermal/ti-soc-thermal/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal.o
3 ti-soc-thermal-y := ti-bandgap.o
4 ti-soc-thermal-$(CONFIG_TI_THERMAL) += ti-thermal-common.o
5 ti-soc-thermal-$(CONFIG_DRA752_THERMAL) += dra752-thermal-data.o
6 ti-soc-thermal-$(CONFIG_OMAP3_THERMAL) += omap3-thermal-data.o
7 ti-soc-thermal-$(CONFIG_OMAP4_THERMAL) += omap4-thermal-data.o
8 ti-soc-thermal-$(CONFIG_OMAP5_THERMAL) += omap5-thermal-data.o
/linux-6.12.1/tools/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
12 @echo ' acpi - ACPI tools'
13 @echo ' bpf - misc BPF tools'
14 @echo ' counter - counter tools'
15 @echo ' cpupower - a tool for all things x86 CPU power'
16 @echo ' debugging - tools for debugging'
17 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
18 @echo ' firmware - Firmware tools'
19 @echo ' freefall - laptop accelerometer program for disk protection'
20 @echo ' gpio - GPIO tools'
[all …]
/linux-6.12.1/drivers/thermal/intel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 enforce idle time which results in more package C-state residency. The
12 user interface is exposed via generic thermal framework.
23 tristate "X86 package temperature thermal driver"
30 thermal zone. Each package will have its own thermal zone. There are
31 two trip points which can be set by user to get notifications via thermal
46 tristate "Intel SoCs DTS thermal driver"
53 thermal zone. There are two trip points. One of the trip point can
54 be set by user mode programs to get notifications via Linux thermal
59 tristate "Intel Quark DTS thermal driver"
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsdm632.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
7 thermal-zones {
8 /delete-node/cpu1-thermal;
9 /delete-node/cpu2-thermal;
10 /delete-node/cpu3-thermal;
12 cpu0-thermal {
13 thermal-sensors = <&tsens0 13>;
15 cooling-maps {
17 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
25 cpu4-thermal {
[all …]
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-j784s4-thermal.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/thermal/thermal.h>
8 wkup0_thermal: wkup0-thermal {
9 polling-delay-passive = <250>; /* milliseconds */
10 polling-delay = <500>; /* milliseconds */
11 thermal-sensors = <&wkup_vtm0 0>;
14 wkup0_crit: wkup0-crit {
22 wkup1_thermal: wkup1-thermal {
23 polling-delay-passive = <250>; /* milliseconds */
[all …]

12345678910>>...42