| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/thermal/ |
| D | thermal.txt | 1 * Thermal Framework Device Tree descriptor 4 defining hardware thermal structure using device tree. 5 A thermal structure includes thermal zones and their components, 9 The target of device tree thermal descriptors is to describe only 10 the hardware thermal aspects. The thermal device tree bindings are 14 There are five types of nodes involved to describe thermal bindings: 15 - thermal sensors: devices which may be used to take temperature 17 - cooling devices: devices which may be used to dissipate heat. 18 - trip points: describe key temperatures at which cooling is recommended. The 20 - cooling maps: used to describe links between trip points and cooling devices; [all …]
|
| D | zx2967-thermal.txt | 1 * ZTE zx2967 family Thermal 4 - compatible: should be one of the following. 5 * zte,zx296718-thermal 6 - reg: physical base address of the controller and length of memory mapped 8 - clocks : Pairs of phandle and specifier referencing the controller's clocks. 9 - clock-names: "topcrm" for the topcrm clock. 11 - #thermal-sensor-cells: must be 0. 13 Please note: slope coefficient defined in thermal-zones section need to be 19 compatible = "zte,zx296718-thermal"; 22 clock-names = "topcrm", "apb"; [all …]
|
| D | brcm,ns-thermal.txt | 1 * Broadcom Northstar Thermal 3 This binding describes thermal sensor that is part of Northstar's DMU (Device 7 - compatible : Must be "brcm,ns-thermal" 8 - reg : iomem address range of PVTMON registers 9 - #thermal-sensor-cells : Should be <0> 13 thermal: thermal@1800c2c0 { 14 compatible = "brcm,ns-thermal"; 16 #thermal-sensor-cells = <0>; 19 thermal-zones { 20 cpu_thermal: cpu-thermal { [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 thermal.txt) 14 thermal-zones { 15 cpu_thermal: cpu-thermal { 16 polling-delay-passive = <0>; [all …]
|
| D | qcom-spmi-temp-alarm.txt | 8 - compatible: Should contain "qcom,spmi-temp-alarm". 9 - reg: Specifies the SPMI address and length of the controller's 11 - interrupts: PMIC temperature alarm interrupt. 12 - #thermal-sensor-cells: Should be 0. See thermal.txt for a description. 15 - io-channels: Should contain IIO channel specifier for the ADC channel, 17 - io-channel-names: Should contain "thermal". 21 pm8941_temp: thermal-alarm@2400 { 22 compatible = "qcom,spmi-temp-alarm"; 25 #thermal-sensor-cells = <0>; 27 io-channels = <&pm8941_vadc VADC_DIE_TEMP>; [all …]
|
| D | rcar-thermal.txt | 1 * Renesas R-Car Thermal 4 - compatible : "renesas,thermal-<soctype>", 5 "renesas,rcar-gen2-thermal" (with thermal-zone) or 6 "renesas,rcar-thermal" (without thermal-zone) as 7 fallback except R-Car D3. 9 - "renesas,thermal-r8a73a4" (R-Mobile APE6) 10 - "renesas,thermal-r8a7743" (RZ/G1M) 11 - "renesas,thermal-r8a7779" (R-Car H1) 12 - "renesas,thermal-r8a7790" (R-Car H2) 13 - "renesas,thermal-r8a7791" (R-Car M2-W) [all …]
|
| D | rcar-gen3-thermal.txt | 1 * DT bindings for Renesas R-Car Gen3 Thermal Sensor driver 3 On R-Car Gen3 SoCs, the thermal sensor controllers (TSC) control the thermal 8 - compatible : "renesas,<soctype>-thermal", 10 - "renesas,r8a7795-thermal" (R-Car H3) 11 - "renesas,r8a7796-thermal" (R-Car M3-W) 12 - "renesas,r8a77965-thermal" (R-Car M3-N) 13 - reg : Address ranges of the thermal registers. Each sensor 17 - clocks : Must contain a reference to the functional clock. 18 - #thermal-sensor-cells : must be <1>. 22 - interrupts : interrupts routed to the TSC (3 for H3, M3-W and M3-N) [all …]
|
| /kernel/linux/linux-5.10/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 | zx2967-thermal.txt | 1 * ZTE zx2967 family Thermal 4 - compatible: should be one of the following. 5 * zte,zx296718-thermal 6 - reg: physical base address of the controller and length of memory mapped 8 - clocks : Pairs of phandle and specifier referencing the controller's clocks. 9 - clock-names: "topcrm" for the topcrm clock. 11 - #thermal-sensor-cells: must be 0. 13 Please note: slope coefficient defined in thermal-zones section need to be 19 compatible = "zte,zx296718-thermal"; 22 clock-names = "topcrm", "apb"; [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,ns-thermal.txt | 1 * Broadcom Northstar Thermal 3 This binding describes thermal sensor that is part of Northstar's DMU (Device 7 - compatible : Must be "brcm,ns-thermal" 8 - reg : iomem address range of PVTMON registers 9 - #thermal-sensor-cells : Should be <0> 13 thermal: thermal@1800c2c0 { 14 compatible = "brcm,ns-thermal"; 16 #thermal-sensor-cells = <0>; 19 thermal-zones { 20 cpu_thermal: cpu-thermal { [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 | qcom-spmi-temp-alarm.txt | 8 - compatible: Should contain "qcom,spmi-temp-alarm". 9 - reg: Specifies the SPMI address. 10 - interrupts: PMIC temperature alarm interrupt. 11 - #thermal-sensor-cells: Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.… 14 - io-channels: Should contain IIO channel specifier for the ADC channel, 16 - io-channel-names: Should contain "thermal". 20 pm8941_temp: thermal-alarm@2400 { 21 compatible = "qcom,spmi-temp-alarm"; 24 #thermal-sensor-cells = <0>; 26 io-channels = <&pm8941_vadc VADC_DIE_TEMP>; [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 - David Hernandez Sanchez <david.hernandezsanchez@st.com> 14 const: st,stm32-thermal 25 clock-names: 27 - const: pclk 29 "#thermal-sensor-cells": [all …]
|
| /kernel/linux/linux-4.19/drivers/thermal/tegra/ |
| D | Kconfig | 1 menu "NVIDIA Tegra thermal drivers" 5 tristate "Tegra SOCTHERM thermal management" 7 Enable this option for integrated thermal management support on NVIDIA 8 Tegra systems-on-chip. The driver supports four thermal zones 9 (CPU, GPU, MEM, PLLX). Cooling devices can be bound to the thermal 10 zones to manage temperatures. This option is also required for the 11 emergency thermal reset (thermtrip) feature to function. 14 tristate "Tegra BPMP thermal sensing" 18 Tegra systems-on-chip with the BPMP coprocessor (Tegra186).
|
| D | tegra-bpmp-thermal.c | 2 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 22 #include <linux/thermal.h> 26 #include <soc/tegra/bpmp-abi.h> 39 struct tegra_bpmp_thermal_zone **zones; member 52 req.get_temp.zone = zone->idx; in tegra_bpmp_thermal_get_temp() 61 err = tegra_bpmp_transfer(zone->tegra->bpmp, &msg); in tegra_bpmp_thermal_get_temp() 78 req.set_trip.zone = zone->idx; in tegra_bpmp_thermal_set_trips() 88 return tegra_bpmp_transfer(zone->tegra->bpmp, &msg); in tegra_bpmp_thermal_set_trips() 98 thermal_zone_device_update(zone->tzd, THERMAL_TRIP_VIOLATED); in tz_device_update_work_fn() 108 req = (struct mrq_thermal_bpmp_to_host_request *)ch->ib->data; in bpmp_mrq_thermal() [all …]
|
| /kernel/linux/linux-5.10/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).
|
| 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() 69 req.set_trip.zone = zone->idx; in tegra_bpmp_thermal_set_trips() 79 return tegra_bpmp_transfer(zone->tegra->bpmp, &msg); in tegra_bpmp_thermal_set_trips() 89 thermal_zone_device_update(zone->tzd, THERMAL_TRIP_VIOLATED); in tz_device_update_work_fn() [all …]
|
| /kernel/linux/linux-4.19/drivers/thermal/ |
| D | of-thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * of-thermal.c - Generic Thermal Management device tree support. 8 #include <linux/thermal.h> 19 /*** Private data structures to represent thermal device tree data ***/ 22 * struct __thermal_bind_param - a match between trip and cooling device 39 * struct __thermal_zone - internal representation of a thermal zone 40 * @mode: current thermal zone device mode (enabled/disabled) 46 * @trips: an array of trip points (0..ntrips - 1) 47 * @num_tbps: number of thermal bind params 48 * @tbps: an array of thermal bind params (0..num_tbps - 1) [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | thermal_of.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * of-thermal.c - Generic Thermal Management device tree support. 16 #include <linux/thermal.h> 22 /*** Private data structures to represent thermal device tree data ***/ 25 * struct __thermal_cooling_bind_param - a cooling device for a trip point 38 * struct __thermal_bind_param - a match between trip and cooling device 53 * struct __thermal_zone - internal representation of a thermal zone 59 * @trips: an array of trip points (0..ntrips - 1) 60 * @num_tbps: number of thermal bind params 61 * @tbps: an array of thermal bind params (0..num_tbps - 1) [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/intel/ |
| D | x86_pkg_temp_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/thermal.h> 39 /* Number of trip points in thermal zone. Currently it can't 64 static struct zone_device **zones; variable 91 * - cpu hotplug: Read serialized by cpu hotplug lock 94 * - Other callsites: Must hold pkg_temp_lock 101 return zones[id]; in pkg_temp_thermal_get_dev() 106 * tj-max is is interesting because threshold is set relative to this 121 return val ? 0 : -EINVAL; in get_tj_max() 126 struct zone_device *zonedev = tzd->devdata; in sys_get_curr_temp() [all …]
|
| /kernel/linux/linux-4.19/Documentation/hwmon/ |
| D | asc7621 | 15 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 16 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 17 added PECI and a 4th thermal zone. The Andigilog aSC7611 is the 18 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 23 have used registers below 20h for vendor-specific functions in addition 24 to those in the Intel-specified vendor range. 27 The fan speed control uses this finer value to produce a "step-less" fan 28 PWM output. These two bytes are "read-locked" to guarantee that once a 29 high or low byte is read, the other byte is locked-in until after the 32 sheet says 10-bits of resolution, although you may find the lower bits [all …]
|
| /kernel/linux/linux-5.10/tools/thermal/tmon/ |
| D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 int ret = -1; in sysfs_set_ulong() 51 /* history of thermal data, used for control algo */ 59 int ret = -1; in sysfs_get_ulong() 78 int ret = -1; in sysfs_get_string() 97 sysfs_get_string(path, "type", cdi->type); in probe_cdev() 98 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 99 sysfs_get_ulong(path, "cur_state", &cdi->cur_state); in probe_cdev() 103 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 117 return -ENOENT; in str_to_trip_type() [all …]
|