Cleanup glamo platform_data.
[librecmc/librecmc.git] / target / linux / s3c24xx / files-2.6.30 / 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
19     unsigned int osci_clock_rate;
20
21     int (*glamo_irq_is_wired)(void);
22     void (*glamo_external_reset)(int);
23 };
24
25 enum glamo_engine {
26         GLAMO_ENGINE_CAPTURE = 0,
27         GLAMO_ENGINE_ISP = 1,
28         GLAMO_ENGINE_JPEG = 2,
29         GLAMO_ENGINE_MPEG_ENC = 3,
30         GLAMO_ENGINE_MPEG_DEC = 4,
31         GLAMO_ENGINE_LCD = 5,
32         GLAMO_ENGINE_CMDQ = 6,
33         GLAMO_ENGINE_2D = 7,
34         GLAMO_ENGINE_3D = 8,
35         GLAMO_ENGINE_MMC = 9,
36         GLAMO_ENGINE_MICROP0 = 10,
37         GLAMO_ENGINE_RISC = 11,
38         GLAMO_ENGINE_MICROP1_MPEG_ENC = 12,
39         GLAMO_ENGINE_MICROP1_MPEG_DEC = 13,
40 #if 0
41         GLAMO_ENGINE_H264_DEC = 14,
42         GLAMO_ENGINE_RISC1 = 15,
43         GLAMO_ENGINE_SPI = 16,
44 #endif
45         __NUM_GLAMO_ENGINES
46 };
47
48
49 #endif