/Linux-v6.1/Documentation/devicetree/bindings/thermal/ |
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 binding 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 overloads. 18 The following node types are used to completely describe a thermal management [all …]
|
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 binding 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 …]
|
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 binding 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 …]
|
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 …]
|
D | brcm,bcm2835-thermal.txt | 1 Binding for Thermal Sensor driver for BCM2835 SoCs. 4 ------------------- 6 compatible: should be one of: "brcm,bcm2835-thermal", 7 "brcm,bcm2836-thermal" or "brcm,bcm2837-thermal" 8 reg: Address range of the thermal registers. 9 clocks: Phandle of the clock used by the thermal sensor. 10 #thermal-sensor-cells: should be 0 (see Documentation/devicetree/bindings/thermal/thermal-sensor.ya… 14 thermal-zones { 15 cpu_thermal: cpu-thermal { 16 polling-delay-passive = <0>; [all …]
|
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 …]
|
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) binding 10 - Pascal Paillet <p.paillet@foss.st.com> 14 const: st,stm32-thermal 25 clock-names: 27 - const: pclk 29 "#thermal-sensor-cells": [all …]
|
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 …]
|
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> 19 - enum: 20 - renesas,r9a07g043-tsu # RZ/G2UL 21 - renesas,r9a07g044-tsu # RZ/G2{L,LC} [all …]
|
D | qcom,spmi-temp-alarm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom,spmi-temp-alarm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 18 - $ref: thermal-sensor.yaml# 22 const: qcom,spmi-temp-alarm 30 io-channels: 32 - description: ADC channel, which reports chip die temperature 34 io-channel-names: [all …]
|
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 …]
|
D | thermal-generic-adc.txt | 1 General Purpose Analog To Digital Converter (ADC) based thermal sensor. 3 On some of platforms, thermal sensor like thermistors are connected to 6 temperature using voltage-temperature lookup table. 10 - compatible: Must be "generic-adc-thermal". 11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen… 15 - temperature-lookup-table: Two dimensional array of Integer; lookup table 29 #include <dt-bindings/thermal/thermal.h> 35 sampling-frequency = <3300>; 36 #io-channel-cells = <1>; 40 tboard_thermistor: thermal-sensor { [all …]
|
/Linux-v6.1/tools/thermal/thermometer/ |
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 …]
|
D | thermometer.conf | 2 thermal-zones = ( 3 { name = "cpu[0-9]-thermal";
|
/Linux-v6.1/drivers/thermal/tegra/ |
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 …]
|
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() 56 return -EINVAL; in __tegra_bpmp_thermal_get_temp() 65 return __tegra_bpmp_thermal_get_temp(tz->devdata, out_temp); in tegra_bpmp_thermal_get_temp() 70 struct tegra_bpmp_thermal_zone *zone = tz->devdata; in tegra_bpmp_thermal_set_trips() [all …]
|
/Linux-v6.1/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/thermal.h> 41 /* 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() 108 * tj-max is interesting because threshold is set relative to this 123 return val ? 0 : -EINVAL; in get_tj_max() 128 struct zone_device *zonedev = tzd->devdata; in sys_get_curr_temp() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
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 …]
|
D | pm8450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm8450-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm8450_temp_alarm>; 37 compatible = "qcom,pm8450", "qcom,spmi-pmic"; 39 #address-cells = <1>; [all …]
|
/Linux-v6.1/tools/thermal/tmon/ |
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 …]
|
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-v6.1/arch/arm/boot/dts/ |
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 0>; 14 polling-delay-passive = <0>; 15 polling-delay = <0>; 17 cpu_alert0: cpu-alert-0 { 22 cpu_alert1: cpu-alert-1 { [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
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 …]
|
/Linux-v6.1/include/uapi/linux/ |
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-v6.1/drivers/thermal/ |
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 …]
|