/linux/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 1 # 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 …]
|
H A D | thermal-sensor.yaml | 1 # 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 …]
|
H A D | thermal-cooling-devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-cooling-devices.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Thermal cooling device 11 - Amit Kucheria <amitk@kernel.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 overload. 18 The following node types are used to completely describe a thermal management [all …]
|
H A D | amazon,al-thermal.txt | 1 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 …]
|
H A D | brcm,ns-thermal.yaml | 1 # 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 …]
|
H A D | st,stm32-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 digital thermal sensor (DTS) 10 - Pascal Paillet <p.paillet@foss.st.com> 12 $ref: thermal-sensor.yaml# 16 const: st,stm32-thermal 27 clock-names: 29 - const: pclk [all …]
|
H A D | max77620_thermal.txt | 1 Thermal driver for MAX77620 Power management IC from Maxim Semiconductor. 10 ------------------- 11 #thermal-sensor-cells: For more details, please refer to 12 <devicetree/bindings/thermal/thermal-sensor.yaml> 15 For more details, please refer generic thermal DT binding document 16 <devicetree/bindings/thermal/thermal*.yaml>. 22 -------- 23 #include <dt-bindings/mfd/max77620.h> 24 #include <dt-bindings/thermal/thermal.h> 31 #thermal-sensor-cells = <0>; [all …]
|
H A D | rzg2l-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/G2L Thermal Sensor Unit 10 On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the 14 - Biju Das <biju.das.jz@bp.renesas.com> 16 $ref: thermal-sensor.yaml# 21 - enum: 22 - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five [all …]
|
H A D | brcm,sr-thermal.txt | 1 * 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 …]
|
/linux/tools/thermal/thermometer/ |
H A D | thermometer.8 | 2 # SPDX-License-Identifier: GPL-2.0 4 \fBthermometer\fP - A thermal profiling tool 13 \fBthermometer \fP captures the thermal zones temperature at a 21 If no configuration file is specified, then all the thermal zones will 23 the thermal zone names and the desired sampling period. A thermal zone 24 name can be a regular expression to specify a group of thermal zone. 26 The sampling of the different thermal zones will be written into 27 separate files with the thermal zone name. It is possible to specify a 31 Without any parameters, \fBthermometer \fP captures all the thermal 44 The \fB-h, --help\fP option shows a short usage help [all …]
|
/linux/drivers/thermal/tegra/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "NVIDIA Tegra thermal drivers" 6 tristate "Tegra SOCTHERM thermal management" 8 Enable this option for integrated thermal management support on NVIDIA 9 Tegra systems-on-chip. The driver supports four thermal zones 10 (CPU, GPU, MEM, PLLX). Cooling devices can be bound to the thermal 11 zones to manage temperatures. This option is also required for the 12 emergency thermal reset (thermtrip) feature to function. 15 tristate "Tegra BPMP thermal sensing" 19 Tegra systems-on-chip with the BPMP coprocessor (Tegra186). [all …]
|
H A D | tegra-bpmp-thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 13 #include <linux/thermal.h> 17 #include <soc/tegra/bpmp-abi.h> 30 struct tegra_bpmp_thermal_zone **zones; member 43 req.get_temp.zone = zone->idx; in __tegra_bpmp_thermal_get_temp() 52 err = tegra_bpmp_transfer(zone->tegra->bpmp, &msg); in __tegra_bpmp_thermal_get_temp() 55 if (msg.rx.ret == -BPMP_EFAULT) in __tegra_bpmp_thermal_get_temp() 56 return -EAGAIN; in __tegra_bpmp_thermal_get_temp() 58 return -EINVAL; in __tegra_bpmp_thermal_get_temp() [all …]
|
/linux/drivers/thermal/intel/ |
H A D | x86_pkg_temp_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/thermal.h> 42 /* Number of trip points in thermal zone. Currently it can't 66 static struct zone_device **zones; variable 93 * - cpu hotplug: Read serialized by cpu hotplug lock 96 * - Other callsites: Must hold pkg_temp_lock 103 return zones[id]; in pkg_temp_thermal_get_dev() 112 ret = intel_tcc_get_temp(zonedev->cpu, &val, true); in sys_get_curr_temp() 126 unsigned int trip_index = THERMAL_TRIP_PRIV_TO_INT(trip->priv); in sys_set_trip_temp() 130 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp() [all …]
|
/linux/drivers/thermal/ |
H A D | Kconfig | 1 # 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 11 zones and cooling devices. 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 [all …]
|
H A D | thermal_of.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * of-thermal.c - Generic Thermal Management device tree support. 15 #include <linux/thermal.h> 24 * It maps 'enum thermal_trip_type' found in include/linux/thermal.h 35 * thermal_of_get_trip_type - Get phy mode for given device_node 60 return -ENODEV; in thermal_of_get_trip_type() 74 trip->temperature = prop; in thermal_of_populate_trip() 81 trip->hysteresis = prop; in thermal_of_populate_trip() 83 ret = thermal_of_get_trip_type(np, &trip->type); in thermal_of_populate_trip() 89 trip->flags = THERMAL_TRIP_FLAG_RW_TEMP; in thermal_of_populate_trip() [all …]
|
/linux/tools/thermal/tmon/ |
H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 int ret = -1; in sysfs_set_ulong() 52 /* history of thermal data, used for control algo */ 60 int ret = -1; in sysfs_get_ulong() 79 int ret = -1; in sysfs_get_string() 98 sysfs_get_string(path, "type", cdi->type); in probe_cdev() 99 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 100 sysfs_get_ulong(path, "cur_state", &cdi->cur_state); in probe_cdev() 104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 118 return -ENOENT; in str_to_trip_type() [all …]
|
H A D | README | 1 TMON - A Monitoring and Testing Tool for Linux kernel thermal subsystem 6 thermal relationship between processor and fan has become past for modern 9 As hardware vendors cope with the thermal constraints on their products, more 11 complexity of the thermal relationship can grow exponentially among cooling 12 devices, zones, sensors, and trip points. They can also change dynamically. 14 To expose such relationship to the userspace, Linux generic thermal layer 15 introduced sysfs entry at /sys/class/thermal with a matrix of symbolic 18 thermal conditions are often exception cases that hard to reach in 22 complex thermal subsystem. 28 sysfs.c : access to the generic thermal sysfs [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am64-thermal.dtsi | 1 // 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 thermal_zones: thermal-zones { 9 main0_thermal: main0-thermal { 10 polling-delay-passive = <250>; /* milliSeconds */ 11 polling-delay = <500>; /* milliSeconds */ 12 thermal-sensors = <&main_vtm0 0>; 15 main0_crit: main0-crit { 23 main1_thermal: main1-thermal { [all …]
|
H A D | k3-am62a-thermal.dtsi | 1 // 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 thermal_zones: thermal-zones { 9 main0_thermal: main0-thermal { 10 polling-delay-passive = <250>; /* milliSeconds */ 11 polling-delay = <500>; /* milliSeconds */ 12 thermal-sensors = <&wkup_vtm0 0>; 15 main0_crit: main0-crit { 23 main1_thermal: main1-thermal { [all …]
|
H A D | k3-j7200-thermal.dtsi | 1 // 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 thermal_zones: thermal-zones { 9 mcu_thermal: mcu-thermal { 10 polling-delay-passive = <250>; /* milliseconds */ 11 polling-delay = <500>; /* milliseconds */ 12 thermal-sensors = <&wkup_vtm0 0>; 15 wkup_crit: wkup-crit { 23 mpu_thermal: mpu-thermal { [all …]
|
H A D | k3-am62p-j722s-common-thermal.dtsi | 1 // 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 thermal_zones: thermal-zones { 9 main0_thermal: main0-thermal { 10 polling-delay-passive = <250>; /* milliSeconds */ 11 polling-delay = <500>; /* milliSeconds */ 12 thermal-sensors = <&wkup_vtm0 0>; 15 main0_crit: main0-crit { 23 main1_thermal: main1-thermal { [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm632.dtsi | 1 // 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/arch/arm/boot/dts/samsung/ |
H A D | exynos4-cpu-thermal.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device tree sources for Exynos4 thermal zone 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 cpu_thermal: cpu-thermal { 13 thermal-sensors = <&tmu>; 14 polling-delay-passive = <0>; 15 polling-delay = <0>; 17 cpu_alert0: cpu-alert-0 { 22 cpu_alert1: cpu-alert-1 { [all …]
|
/linux/include/uapi/linux/ |
H A D | thermal.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 #define THERMAL_GENL_FAMILY_NAME "thermal" 53 #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1) 59 #define THERMAL_GENL_SAMPLING_MAX (__THERMAL_GENL_SAMPLING_MAX - 1) 64 THERMAL_GENL_EVENT_TZ_CREATE, /* Thermal zone creation */ 65 THERMAL_GENL_EVENT_TZ_DELETE, /* Thermal zone deletion */ 66 THERMAL_GENL_EVENT_TZ_DISABLE, /* Thermal zone disabled */ 67 THERMAL_GENL_EVENT_TZ_ENABLE, /* Thermal zone enabled */ 73 THERMAL_GENL_EVENT_CDEV_ADD, /* Cdev bound to the thermal zone */ 80 #define THERMAL_GENL_EVENT_MAX (__THERMAL_GENL_EVENT_MAX - 1) [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | repaper.txt | 1 Pervasive Displays RePaper branded e-ink displays 4 - compatible: "pervasive,e1144cs021" for 1.44" display 9 - panel-on-gpios: Timing controller power control 10 - discharge-gpios: Discharge control 11 - reset-gpios: RESET pin 12 - busy-gpios: BUSY pin 15 - border-gpios: Border control 18 all mandatory properties described in ../spi/spi-bus.txt must be specified. 21 - pervasive,thermal-zone: name of thermometer's thermal zone 28 #thermal-sensor-cells = <0>; [all …]
|