2 * This file contains the definitions for the T7L66XB
4 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
14 #include <linux/mfd/core.h>
15 #include <linux/mfd/tmio.h>
17 struct t7l66xb_platform_data {
18 int (*enable_clk32k)(struct platform_device *dev);
19 void (*disable_clk32k)(struct platform_device *dev);
20 int (*enable)(struct platform_device *dev);
21 int (*disable)(struct platform_device *dev);
22 int (*suspend)(struct platform_device *dev);
23 int (*resume)(struct platform_device *dev);
25 int irq_base; /* The base for subdevice irqs */
27 struct tmio_nand_data *nand_data;
31 #define IRQ_T7L66XB_MMC (1)
32 #define IRQ_T7L66XB_NAND (3)
34 #define T7L66XB_NR_IRQS 8