/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 …]
|
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 | 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 | rcar-gen3-thermal.yaml | 1 # 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 R-Car Gen3 SoCs, the thermal sensor controllers (TSC) control the thermal 16 - Niklas Söderlund <niklas.soderlund@ragnatech.se> 21 - renesas,r8a774a1-thermal # RZ/G2M 22 - renesas,r8a774b1-thermal # RZ/G2N 23 - renesas,r8a774e1-thermal # RZ/G2H [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 …]
|
D | rcar-thermal.yaml | 1 # 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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
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-5.10/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 …]
|
D | tango4-smp8758.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "tango4-common.dtsi" 6 #address-cells = <1>; 7 #size-cells = <0>; 8 enable-method = "sigma,tango4-smp"; 11 compatible = "arm,cortex-a9"; 12 next-level-cache = <&l2cc>; 16 clock-latency = <1>; 20 compatible = "arm,cortex-a9"; 21 next-level-cache = <&l2cc>; [all …]
|
/linux-5.10/include/uapi/linux/ |
D | thermal.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 #define THERMAL_GENL_FAMILY_NAME "thermal" 50 #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1) 56 #define THERMAL_GENL_SAMPLING_MAX (__THERMAL_GENL_SAMPLING_MAX - 1) 61 THERMAL_GENL_EVENT_TZ_CREATE, /* Thermal zone creation */ 62 THERMAL_GENL_EVENT_TZ_DELETE, /* Thermal zone deletion */ 63 THERMAL_GENL_EVENT_TZ_DISABLE, /* Thermal zone disabed */ 64 THERMAL_GENL_EVENT_TZ_ENABLE, /* Thermal zone enabled */ 70 THERMAL_GENL_EVENT_CDEV_ADD, /* Cdev bound to the thermal zone */ 76 #define THERMAL_GENL_EVENT_MAX (__THERMAL_GENL_EVENT_MAX - 1) [all …]
|
/linux-5.10/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-5.10/Documentation/devicetree/bindings/hwmon/ |
D | pwm-fan.txt | 4 - compatible : "pwm-fan" 5 - pwms : the PWM that is used to control the PWM fan 6 - cooling-levels : PWM duty cycle values in a range from 0 to 255 7 which correspond to thermal cooling states 10 - fan-supply : phandle to the regulator that provides power to the fan 11 - interrupts : This contains a single interrupt specifier which 16 See interrupt-controller/interrupts.txt for the format. 17 - pulses-per-revolution : define the tachometer pulses per fan revolution as 22 fan0: pwm-fan { 23 compatible = "pwm-fan"; [all …]
|