/openbmc/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 | da9062-thermal.c | 3 * Thermal device driver for DA9062 and DA9061 11 * implementation of the thermal driver will include a .notify() function 27 #include <linux/thermal.h> 63 struct da9062_thermal *thermal = container_of(work, in da9062_thermal_poll_on() local 71 ret = regmap_write(thermal->hw->regmap, in da9062_thermal_poll_on() 75 dev_err(thermal->dev, in da9062_thermal_poll_on() 84 ret = regmap_read(thermal->hw->regmap, in da9062_thermal_poll_on() 88 dev_err(thermal->dev, in da9062_thermal_poll_on() 94 mutex_lock(&thermal->lock); in da9062_thermal_poll_on() 95 thermal->temperature = DA9062_MILLI_CELSIUS(125); in da9062_thermal_poll_on() [all …]
|
H A D | rockchip_thermal.c | 18 #include <linux/thermal.h> 114 * struct rockchip_thermal_sensor - hold the information of thermal sensor 115 * @thermal: pointer to the platform/configuration data 116 * @tzd: pointer to a thermal zone 117 * @id: identifier of the thermal sensor 120 struct rockchip_thermal_data *thermal; member 126 * struct rockchip_thermal_data - hold the private data of thermal driver 128 * @pdev: platform device of thermal 130 * @sensors: array of thermal sensors 1365 struct rockchip_thermal_data *thermal = dev; in rockchip_thermal_alarm_irq_thread() local [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Thermal_v1.xml | 4 <!--# Redfish Schema: Thermal v1.7.3 --> 41 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thermal"> 45 <EntityType Name="Thermal" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 46 …ption" String="The `Therma`l schema describes temperature monitoring and thermal management subsys… 47 …<Annotation Term="OData.LongDescription" String="This resource shall contain the thermal managemen… 66 <String>/redfish/v1/Chassis/{ChassisId}/Thermal</String> 71 <String>/redfish/v1/Chassis/{ChassisId}/Thermal</String> 86 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thermal.v1_0_0"> 90 <EntityType Name="Thermal" BaseType="Thermal.Thermal"> 91 …<NavigationProperty Name="Temperatures" Type="Collection(Thermal.v1_0_0.Temperature)" ContainsTarg… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Thermal_v1.xml | 4 <!--# Redfish Schema: Thermal v1.7.3 --> 41 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thermal"> 45 <EntityType Name="Thermal" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 46 …ption" String="The `Therma`l schema describes temperature monitoring and thermal management subsys… 47 …<Annotation Term="OData.LongDescription" String="This resource shall contain the thermal managemen… 66 <String>/redfish/v1/Chassis/{ChassisId}/Thermal</String> 71 <String>/redfish/v1/Chassis/{ChassisId}/Thermal</String> 86 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thermal.v1_0_0"> 90 <EntityType Name="Thermal" BaseType="Thermal.Thermal"> 91 …<NavigationProperty Name="Temperatures" Type="Collection(Thermal.v1_0_0.Temperature)" ContainsTarg… [all …]
|
/openbmc/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 | mediatek-thermal.txt | 1 * Mediatek Thermal 3 This describes the device tree binding for the Mediatek thermal controller 12 - "mediatek,mt8173-thermal" : For MT8173 family of SoCs 13 - "mediatek,mt2701-thermal" : For MT2701 family of SoCs 14 - "mediatek,mt2712-thermal" : For MT2712 family of SoCs 15 - "mediatek,mt7622-thermal" : For MT7622 SoC 16 - "mediatek,mt7981-thermal", "mediatek,mt7986-thermal" : For MT7981 SoC 17 - "mediatek,mt7986-thermal" : For MT7986 SoC 18 - "mediatek,mt8183-thermal" : For MT8183 family of SoCs 19 - "mediatek,mt8365-thermal" : For MT8365 family of SoCs [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 21 - renesas,r8a774a1-thermal # RZ/G2M 22 - renesas,r8a774b1-thermal # RZ/G2N 23 - renesas,r8a774e1-thermal # RZ/G2H 24 - renesas,r8a7795-thermal # R-Car H3 25 - renesas,r8a7796-thermal # R-Car M3-W 26 - renesas,r8a77961-thermal # R-Car M3-W+ [all …]
|
H A D | thermal-zones.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 8 title: Thermal zone 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 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-zones. [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 | 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': 41 - '#thermal-sensor-cells' 48 - loongson,ls2k2000-thermal [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 | 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 20 - socionext,uniphier-pxs2-thermal 21 - socionext,uniphier-ld20-thermal 22 - socionext,uniphier-pxs3-thermal 23 - socionext,uniphier-nx1-thermal 28 "#thermal-sensor-cells": 41 - "#thermal-sensor-cells" 47 // The UniPhier thermal should be a subnode of a "syscon" compatible node. [all …]
|
H A D | brcm,avs-ro-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml# 7 title: Broadcom AVS ring oscillator thermal 13 The thermal node should be the child of a syscon node with the 24 const: brcm,bcm2711-thermal 26 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details 27 "#thermal-sensor-cells": 32 - '#thermal-sensor-cells' 43 thermal: thermal { 44 compatible = "brcm,bcm2711-thermal"; 45 #thermal-sensor-cells = <0>;
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A D | sysfs-api.rst | 2 Generic Thermal Sysfs driver How To 15 The generic thermal sysfs provides a set of interfaces for thermal zone 16 devices (sensors) and thermal cooling devices (fan, processor...) to register 17 with the thermal management solution and to be a part of it. 19 This how-to focuses on enabling new thermal zone and cooling devices to 20 participate in thermal management. 21 This solution is platform independent and any type of thermal zone devices 24 The main task of the thermal sysfs driver is to expose thermal zone attributes 26 An intelligent thermal management application can make decisions based on 27 inputs from thermal zone attributes (the current temperature and trip point [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 10 #include <linux/thermal.h> 31 /* External cooling devices, allowed for binding to mlxsw thermal zones. */ 140 static int mlxsw_get_cooling_device_idx(struct mlxsw_thermal *thermal, in mlxsw_get_cooling_device_idx() argument 146 if (thermal->cdevs[i] == cdev) in mlxsw_get_cooling_device_idx() 149 /* Allow mlxsw thermal zone binding to an external cooling device */ in mlxsw_get_cooling_device_idx() 161 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_bind() local 162 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 166 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_bind() 170 const struct mlxsw_cooling_states *state = &thermal->cooling_states[i]; in mlxsw_thermal_bind() 187 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_unbind() local [all …]
|
/openbmc/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 …]
|
/openbmc/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
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_alternate_fan_settings.robot | 27 Verify Current Fan Thermal Mode 28 [Documentation] Check current thermal fan mode is a valid mode value. 32 # /xyz/openbmc_project/control/thermal/0 54 Verify Supported Fan Thermal Modes Available 55 [Documentation] Check supported fan thermal modes are valid mode values. 64 Verify Supported Fan Thermal Modes Switch At Standby 67 [Template] Set and Verify Thermal Mode Switches 76 Verify Supported Fan Thermal Modes Switch At Runtime 79 [Template] Set and Verify Thermal Mode Switches 88 Verify Supported Fan Thermal Mode Remains Set After Boot [all …]
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | Kconfig | 12 user interface is exposed via generic thermal framework. 23 tristate "X86 package temperature thermal driver" 31 thermal zone. Each package will have its own thermal zone. There are 32 two trip points which can be set by user to get notifications via thermal 47 tristate "Intel SoCs DTS thermal driver" 55 thermal zone. There are two trip points. One of the trip point can 56 be set by user mode programs to get notifications via Linux thermal 61 tristate "Intel Quark DTS thermal driver" 66 The DTS will be registered as a thermal zone. There are two trip points: 70 menu "ACPI INT340X thermal drivers" [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm632.dtsi | 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>; 25 cpu4-thermal { 26 thermal-sensors = <&tsens0 5>; 29 cpu5-thermal { 30 thermal-sensors = <&tsens0 6>; [all …]
|
/openbmc/linux/tools/ |
H A D | Makefile | 34 @echo ' tmon - thermal monitoring and tuning tool' 36 @echo ' thermal-engine - thermal monitoring tool' 37 @echo ' thermal - thermal library' 98 thermal: FORCE target 105 $(call descend,thermal/$@) 108 $(call descend,thermal/$@) 110 thermal-engine: FORCE thermal 111 $(call descend,thermal/$@) 123 pci debugging tracing thermal thermometer thermal-engine 144 $(call descend,thermal/$(@:_install=),install) [all …]
|