/linux-6.1.9/drivers/thermal/ ! |
D | da9062-thermal.c | 61 struct da9062_thermal *thermal = container_of(work, in da9062_thermal_poll_on() local 69 ret = regmap_write(thermal->hw->regmap, in da9062_thermal_poll_on() 73 dev_err(thermal->dev, in da9062_thermal_poll_on() 82 ret = regmap_read(thermal->hw->regmap, in da9062_thermal_poll_on() 86 dev_err(thermal->dev, in da9062_thermal_poll_on() 92 mutex_lock(&thermal->lock); in da9062_thermal_poll_on() 93 thermal->temperature = DA9062_MILLI_CELSIUS(125); in da9062_thermal_poll_on() 94 mutex_unlock(&thermal->lock); in da9062_thermal_poll_on() 95 thermal_zone_device_update(thermal->zone, in da9062_thermal_poll_on() 98 delay = thermal->zone->passive_delay_jiffies; in da9062_thermal_poll_on() [all …]
|
D | rockchip_thermal.c | 135 struct rockchip_thermal_data *thermal; member 1200 struct rockchip_thermal_data *thermal = dev; in rockchip_thermal_alarm_irq_thread() local 1203 dev_dbg(&thermal->pdev->dev, "thermal alarm\n"); in rockchip_thermal_alarm_irq_thread() 1205 thermal->chip->irq_ack(thermal->regs); in rockchip_thermal_alarm_irq_thread() 1207 for (i = 0; i < thermal->chip->chn_num; i++) in rockchip_thermal_alarm_irq_thread() 1208 thermal_zone_device_update(thermal->sensors[i].tzd, in rockchip_thermal_alarm_irq_thread() 1217 struct rockchip_thermal_data *thermal = sensor->thermal; in rockchip_thermal_set_trips() local 1218 const struct rockchip_tsadc_chip *tsadc = thermal->chip; in rockchip_thermal_set_trips() 1220 dev_dbg(&thermal->pdev->dev, "%s: sensor %d: low: %d, high %d\n", in rockchip_thermal_set_trips() 1224 sensor->id, thermal->regs, high); in rockchip_thermal_set_trips() [all …]
|
D | Kconfig | 3 # Generic thermal drivers configuration 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 24 The thermal framework has a netlink interface to do thermal 32 Export thermal state transition statistics information through sysfs. 42 case of failure of an orderly_poweroff(), the thermal emergency 54 prompt "Expose thermal sensors as hwmon device" 58 In case a sensor is registered with the thermal 63 Say 'Y' here if you want all thermal sensors to [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/thermal/ ! |
D | rcar-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-thermal.yaml# 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 30 - renesas,thermal-r8a7791 # R-Car M2-W [all …]
|
D | brcm,bcm2835-thermal.txt | 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 { 19 thermal-sensors = <&thermal>; 36 thermal: thermal@7e212000 { 37 compatible = "brcm,bcm2835-thermal"; [all …]
|
D | rcar-gen3-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml# 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+ 27 - renesas,r8a77965-thermal # R-Car M3-N [all …]
|
D | brcm,sr-thermal.txt | 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>; 45 ihost1_thermal: ihost1-thermal { [all …]
|
D | amazon,al-thermal.txt | 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>;
|
D | mediatek-thermal.txt | 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,mt8183-thermal" : For MT8183 family of SoCs 17 - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs 18 - reg: Address range of the thermal controller 19 - interrupts: IRQ for the thermal controller 20 - clocks, clock-names: Clocks needed for the thermal controller. required [all …]
|
D | brcm,ns-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml# 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 { 43 cpu-thermal { 47 thermal-sensors = <&thermal>;
|
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 …]
|
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>;
|
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-cp110-thermal 22 Note: The compatibles marvell,armada370-thermal, 23 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to 31 thermal@d0018300 { [all …]
|
D | thermal-zones.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 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. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt 28 (temperature derivative over time) in two situations for a thermal zone: [all …]
|
D | thermal-sensor.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 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. 27 Thermal sensor devices provide temperature sensing capabilities on thermal 32 "#thermal-sensor-cells": [all …]
|
D | st,stm32-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# 7 title: STMicroelectronics STM32 digital thermal sensor (DTS) binding 14 const: st,stm32-thermal 29 "#thermal-sensor-cells": 33 - "#thermal-sensor-cells" 46 dts: thermal@50028000 { 47 compatible = "st,stm32-thermal"; 51 #thermal-sensor-cells = <0>; 55 thermal-zones { 56 cpu_thermal: cpu-thermal { [all …]
|
D | fsl,scu-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# 16 - $ref: thermal-sensor.yaml# 21 - const: fsl,imx8qxp-sc-thermal 22 - const: fsl,imx-sc-thermal 24 '#thermal-sensor-cells': 29 - '#thermal-sensor-cells' 35 thermal-sensor { 36 compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; 37 #thermal-sensor-cells = <1>;
|
D | nvidia,tegra186-bpmp-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra186-bpmp-thermal.yaml# 7 title: NVIDIA Tegra186 (and later) BPMP thermal sensor 16 cluster and GPU temperatures. This binding describes the thermal 19 The BPMP thermal node must be located directly inside the main BPMP 23 This node represents a thermal sensor. See 25 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml 27 for details of the core thermal binding. 32 - nvidia,tegra186-bpmp-thermal 33 - nvidia,tegra194-bpmp-thermal 35 '#thermal-sensor-cells':
|
D | da9062-thermal.txt | 6 Junction temperature thermal module uses an interrupt signal to identify 12 "dlg,da9061-thermal", "dlg,da9062-thermal" 13 "dlg,da9062-thermal" 18 milliseconds, between thermal zone device update checks. 23 thermal { 24 compatible = "dlg,da9062-thermal"; 32 thermal { 33 compatible = "dlg,da9061-thermal", "dlg,da9062-thermal";
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ ! |
D | core_thermal.c | 118 static int mlxsw_get_cooling_device_idx(struct mlxsw_thermal *thermal, in mlxsw_get_cooling_device_idx() argument 124 if (thermal->cdevs[i] == cdev) in mlxsw_get_cooling_device_idx() 196 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind() local 197 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_bind() 201 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_bind() 205 const struct mlxsw_thermal_trip *trip = &thermal->trips[i]; in mlxsw_thermal_bind() 222 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind() local 223 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind() 228 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_unbind() 244 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_temp() local [all …]
|
/linux-6.1.9/drivers/thermal/ti-soc-thermal/ ! |
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-6.1.9/Documentation/ABI/testing/ ! |
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 30 Preventing kernel thermal zone driver actions upon 32 charge of the thermal management. [all …]
|
/linux-6.1.9/Documentation/driver-api/thermal/ ! |
D | sysfs-api.rst | 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 33 1. thermal sysfs driver interface functions [all …]
|
/linux-6.1.9/arch/arm64/boot/dts/qcom/ ! |
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 …]
|
/linux-6.1.9/tools/ ! |
D | Makefile | 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) 147 $(call descend,thermal/$(@:_install=),install) 149 thermal-engine_install: 150 $(call descend,thermal/$(@:_install=),install) [all …]
|