#ifndef __TI_THERMAL_H
#define __TI_THERMAL_H
#include "ti-bandgap.h"
#define OMAP_GRADIENT_SLOPE_W_PCB_4430 …
#define OMAP_GRADIENT_CONST_W_PCB_4430 …
#define OMAP_GRADIENT_SLOPE_W_PCB_4460 …
#define OMAP_GRADIENT_CONST_W_PCB_4460 …
#define OMAP_GRADIENT_SLOPE_W_PCB_4470 …
#define OMAP_GRADIENT_CONST_W_PCB_4470 …
#define OMAP_GRADIENT_SLOPE_W_PCB_5430_CPU …
#define OMAP_GRADIENT_CONST_W_PCB_5430_CPU …
#define OMAP_GRADIENT_SLOPE_W_PCB_5430_GPU …
#define OMAP_GRADIENT_CONST_W_PCB_5430_GPU …
#define DRA752_GRADIENT_SLOPE_W_PCB …
#define DRA752_GRADIENT_CONST_W_PCB …
#define OMAP_TRIP_COLD …
#define OMAP_TRIP_HOT …
#define OMAP_TRIP_SHUTDOWN …
#define OMAP_TRIP_NUMBER …
#define OMAP_TRIP_STEP …
#define FAST_TEMP_MONITORING_RATE …
#ifdef CONFIG_TI_THERMAL
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain);
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id);
int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id);
int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id);
int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id);
#else
static inline
int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain)
{
return 0;
}
static inline
int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id)
{
return 0;
}
static inline
int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id)
{
return 0;
}
static inline
int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id)
{
return 0;
}
static inline
int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id)
{
return 0;
}
#endif
#endif