/linux/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() 110 enable_irq(thermal->irq); in da9062_thermal_poll_on() 134 dev_err(thermal->dev, in da9062_thermal_get_trip_type() 153 dev_err(thermal->dev, in da9062_thermal_get_trip_temp() 219 if (!thermal) { in da9062_thermal_probe() 225 thermal->hw = chip; in da9062_thermal_probe() 231 thermal->zone = thermal_zone_device_register(thermal->config->name, in da9062_thermal_probe() 232 1, 0, thermal, in da9062_thermal_probe() 255 thermal->irq = ret; in da9062_thermal_probe() [all …]
|
A D | .built-in.a.cmd | 1 …thermal/built-in.a := echo >/dev/null; rm -f drivers/thermal/built-in.a; /usr/bin/ccache /home/tes…
|
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() 1430 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_probe() 1455 thermal->chip->control(thermal->regs, true); in rockchip_thermal_probe() 1491 thermal->chip->control(thermal->regs, false); in rockchip_thermal_remove() 1507 thermal->chip->control(thermal->regs, false); in rockchip_thermal_suspend() 1535 thermal->chip->initialize(thermal->grf, thermal->regs, in rockchip_thermal_resume() 1541 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 313 thermal framework. 323 Support for the sun8i thermal sensor driver into the Linux thermal 346 thermal framework. 363 Support for the Kirkwood thermal sensor driver into the Linux thermal 372 Support for the Dove thermal sensor driver in the Linux thermal 380 Adds DB8500 thermal management implementation according to the thermal 440 source "drivers/thermal/ti-soc-thermal/Kconfig" 476 thermal framework. The driver supports CPU thermal zone temperature [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 283 mlxsw_thermal_tz_score_update(thermal, tzdev, thermal->trips, in mlxsw_thermal_get_temp() 755 thermal->tz_module_arr = kcalloc(thermal->tz_module_num, in mlxsw_thermal_modules_init() 855 thermal->tz_gearbox_arr = kcalloc(thermal->tz_gearbox_num, in mlxsw_thermal_gearboxes_init() 906 thermal = devm_kzalloc(dev, sizeof(*thermal), in mlxsw_thermal_init() 908 if (!thermal) in mlxsw_thermal_init() 911 thermal->core = core; in mlxsw_thermal_init() 913 memcpy(thermal->trips, default_thermal_trips, sizeof(thermal->trips)); in mlxsw_thermal_init() 947 thermal, in mlxsw_thermal_init() 969 thermal, in mlxsw_thermal_init() 991 *p_thermal = thermal; in mlxsw_thermal_init() [all …]
|
/linux/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# 11 On R-Car Gen3 SoCs, the thermal sensor controllers (TSC) control the thermal 21 - renesas,r8a774a1-thermal # RZ/G2M 22 - renesas,r8a774b1-thermal # RZ/G2N 23 - renesas,r8a774e1-thermal # RZ/G2H 48 "#thermal-sensor-cells": 57 - "#thermal-sensor-cells" 65 - renesas,r8a779a0-thermal 95 tsc: thermal@e6198000 { 109 thermal-zones { [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 | mediatek-thermal.txt | 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 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 26 - #thermal-sensor-cells : Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor… 36 thermal: thermal@1100b000 { 37 #thermal-sensor-cells = <1>; [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 | 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 226 #include <dt-bindings/thermal/thermal.h> 260 thermal-zones { [all …]
|
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 | nvidia,tegra186-bpmp-thermal.txt | 1 NVIDIA Tegra186 BPMP thermal sensor 5 and GPU temperatures. This binding describes the thermal sensor that is 8 The BPMP thermal node must be located directly inside the main BPMP node. See 11 This node represents a thermal sensor. See Documentation/devicetree/bindings/thermal/thermal-sensor… 12 core thermal binding. 18 - "nvidia,tegra186-bpmp-thermal" 19 - "nvidia,tegra194-bpmp-thermal" 20 - #thermal-sensor-cells: Cell for sensor index. 29 bpmp_thermal: thermal { 30 compatible = "nvidia,tegra186-bpmp-thermal"; [all …]
|
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" 54 pvtctl: thermal { 55 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-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 | 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 | 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 …]
|
A 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 10 - compatible: Must be "generic-adc-thermal". 11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen… 29 #include <dt-bindings/thermal/thermal.h> 40 tboard_thermistor: thermal-sensor { 41 compatible = "generic-adc-thermal"; 42 #thermal-sensor-cells = <0>; 72 thermal-zones { 76 thermal-sensors = <&tboard_thermistor>;
|
A D | allwinner,sun8i-a83t-ths.yaml | 52 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details 53 "#thermal-sensor-cells": 91 "#thermal-sensor-cells": 96 "#thermal-sensor-cells": 121 - '#thermal-sensor-cells' 127 thermal-sensor@1f04000 { 133 #thermal-sensor-cells = <1>; 137 thermal-sensor@1c25000 { 146 #thermal-sensor-cells = <0>; 150 thermal-sensor@5070400 { [all …]
|
/linux/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/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/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/drivers/thermal/broadcom/ |
A D | bcm2711_thermal.c | 31 struct thermal_zone_device *thermal; member 37 int slope = thermal_zone_get_slope(priv->thermal); in bcm2711_get_temp() 38 int offset = thermal_zone_get_offset(priv->thermal); in bcm2711_get_temp() 72 struct thermal_zone_device *thermal; in bcm2711_thermal_probe() local 94 thermal = devm_thermal_zone_of_sensor_register(dev, 0, priv, in bcm2711_thermal_probe() 96 if (IS_ERR(thermal)) { in bcm2711_thermal_probe() 97 ret = PTR_ERR(thermal); in bcm2711_thermal_probe() 102 priv->thermal = thermal; in bcm2711_thermal_probe() 104 thermal->tzp->no_hwmon = false; in bcm2711_thermal_probe() 105 return thermal_add_hwmon_sysfs(thermal); in bcm2711_thermal_probe()
|