b97dcba9d5d23a4946bfabc172acb7539a53a655
1 #ifndef _LINUX_GLAMOFB_H
2 #define _LINUX_GLAMOFB_H
5 #include <linux/glamo-engine.h>
9 #include <linux/spi/glamo.h>
13 struct glamofb_platform_data
{
18 struct fb_videomode
*modes
;
20 struct glamo_spi_info
*spi_info
;
21 struct glamo_spigpio_info
*spigpio_info
;
22 struct glamo_core
*glamo
;
24 struct platform_device
*mmc_dev
;
26 /* glamo mmc platform specific info */
27 int (*glamo_can_set_mci_power
)(void);
29 /* glamo-mci asking if it should use the slow clock to card */
30 int (*glamo_mci_use_slow
)(void);
31 int (*glamo_irq_is_wired
)(void);
32 void (*glamo_external_reset
)(int);
35 int glamofb_cmd_mode(struct glamofb_handle
*gfb
, int on
);
36 int glamofb_cmd_write(struct glamofb_handle
*gfb
, u_int16_t val
);
38 #ifdef CONFIG_MFD_GLAMO
39 void glamo_lcm_reset(int level
);
41 #define glamo_lcm_reset(...) do {} while (0)
46 #define GLAMOFB_ENGINE_ENABLE _IOW('F', 0x1, __u32)
47 #define GLAMOFB_ENGINE_DISABLE _IOW('F', 0x2, __u32)
48 #define GLAMOFB_ENGINE_RESET _IOW('F', 0x3, __u32)
This page took 0.042094 seconds and 3 git commands to generate.