summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
blob: 12fc4ef04837f7cf0c1542d8147498507ba1240e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Amazon's Annapurna Labs Thermal Sensor

Simple thermal device that allows temperature reading by a single MMIO
transaction.

Required properties:
- compatible: "amazon,al-thermal".
- reg: The physical base address and length of the sensor's registers.
- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.

Example:
	thermal: thermal {
		compatible = "amazon,al-thermal";
		reg = <0x0 0x05002860 0x0 0x1>;
		#thermal-sensor-cells = <0x1>;
	};

	thermal-zones {
		thermal-z0 {
			polling-delay-passive = <250>;
			polling-delay = <1000>;
			thermal-sensors = <&thermal 0>;
			trips {
				critical {
					temperature = <105000>;
					hysteresis = <2000>;
					type = "critical";
				};
			};

		};
	};