Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |