1 Amazon's Annapurna Labs Thermal Sensor 1 Amazon's Annapurna Labs Thermal Sensor 2 2 3 Simple thermal device that allows temperature 3 Simple thermal device that allows temperature reading by a single MMIO 4 transaction. 4 transaction. 5 5 6 Required properties: 6 Required properties: 7 - compatible: "amazon,al-thermal". 7 - compatible: "amazon,al-thermal". 8 - reg: The physical base address and length of 8 - reg: The physical base address and length of the sensor's registers. 9 - #thermal-sensor-cells: Must be 1. See Docume !! 9 - #thermal-sensor-cells: Must be 1. See ./thermal.txt for a description. 10 10 11 Example: 11 Example: 12 thermal: thermal { 12 thermal: thermal { 13 compatible = "amazon,al-therma 13 compatible = "amazon,al-thermal"; 14 reg = <0x0 0x05002860 0x0 0x1> 14 reg = <0x0 0x05002860 0x0 0x1>; 15 #thermal-sensor-cells = <0x1>; 15 #thermal-sensor-cells = <0x1>; 16 }; 16 }; 17 17 18 thermal-zones { 18 thermal-zones { 19 thermal-z0 { 19 thermal-z0 { 20 polling-delay-passive 20 polling-delay-passive = <250>; 21 polling-delay = <1000> 21 polling-delay = <1000>; 22 thermal-sensors = <&th 22 thermal-sensors = <&thermal 0>; 23 trips { 23 trips { 24 critical { 24 critical { 25 temper 25 temperature = <105000>; 26 hyster 26 hysteresis = <2000>; 27 type = 27 type = "critical"; 28 }; 28 }; 29 }; 29 }; 30 30 31 }; 31 }; 32 }; 32 }; 33 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.