import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / include / mach / mt_spm_idle.h
1 #ifndef _MT_SPM_IDLE_
2 #define _MT_SPM_IDLE_
3
4 #include <linux/kernel.h>
5
6 //#define SPM_SODI_ENABLED
7
8 #define clc_emerg(fmt, args...) printk(KERN_EMERG "[CLC] " fmt, ##args)
9 #define clc_alert(fmt, args...) printk(KERN_ALERT "[CLC] " fmt, ##args)
10 #define clc_crit(fmt, args...) printk(KERN_CRIT "[CLC] " fmt, ##args)
11 #define clc_error(fmt, args...) printk(KERN_ERR "[CLC] " fmt, ##args)
12 #define clc_warning(fmt, args...) printk(KERN_WARNING "[CLC] " fmt, ##args)
13 #define clc_notice(fmt, args...) printk(KERN_NOTICE "[CLC] " fmt, ##args)
14 #define clc_info(fmt, args...) printk(KERN_INFO "[CLC] " fmt, ##args)
15 #define clc_debug(fmt, args...) printk(KERN_DEBUG "[CLC] " fmt, ##args)
16
17 #ifdef SPM_SODI_ENABLED
18 void spm_go_to_sodi(bool cpu_pdn);
19 void spm_sodi_lcm_video_mode(bool IsLcmVideoMode);
20 void spm_disable_sodi(void);
21 void spm_enable_sodi(void);
22 #endif //SPM_SODI_ENABLED
23
24 #endif