Back to home page

OSCL-LXR

 
 

    


0001 Amazon's Annapurna Labs Thermal Sensor
0002 
0003 Simple thermal device that allows temperature reading by a single MMIO
0004 transaction.
0005 
0006 Required properties:
0007 - compatible: "amazon,al-thermal".
0008 - reg: The physical base address and length of the sensor's registers.
0009 - #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.
0010 
0011 Example:
0012         thermal: thermal {
0013                 compatible = "amazon,al-thermal";
0014                 reg = <0x0 0x05002860 0x0 0x1>;
0015                 #thermal-sensor-cells = <0x1>;
0016         };
0017 
0018         thermal-zones {
0019                 thermal-z0 {
0020                         polling-delay-passive = <250>;
0021                         polling-delay = <1000>;
0022                         thermal-sensors = <&thermal 0>;
0023                         trips {
0024                                 critical {
0025                                         temperature = <105000>;
0026                                         hysteresis = <2000>;
0027                                         type = "critical";
0028                                 };
0029                         };
0030 
0031                 };
0032         };
0033