Home
last modified time | relevance | path

Searched refs:thermal (Results 1 – 25 of 705) sorted by relevance

12345678910>>...29

/openbmc/linux/drivers/thermal/
H A Dda9062-thermal.c63 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()
96 mutex_unlock(&thermal->lock); in da9062_thermal_poll_on()
97 thermal_zone_device_update(thermal->zone, in da9062_thermal_poll_on()
104 queue_delayed_work(system_freezable_wq, &thermal->work, delay); in da9062_thermal_poll_on()
[all …]
H A Drockchip_thermal.c120 struct rockchip_thermal_data *thermal; member
1365 struct rockchip_thermal_data *thermal = dev; in rockchip_thermal_alarm_irq_thread() local
1368 dev_dbg(&thermal->pdev->dev, "thermal alarm\n"); in rockchip_thermal_alarm_irq_thread()
1370 thermal->chip->irq_ack(thermal->regs); in rockchip_thermal_alarm_irq_thread()
1372 for (i = 0; i < thermal->chip->chn_num; i++) in rockchip_thermal_alarm_irq_thread()
1373 thermal_zone_device_update(thermal->sensors[i].tzd, in rockchip_thermal_alarm_irq_thread()
1382 struct rockchip_thermal_data *thermal = sensor->thermal; in rockchip_thermal_set_trips() local
1383 const struct rockchip_tsadc_chip *tsadc = thermal->chip; in rockchip_thermal_set_trips()
1385 dev_dbg(&thermal->pdev->dev, "%s: sensor %d: low: %d, high %d\n", in rockchip_thermal_set_trips()
1389 sensor->id, thermal->regs, high); in rockchip_thermal_set_trips()
[all …]
H A DKconfig3 # 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 …]
H A Dkirkwood_thermal.c26 static int kirkwood_get_temp(struct thermal_zone_device *thermal, in kirkwood_get_temp() argument
30 struct kirkwood_thermal_priv *priv = thermal_zone_device_priv(thermal); in kirkwood_get_temp()
62 struct thermal_zone_device *thermal = NULL; in kirkwood_thermal_probe() local
74 thermal = thermal_tripless_zone_device_register("kirkwood_thermal", in kirkwood_thermal_probe()
76 if (IS_ERR(thermal)) { in kirkwood_thermal_probe()
79 return PTR_ERR(thermal); in kirkwood_thermal_probe()
81 ret = thermal_zone_device_enable(thermal); in kirkwood_thermal_probe()
83 thermal_zone_device_unregister(thermal); in kirkwood_thermal_probe()
88 platform_set_drvdata(pdev, thermal); in kirkwood_thermal_probe()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c140 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()
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
188 struct device *dev = thermal->bus_info->dev; in mlxsw_thermal_unbind()
193 if (mlxsw_get_cooling_device_idx(thermal, cdev) < 0) in mlxsw_thermal_unbind()
209 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_get_temp() local
[all …]
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dmediatek-thermal.txt3 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
20 - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs
[all …]
H A Dbrcm,sr-thermal.txt3 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 …]
H A Damazon,al-thermal.txt3 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 Darmada-thermal.txt1 * 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 Dda9062-thermal.txt6 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";
H A Dmax77620_thermal.txt11 #thermal-sensor-cells: For more details, please refer to
12 <devicetree/bindings/thermal/thermal-sensor.yaml>
15 For more details, please refer generic thermal DT binding document
16 <devicetree/bindings/thermal/thermal*.yaml>.
24 #include <dt-bindings/thermal/thermal.h>
31 #thermal-sensor-cells = <0>;
41 thermal-zones {
45 thermal-sensors = <&spmic>;
H A Dspear-thermal.txt4 - compatible : "st,thermal-spear1340"
5 - reg : Address range of the thermal registers
6 - st,thermal-flags: flags used to enable thermal sensor
10 thermal@fc000000 {
11 compatible = "st,thermal-spear1340";
13 st,thermal-flags = <0x7000>;
/openbmc/linux/Documentation/driver-api/thermal/
H A Dsysfs-api.rst15 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 …]
H A Dx86_pkg_temperature_thermal.rst7 * x86: with package level thermal management
22 This driver register CPU digital temperature package level sensor as a thermal
25 user mode can receive notification via thermal notification mechanism and can
31 Each package will register as a thermal zone under /sys/class/thermal.
35 /sys/class/thermal/thermal_zone1
43 are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for
44 thermal sys-fs details.
46 Any value other than 0 in these trip points, can trigger thermal notifications.
47 Setting 0, stops sending thermal notifications.
50 To get kobject-uevent notifications, set the thermal zone
/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A DMakefile2 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/ABI/testing/
H A Dsysfs-class-thermal1 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 …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j721s2-thermal.dtsi3 #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 {
50 thermal-sensors = <&wkup_vtm0 3>;
61 main2_thermal: main2-thermal {
[all …]
H A Dk3-j784s4-thermal.dtsi3 #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 {
50 thermal-sensors = <&wkup_vtm0 3>;
61 main2_thermal: main2-thermal {
[all …]
H A Dk3-j721e-thermal.dtsi3 #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 …]
H A Dk3-j7200-thermal.dtsi3 #include <dt-bindings/thermal/thermal.h>
5 thermal_zones: thermal-zones {
6 mcu_thermal: mcu-thermal {
9 thermal-sensors = <&wkup_vtm0 0>;
20 mpu_thermal: mpu-thermal {
23 thermal-sensors = <&wkup_vtm0 1>;
34 main_thermal: main-thermal {
37 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am62a-thermal.dtsi3 #include <dt-bindings/thermal/thermal.h>
5 thermal_zones: thermal-zones {
6 main0_thermal: main0-thermal {
9 thermal-sensors = <&wkup_vtm0 0>;
20 main1_thermal: main1-thermal {
23 thermal-sensors = <&wkup_vtm0 1>;
34 main2_thermal: main2-thermal {
37 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am654-industrial-thermal.dtsi3 #include <dt-bindings/thermal/thermal.h>
5 mpu0_thermal: mpu0-thermal {
8 thermal-sensors = <&wkup_vtm0 0>;
19 mpu1_thermal: mpu1-thermal {
22 thermal-sensors = <&wkup_vtm0 1>;
33 mcu_thermal: mcu-thermal {
36 thermal-sensors = <&wkup_vtm0 2>;
H A Dk3-am62-thermal.dtsi3 #include <dt-bindings/thermal/thermal.h>
5 thermal_zones: thermal-zones {
6 main0_thermal: main0-thermal {
9 thermal-sensors = <&wkup_vtm0 0>;
20 main1_thermal: main1-thermal {
23 thermal-sensors = <&wkup_vtm0 1>;
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsdm632.dtsi7 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 DMakefile98 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 …]

12345678910>>...29