upload tizen1.0 source
[kernel/linux-2.6.36.git] / arch / arm / mach-s5pv310 / include / mach / fimdfreq.h
1 /* linux/arch/arm/mach-s5pv310/include/mach/fimdfreq.h
2  *
3  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4  *              http://www.samsung.com/
5  * Author: Chanwoo Choi <cw00.choi@samsung.com>
6  * Author: Myungjoo Ham <myungjoo.ham@samsung.com>
7  * Author: Kyungmin Park <kyungmin.park@samsung.com>
8  *
9  * EXYNOS4 - FIMD Frequency scaling support
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License version 2 as
13  * published by the Free Software Foundation.
14 */
15
16 #ifndef __ASM_ARCH_FIMD_FREQ_H
17 #define __ASM_ARCH_FIMD_FREQ_H __FILE__
18
19 enum fimdfreq_level {
20         FIMDFREQ_HF_FORCED,
21         FIMDFREQ_HF,
22         FIMDFREQ_LF,
23         FIMDFREQ_DEFAULT,
24 };
25
26 extern int fimdfreq_register_display(struct notifier_block *nb);
27 extern int fimdfreq_unregister_display(struct notifier_block *nb);
28
29 extern int fimdfreq_send_request_from_modules(unsigned long val, void *v);
30
31 #endif  /* __ASM_ARCH_FIMD_FREQ_H */