/openbmc/linux/drivers/thermal/ |
H A D | da9062-thermal.c | 75 dev_err(thermal->dev, in da9062_thermal_poll_on() 88 dev_err(thermal->dev, in da9062_thermal_poll_on() 108 mutex_lock(&thermal->lock); in da9062_thermal_poll_on() 115 enable_irq(thermal->irq); in da9062_thermal_poll_on() 187 if (!thermal) { in da9062_thermal_probe() 193 thermal->hw = chip; in da9062_thermal_probe() 194 thermal->dev = &pdev->dev; in da9062_thermal_probe() 199 thermal->zone = thermal_zone_device_register_with_trips(thermal->config->name, in da9062_thermal_probe() 221 thermal->irq = ret; in da9062_thermal_probe() 226 "THERMAL", thermal); in da9062_thermal_probe() [all …]
|
H A D | rockchip_thermal.c | 1370 thermal->chip->irq_ack(thermal->regs); in rockchip_thermal_alarm_irq_thread() 1419 thermal->tshut_temp = thermal->chip->tshut_temp; in rockchip_configure_from_dt() 1434 thermal->tshut_mode = thermal->chip->tshut_mode; in rockchip_configure_from_dt() 1489 sensor->thermal = thermal; in rockchip_thermal_register_sensor() 1568 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_probe() 1588 thermal->chip->control(thermal->regs, true); in rockchip_thermal_probe() 1616 thermal->chip->control(thermal->regs, false); in rockchip_thermal_remove() 1629 thermal->chip->control(thermal->regs, false); in rockchip_thermal_suspend() 1657 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_resume() 1663 thermal->chip->set_tshut_mode(id, thermal->regs, in rockchip_thermal_resume() [all …]
|
H A D | Kconfig | 10 thermal management. Usually it's made up of one or more thermal 24 The thermal framework has a netlink interface to do thermal 327 thermal framework. 337 Support for the sun8i thermal sensor driver into the Linux thermal 360 thermal framework. 378 thermal framework. 386 Support for the Kirkwood thermal sensor driver into the Linux thermal 395 Support for the Dove thermal sensor driver in the Linux thermal 457 source "drivers/thermal/ti-soc-thermal/Kconfig" 493 thermal framework. The driver supports CPU thermal zone temperature [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | rcar-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-thermal.yaml# 20 - const: renesas,rcar-thermal # Generic without thermal-zone 26 - const: renesas,rcar-gen2-thermal # Generic thermal-zone 33 - const: renesas,rcar-gen2-thermal # Generic thermal-zone 34 - const: renesas,rcar-thermal # Generic without thermal-zone 100 thermal@ffc48000 { 101 compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; 111 thermal@e61f0000 { 126 thermal: thermal@e61f0000 { 138 thermal-zones { [all …]
|
H A D | rcar-gen3-thermal.yaml | 5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml# 21 - renesas,r8a774a1-thermal # RZ/G2M 22 - renesas,r8a774b1-thermal # RZ/G2N 23 - renesas,r8a774e1-thermal # RZ/G2H 50 "#thermal-sensor-cells": 59 - "#thermal-sensor-cells" 66 - renesas,r8a779a0-thermal 91 - renesas,r8a779f0-thermal 105 tsc: thermal@e6198000 { 119 thermal-zones { [all …]
|
H A D | mediatek-thermal.txt | 12 - "mediatek,mt8173-thermal" : For MT8173 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 20 - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs 21 - reg: Address range of the thermal controller 22 - interrupts: IRQ for the thermal controller 29 - #thermal-sensor-cells : Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor… 39 thermal: thermal@1100b000 { 40 #thermal-sensor-cells = <1>; [all …]
|
H A D | brcm,sr-thermal.txt | 12 - thermal-sensors: A list of thermal sensor phandles and specifier. 25 compatible = "brcm,sr-thermal"; 28 #thermal-sensor-cells = <1>; 32 thermal-zones { 36 thermal-sensors = <&tmon 0>; 48 thermal-sensors = <&tmon 1>; 60 thermal-sensors = <&tmon 2>; 72 thermal-sensors = <&tmon 3>; 81 crmu_thermal: crmu-thermal { 84 thermal-sensors = <&tmon 4>; [all …]
|
H A 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>;
|
H A D | loongson,ls2k-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml# 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 66 thermal: thermal-sensor@1fe01500 { [all …]
|
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": 37 - '#thermal-sensor-cells' 43 thermal@7e212000 { 44 compatible = "brcm,bcm2835-thermal"; [all …]
|
H A 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>;
|
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 24 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to 32 thermal@d0018300 { [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 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" 50 pvtctl: thermal-sensor { 51 compatible = "socionext,uniphier-ld20-thermal"; [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>;
|
H A 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. 23 thermal data for the platform 25 This binding describes the thermal-sensor. 32 "#thermal-sensor-cells": 40 - "#thermal-sensor-cells" 55 tsens0: thermal-sensor@c263000 { 63 #thermal-sensor-cells = <1>; 66 tsens1: thermal-sensor@c265000 { [all …]
|
H A 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>;
|
H A D | thermal-zones.yaml | 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 23 thermal data for the platform 42 const: thermal-zones 44 A /thermal-zones node is required in order to use the thermal framework to 66 timers setup by the thermal framework and assumes that the thermal 78 thermal-sensors: 83 thermal zone. 217 - thermal-sensors 227 #include <dt-bindings/thermal/thermal.h> 261 thermal-zones { [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 658 thermal->core, thermal, linecard); in mlxsw_thermal_got_active() 716 if (!thermal) in mlxsw_thermal_init() 798 thermal); in mlxsw_thermal_init() 813 thermal); in mlxsw_thermal_init() 815 mlxsw_thermal_gearboxes_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_init() 817 mlxsw_thermal_modules_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_init() 830 kfree(thermal); in mlxsw_thermal_init() 841 thermal); in mlxsw_thermal_fini() 842 mlxsw_thermal_gearboxes_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_fini() 843 mlxsw_thermal_modules_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_fini() [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/linux/Documentation/driver-api/thermal/ |
H A D | sysfs-api.rst | 15 The generic thermal sysfs provides a set of interfaces for thermal zone 24 The main task of the thermal sysfs driver is to expose thermal zone attributes 53 the thermal zone type. 64 bind the thermal zone device with a thermal cooling device. 66 unbind the thermal zone device with a thermal cooling device. 120 thermal zone device. 383 this thermal zone 389 ACPI thermal zones. 391 Please read Documentation/ABI/testing/sysfs-class-thermal for thermal 417 /sys/class/thermal: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j721s2-thermal.dtsi | 3 #include <dt-bindings/thermal/thermal.h> 5 wkup0_thermal: wkup0-thermal { 8 thermal-sensors = <&wkup_vtm0 0>; 19 wkup1_thermal: wkup1-thermal { 22 thermal-sensors = <&wkup_vtm0 1>; 33 main0_thermal: main0-thermal { 36 thermal-sensors = <&wkup_vtm0 2>; 47 main1_thermal: main1-thermal { 61 main2_thermal: main2-thermal { 75 main3_thermal: main3-thermal { [all …]
|
H A D | k3-j784s4-thermal.dtsi | 3 #include <dt-bindings/thermal/thermal.h> 5 wkup0_thermal: wkup0-thermal { 8 thermal-sensors = <&wkup_vtm0 0>; 19 wkup1_thermal: wkup1-thermal { 22 thermal-sensors = <&wkup_vtm0 1>; 33 main0_thermal: main0-thermal { 36 thermal-sensors = <&wkup_vtm0 2>; 47 main1_thermal: main1-thermal { 61 main2_thermal: main2-thermal { 75 main3_thermal: main3-thermal { [all …]
|
H A D | k3-j721e-thermal.dtsi | 3 #include <dt-bindings/thermal/thermal.h> 5 thermal_zones: thermal-zones { 6 wkup_thermal: wkup-thermal { 9 thermal-sensors = <&wkup_vtm0 0>; 20 mpu_thermal: mpu-thermal { 23 thermal-sensors = <&wkup_vtm0 1>; 34 c7x_thermal: c7x-thermal { 37 thermal-sensors = <&wkup_vtm0 2>; 48 gpu_thermal: gpu-thermal { 51 thermal-sensors = <&wkup_vtm0 3>; [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 { 33 cpu6-thermal { [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. 12 What: /sys/class/thermal/thermal_zoneX/temp 20 What: /sys/class/thermal/thermal_zoneX/mode 32 charge of the thermal management. 36 What: /sys/class/thermal/thermal_zoneX/policy 62 for ACPI thermal zone. 75 What: /sys/class/thermal/thermal_zoneX/cdevY 96 thermal zone. 120 What: /sys/class/thermal/thermal_zoneX/k_d [all …]
|