Home
last modified time | relevance | path

Searched +full:thermal +full:- +full:sensor (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dthermal-sensor.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Thermal sensor
11 - Amit Kucheria <amitk@kernel.org>
14 Thermal management is achieved in devicetree by describing the sensor hardware
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
[all …]
H A Dgeneric-adc-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: General Purpose Analog To Digital Converter (ADC) based thermal sensor
10 - Laxman Dewangan <ldewangan@nvidia.com>
13 On some of platforms, thermal sensor like thermistors are connected to
14 one of ADC channel and sensor resistance is read via voltage across the
15 sensor resistor. The voltage read across the sensor is mapped to
16 temperature using voltage-temperature lookup table.
[all …]
H A Dallwinner,sun8i-a83t-ths.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner SUN8I Thermal Controller
10 - Vasily Khoruzhick <anarsoul@gmail.com>
11 - Yangtao Li <tiny.windzz@gmail.com>
16 - allwinner,sun8i-a83t-ths
17 - allwinner,sun8i-h3-ths
18 - allwinner,sun8i-r40-ths
[all …]
H A Dnvidia,tegra186-bpmp-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra186-bpmp-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra186 (and later) BPMP thermal sensor
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
16 cluster and GPU temperatures. This binding describes the thermal
17 sensor that is exposed by BPMP.
19 The BPMP thermal node must be located directly inside the main BPMP
[all …]
H A Damazon,al-thermal.txt1 Amazon's Annapurna Labs Thermal Sensor
3 Simple thermal device that allows temperature reading by a single MMIO
7 - compatible: "amazon,al-thermal".
8 - reg: The physical base address and length of the sensor's registers.
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 {
[all …]
H A Drcar-gen3-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only
4 ---
5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car Gen3 Thermal Sensor
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
16 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
21 - renesas,r8a774a1-thermal # RZ/G2M
22 - renesas,r8a774b1-thermal # RZ/G2N
[all …]
H A Dsprd-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/sprd-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum thermal sensor controller
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
16 const: sprd,ums512-thermal
24 clock-names:
[all …]
H A Dloongson,ls2k-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Thermal sensors on Loongson-2 SoCs
10 - zhanghongchen <zhanghongchen@loongson.cn>
11 - Yinbo Zhu <zhuyinbo@loongson.cn>
14 - $ref: /schemas/thermal/thermal-sensor.yaml#
19 - enum:
20 - loongson,ls2k1000-thermal
[all …]
H A Dfsl,scu-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol
10 - Dong Aisheng <aisheng.dong@nxp.com>
13 Client nodes are maintained as children of the relevant IMX-SCU device node.
16 - $ref: thermal-sensor.yaml#
21 - const: fsl,imx8qxp-sc-thermal
22 - const: fsl,imx-sc-thermal
[all …]
H A Dbrcm,bcm2835-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM2835 thermal sensor
10 - Stefan Wahren <stefan.wahren@i2se.com>
13 - $ref: thermal-sensor.yaml#
18 - brcm,bcm2835-thermal
19 - brcm,bcm2836-thermal
20 - brcm,bcm2837-thermal
[all …]
H A Dthermal-zones.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
8 title: Thermal zone
11 - Amit Kucheria <amitk@kernel.org>
14 Thermal management is achieved in devicetree by describing the sensor hardware
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
[all …]
H A Dmediatek,lvts-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/mediatek,lvts-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek SoC Low Voltage Thermal Sensor (LVTS)
10 - Balsam CHIHI <bchihi@baylibre.com>
13 LVTS is a thermal management architecture composed of three subsystems,
14 a Sensing device - Thermal Sensing Micro Circuit Unit (TSMCU),
15 a Converter - Low Voltage Thermal Sensor converter (LVTS), and
21 - mediatek,mt8192-lvts-ap
[all …]
H A Drzg2l-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/G2L Thermal Sensor Unit
10 On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the
14 - Biju Das <biju.das.jz@bp.renesas.com>
19 - enum:
20 - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five
21 - renesas,r9a07g044-tsu # RZ/G2{L,LC}
[all …]
H A Dbrcm,ns-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom Northstar Thermal
10 - Rafał Miłecki <rafal@milecki.pl>
13 Thermal sensor that is part of Northstar's DMU (Device Management Unit).
16 - $ref: thermal-sensor.yaml#
20 const: brcm,ns-thermal
26 "#thermal-sensor-cells":
[all …]
H A Dimx8mm-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8M Mini Thermal
10 - Anson Huang <Anson.Huang@nxp.com>
16 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
22 - enum:
23 - fsl,imx8mm-tmu
24 - fsl,imx8mp-tmu
[all …]
H A Dsocionext,uniphier-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Socionext UniPhier thermal monitor
10 This describes the devicetree bindings for thermal monitor supported by
15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
20 - socionext,uniphier-pxs2-thermal
21 - socionext,uniphier-ld20-thermal
22 - socionext,uniphier-pxs3-thermal
[all …]
H A Dbrcm,avs-ro-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/brcm,avs-ro-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom AVS ring oscillator thermal
10 - Stefan Wahren <wahrenst@gmx.net>
13 The thermal node should be the child of a syscon node with the
16 - compatible: Should be one of the following:
17 "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
24 const: brcm,bcm2711-thermal
[all …]
/openbmc/linux/drivers/thermal/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic thermal drivers configuration
6 menuconfig THERMAL config
7 bool "Thermal drivers"
9 Thermal drivers offer a generic mechanism for
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
18 if THERMAL
21 bool "Thermal netlink management"
[all …]
H A Ddove_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Dove thermal sensor driver
14 #include <linux/thermal.h>
19 /* Dove Thermal Manager Control and Status Register */
32 /* Dove Thermal Diode Control 1 Register */
36 /* Dove Thermal Sensor Dev Structure */
38 void __iomem *sensor; member
48 reg = readl_relaxed(priv->control); in dove_init_sensor()
61 writel(reg, priv->control); in dove_init_sensor()
63 /* Reset the sensor */ in dove_init_sensor()
[all …]
H A Dthermal_of.c1 // SPDX-License-Identifier: GPL-2.0
3 * of-thermal.c - Generic Thermal Management device tree support.
15 #include <linux/thermal.h>
32 return -EINVAL; in of_find_trip_id()
47 i = -ENXIO; in of_find_trip_id()
55 * It maps 'enum thermal_trip_type' found in include/linux/thermal.h
66 * thermal_of_get_trip_type - Get phy mode for given device_node
91 return -ENODEV; in thermal_of_get_trip_type()
105 trip->temperature = prop; in thermal_of_populate_trip()
112 trip->hysteresis = prop; in thermal_of_populate_trip()
[all …]
H A Dkirkwood_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kirkwood thermal sensor driver
14 #include <linux/thermal.h>
21 /* Kirkwood Thermal Sensor Dev Structure */
23 void __iomem *sensor; member
26 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()
32 reg = readl_relaxed(priv->sensor); in kirkwood_get_temp()
37 return -EIO; in kirkwood_get_temp()
42 * Celsius = (322-reg)/1.3625 in kirkwood_get_temp()
[all …]
H A Dimx_sc_thermal.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 NXP.
6 #include <dt-bindings/firmware/imx/rsrc.h>
13 #include <linux/thermal.h>
48 struct imx_sc_sensor *sensor = thermal_zone_device_priv(tz); in imx_sc_thermal_get_temp() local
51 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp()
54 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_thermal_get_temp()
55 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_thermal_get_temp()
56 hdr->func = IMX_SC_MISC_FUNC_GET_TEMP; in imx_sc_thermal_get_temp()
57 hdr->size = 2; in imx_sc_thermal_get_temp()
[all …]
/openbmc/linux/Documentation/driver-api/thermal/
H A Dsysfs-api.rst2 Generic Thermal Sysfs driver How To
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
[all …]
/openbmc/linux/drivers/thermal/st/
H A Dst_thermal_memmap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ST Thermal Sensor Driver for memory mapped sensors.
6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited
19 /* Power control bits for the memory mapped thermal sensor */
25 * According to the STIH416 MPE temp sensor data sheet -
28 * sensor. regmap_update_bits() will be used to update the register.
39 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler() local
41 thermal_zone_device_update(sensor->thermal_dev, in st_mmap_thermal_trip_handler()
47 /* Private ops for the Memory Mapped based thermal sensors */
48 static int st_mmap_power_ctrl(struct st_thermal_sensor *sensor, in st_mmap_power_ctrl() argument
[all …]
H A Dst_thermal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * ST Thermal Sensor Driver for STi series of SoCs
6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited
15 #include <linux/thermal.h>
28 /* Thermal sensor power states */
37 * Description of private thermal sensor ops.
39 * @power_ctrl: Function for powering on/off a sensor. Clock to the
40 * sensor is also controlled from this function.
41 * @alloc_regfields: Allocate regmap register fields, specific to a sensor.
42 * @do_memmap_regmap: Memory map the thermal register space and init regmap
[all …]

12345678910>>...30