|
@@ -26,14 +26,6 @@
|
|
|
|
|
|
#include "exynos_thermal_common.h"
|
|
#include "exynos_thermal_common.h"
|
|
|
|
|
|
-enum calibration_type {
|
|
|
|
- TYPE_ONE_POINT_TRIMMING,
|
|
|
|
- TYPE_ONE_POINT_TRIMMING_25,
|
|
|
|
- TYPE_ONE_POINT_TRIMMING_85,
|
|
|
|
- TYPE_TWO_POINT_TRIMMING,
|
|
|
|
- TYPE_NONE,
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
enum soc_type {
|
|
enum soc_type {
|
|
SOC_ARCH_EXYNOS3250 = 1,
|
|
SOC_ARCH_EXYNOS3250 = 1,
|
|
SOC_ARCH_EXYNOS4210,
|
|
SOC_ARCH_EXYNOS4210,
|
|
@@ -44,6 +36,7 @@ enum soc_type {
|
|
SOC_ARCH_EXYNOS5420_TRIMINFO,
|
|
SOC_ARCH_EXYNOS5420_TRIMINFO,
|
|
SOC_ARCH_EXYNOS5440,
|
|
SOC_ARCH_EXYNOS5440,
|
|
};
|
|
};
|
|
|
|
+#include <dt-bindings/thermal/thermal_exynos.h>
|
|
|
|
|
|
/**
|
|
/**
|
|
* struct exynos_tmu_platform_data
|
|
* struct exynos_tmu_platform_data
|
|
@@ -115,8 +108,9 @@ struct exynos_tmu_platform_data {
|
|
u8 second_point_trim;
|
|
u8 second_point_trim;
|
|
u8 default_temp_offset;
|
|
u8 default_temp_offset;
|
|
|
|
|
|
- enum calibration_type cal_type;
|
|
|
|
enum soc_type type;
|
|
enum soc_type type;
|
|
|
|
+ u32 cal_type;
|
|
|
|
+ u32 cal_mode;
|
|
struct freq_clip_table freq_tab[4];
|
|
struct freq_clip_table freq_tab[4];
|
|
unsigned int freq_tab_count;
|
|
unsigned int freq_tab_count;
|
|
};
|
|
};
|