[x86] add rootwait option to the kernel command line (#6209)
[openwrt.git] / target / linux / s3c24xx / files-2.6.31 / include / linux / mfd / glamo.h
1 #ifndef __GLAMO_MFD_H
2 #define __GLAMO_MFD_H
3
4 struct glamo_core;
5 struct glamo_spigpio_platform_data;
6 struct glamo_fb_platform_data;
7
8 struct glamo_mmc_platform_data {
9         int     (*glamo_mmc_use_slow)(void);
10
11     struct glamo_core *core;
12 };
13
14 struct glamo_platform_data {
15     struct glamo_fb_platform_data      *fb_data;
16     struct glamo_spigpio_platform_data *spigpio_data;
17     struct glamo_mmc_platform_data     *mmc_data;
18     int gpio_base;
19
20     unsigned int osci_clock_rate;
21
22     int (*glamo_irq_is_wired)(void);
23     void (*glamo_external_reset)(int);
24     void (*registered)(struct device *dev);
25 };
26
27 enum glamo_engine {
28         GLAMO_ENGINE_CAPTURE = 0,
29         GLAMO_ENGINE_ISP = 1,
30         GLAMO_ENGINE_JPEG = 2,
31         GLAMO_ENGINE_MPEG_ENC = 3,
32         GLAMO_ENGINE_MPEG_DEC = 4,
33         GLAMO_ENGINE_LCD = 5,
34         GLAMO_ENGINE_CMDQ = 6,
35         GLAMO_ENGINE_2D = 7,
36         GLAMO_ENGINE_3D = 8,
37         GLAMO_ENGINE_MMC = 9,
38         GLAMO_ENGINE_MICROP0 = 10,
39         GLAMO_ENGINE_RISC = 11,
40         GLAMO_ENGINE_MICROP1_MPEG_ENC = 12,
41         GLAMO_ENGINE_MICROP1_MPEG_DEC = 13,
42 #if 0
43         GLAMO_ENGINE_H264_DEC = 14,
44         GLAMO_ENGINE_RISC1 = 15,
45         GLAMO_ENGINE_SPI = 16,
46 #endif
47         __NUM_GLAMO_ENGINES
48 };
49
50
51 #endif