Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[pandora-kernel.git] / include / linux / mfd / tc6393xb.h
index 3ce10ae..626e448 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef MFD_TC6393XB_H
 #define MFD_TC6393XB_H
 
+#include <linux/fb.h>
+
 /* Also one should provide the CK3P6MI clock */
 struct tc6393xb_platform_data {
        u16     scr_pll2cr;     /* PLL2 Control */
@@ -33,17 +35,24 @@ struct tc6393xb_platform_data {
        void    (*teardown)(struct platform_device *dev);
 
        struct tmio_nand_data   *nand_data;
+       struct tmio_fb_data     *fb_data;
 
        unsigned resume_restore : 1; /* make special actions
                                        to preserve the state
                                        on suspend/resume */
 };
 
+extern int tc6393xb_lcd_mode(struct platform_device *fb,
+                            const struct fb_videomode *mode);
+extern int tc6393xb_lcd_set_power(struct platform_device *fb, bool on);
+
 /*
  * Relative to irq_base
  */
 #define        IRQ_TC6393_NAND         0
 #define        IRQ_TC6393_MMC          1
+#define        IRQ_TC6393_OHCI         2
+#define        IRQ_TC6393_FB           4
 
 #define        TC6393XB_NR_IRQS        8