Merge branch 'for-5.14' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / thermal / amazon,al-thermal.txt
1 Amazon's Annapurna Labs Thermal Sensor
2
3 Simple thermal device that allows temperature reading by a single MMIO
4 transaction.
5
6 Required 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
11 Example:
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