/linux-6.3-rc2/drivers/thermal/ |
A D | da9062-thermal.c | 73 dev_err(thermal->dev, in da9062_thermal_poll_on() 86 dev_err(thermal->dev, in da9062_thermal_poll_on() 103 mutex_lock(&thermal->lock); in da9062_thermal_poll_on() 110 enable_irq(thermal->irq); in da9062_thermal_poll_on() 183 if (!thermal) { in da9062_thermal_probe() 189 thermal->hw = chip; in da9062_thermal_probe() 190 thermal->dev = &pdev->dev; in da9062_thermal_probe() 195 thermal->zone = thermal_zone_device_register_with_trips(thermal->config->name, in da9062_thermal_probe() 218 thermal->irq = ret; in da9062_thermal_probe() 223 "THERMAL", thermal); in da9062_thermal_probe() [all …]
|
A D | rockchip_thermal.c | 1205 thermal->chip->irq_ack(thermal->regs); in rockchip_thermal_alarm_irq_thread() 1257 thermal->tshut_temp = thermal->chip->tshut_temp; in rockchip_configure_from_dt() 1272 thermal->tshut_mode = thermal->chip->tshut_mode; in rockchip_configure_from_dt() 1327 sensor->thermal = thermal; in rockchip_thermal_register_sensor() 1428 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_probe() 1453 thermal->chip->control(thermal->regs, true); in rockchip_thermal_probe() 1489 thermal->chip->control(thermal->regs, false); in rockchip_thermal_remove() 1505 thermal->chip->control(thermal->regs, false); in rockchip_thermal_suspend() 1533 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_resume() 1539 thermal->chip->set_tshut_mode(id, thermal->regs, in rockchip_thermal_resume() [all …]
|
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 319 thermal framework. 329 Support for the sun8i thermal sensor driver into the Linux thermal 352 thermal framework. 370 thermal framework. 378 Support for the Kirkwood thermal sensor driver into the Linux thermal 387 Support for the Dove thermal sensor driver in the Linux thermal 449 source "drivers/thermal/ti-soc-thermal/Kconfig" 485 thermal framework. The driver supports CPU thermal zone temperature [all …]
|
A D | kirkwood_thermal.c | 26 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp() argument 30 struct kirkwood_thermal_priv *priv = thermal->devdata; in kirkwood_get_temp() 37 dev_err(&thermal->device, in kirkwood_get_temp() 65 struct thermal_zone_device *thermal = NULL; in kirkwood_thermal_probe() local 77 thermal = thermal_zone_device_register("kirkwood_thermal", 0, 0, in kirkwood_thermal_probe() 79 if (IS_ERR(thermal)) { in kirkwood_thermal_probe() 82 return PTR_ERR(thermal); in kirkwood_thermal_probe() 84 ret = thermal_zone_device_enable(thermal); in kirkwood_thermal_probe() 86 thermal_zone_device_unregister(thermal); in kirkwood_thermal_probe() 91 platform_set_drvdata(pdev, thermal); in kirkwood_thermal_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/thermal/ |
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 …]
|
A 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 …]
|
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 …]
|
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 19 - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs 20 - reg: Address range of the thermal controller 21 - interrupts: IRQ for the thermal controller 28 - #thermal-sensor-cells : Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor… 38 thermal: thermal@1100b000 { 39 #thermal-sensor-cells = <1>; [all …]
|
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 …]
|
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>;
|
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>;
|
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 …]
|
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>;
|
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. 216 - thermal-sensors 226 #include <dt-bindings/thermal/thermal.h> 260 thermal-zones { [all …]
|
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-cp110-thermal 23 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to 31 thermal@d0018300 { 32 compatible = "marvell,armada370-thermal"; [all …]
|
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 …]
|
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>;
|
A D | st,stm32-thermal.yaml | 4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# 7 title: STMicroelectronics STM32 digital thermal sensor (DTS) 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 …]
|
A 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':
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 752 thermal->core, thermal, linecard); in mlxsw_thermal_got_active() 810 if (!thermal) in mlxsw_thermal_init() 896 thermal); in mlxsw_thermal_init() 911 thermal); in mlxsw_thermal_init() 913 mlxsw_thermal_gearboxes_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_init() 915 mlxsw_thermal_modules_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_init() 928 kfree(thermal); in mlxsw_thermal_init() 939 thermal); in mlxsw_thermal_fini() 940 mlxsw_thermal_gearboxes_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_fini() 941 mlxsw_thermal_modules_fini(thermal, &thermal->line_cards[0]); in mlxsw_thermal_fini() [all …]
|
/linux-6.3-rc2/drivers/thermal/ti-soc-thermal/ |
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
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
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 …]
|
/linux-6.3-rc2/Documentation/driver-api/thermal/ |
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. 423 this thermal zone 429 ACPI thermal zones. 431 Please read Documentation/ABI/testing/sysfs-class-thermal for thermal 457 /sys/class/thermal: [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/ |
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 …]
|
/linux-6.3-rc2/tools/ |
A 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 149 thermal-engine_install: 192 $(call descend,lib/thermal,clean) 200 thermal-engine_clean: 201 $(call descend,thermal/thermal-engine,clean) [all …]
|