Go to the documentation of this file.
23 #ifndef __OMAP_THERMAL_H
24 #define __OMAP_THERMAL_H
29 #define OMAP_GRADIENT_SLOPE_4460 348
30 #define OMAP_GRADIENT_CONST_4460 -9301
31 #define OMAP_GRADIENT_SLOPE_4470 308
32 #define OMAP_GRADIENT_CONST_4470 -7896
34 #define OMAP_GRADIENT_SLOPE_5430_CPU 196
35 #define OMAP_GRADIENT_CONST_5430_CPU -6822
36 #define OMAP_GRADIENT_SLOPE_5430_GPU 64
37 #define OMAP_GRADIENT_CONST_5430_GPU 978
40 #define OMAP_GRADIENT_SLOPE_W_PCB_4460 1142
41 #define OMAP_GRADIENT_CONST_W_PCB_4460 -393
42 #define OMAP_GRADIENT_SLOPE_W_PCB_4470 1063
43 #define OMAP_GRADIENT_CONST_W_PCB_4470 -477
45 #define OMAP_GRADIENT_SLOPE_W_PCB_5430_CPU 469
46 #define OMAP_GRADIENT_CONST_W_PCB_5430_CPU -1272
47 #define OMAP_GRADIENT_SLOPE_W_PCB_5430_GPU 378
48 #define OMAP_GRADIENT_CONST_W_PCB_5430_GPU 154
51 #define OMAP_TRIP_COLD 100000
52 #define OMAP_TRIP_HOT 110000
53 #define OMAP_TRIP_SHUTDOWN 125000
54 #define OMAP_TRIP_NUMBER 2
55 #define OMAP_TRIP_STEP \
56 ((OMAP_TRIP_SHUTDOWN - OMAP_TRIP_HOT) / (OMAP_TRIP_NUMBER - 1))
59 #define FAST_TEMP_MONITORING_RATE 250
66 #define omap_thermal_get_trip_value(i) \
67 (OMAP_TRIP_HOT + ((i) * OMAP_TRIP_STEP))
73 #define omap_thermal_is_valid_trip(trip) \
74 ((trip) >= 0 && (trip) < OMAP_TRIP_NUMBER)
76 #ifdef CONFIG_OMAP_THERMAL