Lines Matching refs:thermal

4 defining hardware thermal structure using device tree.
5 A thermal structure includes thermal zones and their components,
9 The target of device tree thermal descriptors is to describe only
10 the hardware thermal aspects. The thermal device tree bindings are
14 There are five types of nodes involved to describe thermal bindings:
15 - thermal sensors: devices which may be used to take temperature
21 - thermal zones: used to describe thermal data within the hardware;
28 thermal zones. Typical devices are I2C ADC converters and bandgaps. These are
29 nodes providing temperature data to thermal zones. Thermal sensor devices may
33 - #thermal-sensor-cells: Used to provide sensor device specific information
34 Type: unsigned while referring to it. Typically 0 on thermal sensor
38 the IC. See thermal zone binding for more details
114 - trip: A phandle of a trip point node within the same thermal
119 - contribution: The cooling contribution to the thermal zone of the
122 of all cooling contributions within a thermal zone.
128 Refer to include/dt-bindings/thermal/thermal.h for definition of this constant.
132 The thermal zone node is the node containing all the required info
133 for describing a thermal zone, including its cooling device bindings. The
134 thermal zone node must contain, apart from its own properties, one sub-node
139 Type: unsigned when checking this thermal zone.
146 - thermal-sensors: A list of thermal sensor phandles and sensor specifier
147 Type: list of used while monitoring the thermal zone.
152 Type: sub-node required to describe the thermal zone.
161 Elem size: one cell the sensors listed in the thermal-sensors property.
171 derivative over time) in two situations for a thermal zone:
183 * The thermal-zones node
185 The "thermal-zones" node is a container for all thermal zone nodes. It shall
186 contain only sub-nodes describing thermal zones as in the section
187 "Thermal zone nodes". The "thermal-zones" node appears under "/".
191 Below are several examples on how to use thermal data descriptors
194 (a) - CPU thermal zone
196 The CPU thermal zone example below describes how to setup one thermal zone
200 #include <dt-bindings/thermal/thermal.h>
249 #thermal-sensor-cells = <0>;
253 thermal-zones {
254 cpu_thermal: cpu-thermal {
258 thermal-sensors = <&bandgap0>;
297 used to monitor the zone 'cpu-thermal' using its sole sensor. A fan
300 the thermal zone 'cpu-thermal' using its cooling states
304 linked to the same thermal zone, 'cpu-thermal', as a passive cooling device,
306 which is a trip point at 100C. On the thermal zone 'cpu-thermal', at the
312 The example below describes how to deploy several thermal zones based off a
314 case on SoC designs with several internal IPs that may need different thermal
318 #include <dt-bindings/thermal/thermal.h>
327 #thermal-sensor-cells = <1>;
331 thermal-zones {
332 cpu_thermal: cpu-thermal {
337 thermal-sensors = <&bandgap0 0>;
359 gpu_thermal: gpu-thermal {
364 thermal-sensors = <&bandgap0 1>;
386 dsp_thermal: dsp-thermal {
391 thermal-sensors = <&bandgap0 2>;
417 hotspots: one for CPU thermal zone, one for GPU thermal zone and the
418 other to monitor a DSP thermal zone.
421 to different thermal zones. This is achieved by means of using the
422 #thermal-sensor-cells property and using the first cell of the sensor
424 monitor CPU thermal zone, <bandgap 1> is used to monitor GPU thermal
425 zone and <bandgap 2> is used to monitor DSP thermal zone. Each zone
430 (c) - Several sensors within one single thermal zone
433 one thermal zone.
435 #include <dt-bindings/thermal/thermal.h>
444 #thermal-sensor-cells = <0>;
455 #thermal-sensor-cells = <0>;
459 thermal-zones {
460 cpu_thermal: cpu-thermal {
464 thermal-sensors = <&bandgap0>, /* cpu */
481 a thermal hotspot in the silicon. The above example illustrates this situation.
494 thermal-sensors = <&adc>;
499 (d) - Board thermal
501 The board thermal example below illustrates how to setup one thermal zone
504 #include <dt-bindings/thermal/thermal.h>
513 #thermal-sensor-cells = <1>; /* sensor internal ID */
517 thermal-zones {
518 batt-thermal {
523 thermal-sensors = <&adc_dummy 4>;
534 board_thermal: board-thermal {
539 thermal-sensors = <&adc_dummy 0>, /* pcb top edge */