/linux/drivers/thermal/ |
H A D | Kconfig | 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" 24 The thermal framework has a netlink interface to do thermal [all …]
|
H A D | thermal_of.c | 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 130 struct device_node *np __free(device_node) = of_find_node_by_name(NULL, "thermal-zones"); in of_thermal_zone_find() 132 pr_debug("No thermal zones description\n"); in of_thermal_zone_find() 137 * Search for each thermal zone, a defined sensor in of_thermal_zone_find() 144 count = of_count_phandle_with_args(child, "thermal-sensors", in of_thermal_zone_find() 145 "#thermal-sensor-cells"); in of_thermal_zone_find() 147 pr_err("%pOFn: missing thermal sensor\n", child); in of_thermal_zone_find() 155 ret = of_parse_phandle_with_args(child, "thermal-sensors", in of_thermal_zone_find() [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | rcar-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-thermal.yaml# 8 title: Renesas R-Car Thermal 18 - renesas,thermal-r8a73a4 # R-Mobile APE6 19 - renesas,thermal-r8a7779 # R-Car H1 20 - const: renesas,rcar-thermal # Generic without thermal-zone 23 - renesas,thermal-r8a7742 # RZ/G1H 24 - renesas,thermal-r8a7743 # RZ/G1M 25 - renesas,thermal-r8a7744 # RZ/G1N 26 - const: renesas,rcar-gen2-thermal # Generic thermal-zone 29 - renesas,thermal-r8a7790 # R-Car H2 [all …]
|
H A D | rcar-gen3-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.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 18 $ref: thermal-sensor.yaml# 23 - renesas,r8a774a1-thermal # RZ/G2M 24 - renesas,r8a774b1-thermal # RZ/G2N 25 - renesas,r8a774e1-thermal # RZ/G2H 26 - renesas,r8a7795-thermal # R-Car H3 27 - renesas,r8a7796-thermal # R-Car M3-W [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" 10 - #thermal-sensor-cells : Thermal sensor phandler 12 - thermal-sensors: A list of thermal sensor phandles and specifier. 25 compatible = "brcm,sr-thermal"; 28 #thermal-sensor-cells = <1>; 32 thermal-zones { 33 ihost0_thermal: ihost0-thermal { 36 thermal-sensors = <&tmon 0>; [all …]
|
H A D | thermal-sensor.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 8 title: Thermal sensor 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 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 22 - thermal-zones: a container of the following node types used to describe all 23 thermal data for the platform 25 This binding describes the thermal-sensor. [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". 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 { 22 thermal-sensors = <&thermal 0>;
|
H A D | brcm,ns-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml# 7 title: Broadcom Northstar Thermal 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": 36 thermal: thermal@1800c2c0 { 37 compatible = "brcm,ns-thermal"; 39 #thermal-sensor-cells = <0>; 42 thermal-zones { [all …]
|
H A D | mediatek,thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml# 7 title: Mediatek thermal controller for on-SoC temperatures 19 - $ref: thermal-sensor.yaml# 24 - mediatek,mt2701-thermal 25 - mediatek,mt2712-thermal 26 - mediatek,mt7622-thermal 27 - mediatek,mt7981-thermal 28 - mediatek,mt7986-thermal 29 - mediatek,mt8173-thermal 30 - mediatek,mt8183-thermal [all …]
|
H A D | loongson,ls2k-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml# 7 title: Thermal sensors on Loongson-2 SoCs 14 - $ref: /schemas/thermal/thermal-sensor.yaml# 20 - loongson,ls2k1000-thermal 21 - loongson,ls2k2000-thermal 24 - loongson,ls2k0500-thermal 25 - const: loongson,ls2k1000-thermal 34 '#thermal-sensor-cells': 47 - loongson,ls2k2000-thermal 65 thermal: thermal-sensor@1fe01500 { [all …]
|
H A D | armada-thermal.txt | 1 * Marvell Armada 370/375/380/XP thermal management 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 23 Note: The compatibles marvell,armada370-thermal, 24 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to [all …]
|
H A D | socionext,uniphier-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# 7 title: Socionext UniPhier thermal monitor 10 This describes the devicetree bindings for thermal monitor supported by 17 $ref: thermal-sensor.yaml# 22 - socionext,uniphier-pxs2-thermal 23 - socionext,uniphier-ld20-thermal 24 - socionext,uniphier-pxs3-thermal 25 - socionext,uniphier-nx1-thermal 30 "#thermal-sensor-cells": 48 // The UniPhier thermal should be a subnode of a "syscon" compatible node. [all …]
|
H A D | amlogic,thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml# 7 title: Amlogic Thermal 12 description: Binding for Amlogic Thermal 14 $ref: thermal-sensor.yaml# 21 - amlogic,g12a-cpu-thermal 22 - amlogic,g12a-ddr-thermal 23 - const: amlogic,g12a-thermal 24 - const: amlogic,a1-cpu-thermal 42 '#thermal-sensor-cells': 57 compatible = "amlogic,g12a-cpu-thermal", [all …]
|
H A D | fsl,scu-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# 7 title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol 16 - $ref: thermal-sensor.yaml# 22 - fsl,imx8dxl-sc-thermal 23 - fsl,imx8qxp-sc-thermal 24 - const: fsl,imx-sc-thermal 26 '#thermal-sensor-cells': 36 thermal-sensor { 37 compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; 38 #thermal-sensor-cells = <1>;
|
H A D | brcm,bcm2835-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml# 7 title: Broadcom BCM2835 thermal sensor 13 - $ref: thermal-sensor.yaml# 18 - brcm,bcm2835-thermal 19 - brcm,bcm2836-thermal 20 - brcm,bcm2837-thermal 28 "#thermal-sensor-cells": 42 thermal@7e212000 { 43 compatible = "brcm,bcm2835-thermal"; 46 #thermal-sensor-cells = <0>;
|
H A D | st,stm32-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# 7 title: STMicroelectronics STM32 digital thermal sensor (DTS) 12 $ref: thermal-sensor.yaml# 16 const: st,stm32-thermal 31 "#thermal-sensor-cells": 47 dts: thermal@50028000 { 48 compatible = "st,stm32-thermal"; 52 #thermal-sensor-cells = <0>; 56 thermal-zones { 57 cpu_thermal: cpu-thermal { [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-thermal | 1 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/drivers/thermal/testing/ |
H A D | command.c | 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 32 * # echo tzaddtrip:0 > /sys/kernel/debug/thermal-testing/command [all …]
|
/linux/tools/ |
H A D | Makefile | 33 @echo ' tmon - thermal monitoring and tuning tool' 35 @echo ' thermal-engine - thermal monitoring tool' 36 @echo ' thermal - thermal library' 101 thermal: FORCE target 108 $(call descend,thermal/$@) 111 $(call descend,thermal/$@) 113 thermal-engine: FORCE thermal [all...] |
/linux/drivers/thermal/ti-soc-thermal/ |
H A D | Makefile | 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/arch/arm64/boot/dts/ti/ |
H A D | k3-j721s2-thermal.dtsi | 6 #include <dt-bindings/thermal/thermal.h> 8 wkup0_thermal: wkup0-thermal { 11 thermal-sensors = <&wkup_vtm0 0>; 22 wkup1_thermal: wkup1-thermal { 25 thermal-sensors = <&wkup_vtm0 1>; 36 main0_thermal: main0-thermal { 39 thermal-sensors = <&wkup_vtm0 2>; 50 main1_thermal: main1-thermal { 53 thermal-sensors = <&wkup_vtm0 3>; 64 main2_thermal: main2-thermal { [all …]
|
H A D | k3-j721e-thermal.dtsi | 6 #include <dt-bindings/thermal/thermal.h> 8 thermal_zones: thermal-zones { 9 wkup_thermal: wkup-thermal { 12 thermal-sensors = <&wkup_vtm0 0>; 23 mpu_thermal: mpu-thermal { 26 thermal-sensors = <&wkup_vtm0 1>; 37 c7x_thermal: c7x-thermal { 40 thermal-sensors = <&wkup_vtm0 2>; 51 gpu_thermal: gpu-thermal { 54 thermal-sensors = <&wkup_vtm0 3>; [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tt.h | 25 /* Thermal Throttling State Machine states */ 35 * struct iwl_tt_restriction - Thermal Throttling restriction table 40 * This table is used by advance thermal throttling management 41 * based on the current thermal throttling state, and determines 51 * struct iwl_tt_trans - Thermal Throttling transaction table 52 * @next_state: next thermal throttling mode 56 * This is used by the advanced thermal throttling algorithm 57 * to determine the next thermal state to go based on the 67 * struct iwl_tt_mgmt - Thermal Throttling Management structure 68 * @advanced_tt: advanced thermal throttle required [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | x86_pkg_temperature_thermal.rst | 7 * x86: with package level thermal management 17 Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT 22 This driver register CPU digital temperature package level sensor as a thermal 25 user mode can receive notification via thermal notification mechanism and can 31 Each package will register as a thermal zone under /sys/class/thermal. 35 /sys/class/thermal/thermal_zone1 43 are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for 44 thermal sys-fs details. 46 Any value other than 0 in these trip points, can trigger thermal notifications. 47 Setting 0, stops sending thermal notifications. [all …]
|
/linux/tools/thermal/tmon/ |
H A D | tmon.8 | 4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem 12 \fBtmon \fP can be used to visualize thermal relationship and 13 real-time thermal data; tune 14 and test cooling devices and sensors; collect thermal data for offline 21 1. Thermal relationships: 22 - show thermal zone information 24 - show trip point binding within each thermal zone 28 - show temperature of all thermal zones w.r.t. its trip points and types 31 3. Thermal relationship learning and device tuning 33 controller, user can pair a cooling device to a thermal sensor for [all …]
|