| 12345678910111213141516171819202122 |
- #include <mach/upmu_hw.h>
- #include <mach/mt_pmic_wrap.h>
- /* 2015.5.20 Jerry FIX_ME #include <mach/pmic_mt6331_6332_sw.h> */
- /* #include <mach/pmic_mt6325_sw.h> */
- #define mtktspmic_TEMP_CRIT 150000 /* 150.000 degree Celsius */
- #define y_pmic_repeat_times 1
- #define mtktspmic_info(fmt, args...) pr_debug("Power/PMIC_Thermal" fmt, ##args)
- #define mtktspmic_dprintk(fmt, args...) \
- do { \
- if (mtktspmic_debug_log) { \
- pr_debug("Power/PMIC_Thermal" fmt, ##args); \
- } \
- } while (0)
- extern int mtktspmic_debug_log;
- extern void mtktspmic_cali_prepare(void);
- extern void mtktspmic_cali_prepare2(void);
- extern int mtktspmic_get_hw_temp(void);
- extern u32 pmic_Read_Efuse_HPOffset(int i);
|