upload tizen1.0 source
[kernel/linux-2.6.36.git] / arch / arm / plat-s5p / include / plat / mdnie.h
1 /* linux/arch/arm/plat-s5p/mdnie.h
2  *
3  * mDNIe Platform Specific Header Definitions.
4  *
5  * Copyright (c) 2011 Samsung Electronics
6  * InKi Dae <inki.dae@samsung.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11 */
12
13 #ifndef _MDNIE_H_
14 #define _MDNIE_H_
15
16 #define END_CMD         0xffff
17
18 enum mdnie_mode {
19         CMC623_MODE_MIN = 0,
20         CMC623_MODE_UI = CMC623_MODE_MIN,
21         CMC623_MODE_VIDEO,
22         CMC623_MODE_CAMERA,
23         CMC623_MODE_VT,
24         CMC623_MODE_DMB,
25         CMC623_MODE_GALLERY,
26         CMC623_MODE_MAX = CMC623_MODE_GALLERY
27 };
28
29 struct mdnie_tables {
30         unsigned short *tables[CMC623_MODE_MAX + 1];
31         unsigned short *cabc_tables[CMC623_MODE_MAX + 1];
32 };
33
34 struct mdnie_platform_data {
35         unsigned int width;
36         unsigned int height;
37
38         struct mdnie_tables *tables;
39 };
40
41 #endif /* _MDNIE_H_ */