blob: 12fc4ef04837f7cf0c1542d8147498507ba1240e [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Amazon's Annapurna Labs Thermal Sensor
2
3Simple thermal device that allows temperature reading by a single MMIO
4transaction.
5
6Required properties:
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.yaml for a description.
10
11Example:
12 thermal: thermal {
13 compatible = "amazon,al-thermal";
14 reg = <0x0 0x05002860 0x0 0x1>;
15 #thermal-sensor-cells = <0x1>;
16 };
17
18 thermal-zones {
19 thermal-z0 {
20 polling-delay-passive = <250>;
21 polling-delay = <1000>;
22 thermal-sensors = <&thermal 0>;
23 trips {
24 critical {
25 temperature = <105000>;
26 hysteresis = <2000>;
27 type = "critical";
28 };
29 };
30
31 };
32 };
33