PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/include/linux/mfd/t7l66xb.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 34 lines | 16 code | 8 blank | 10 comment | 0 complexity | 44fc5cd936fa8ed0e494883aee09e926 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/*
 2 * This file contains the definitions for the T7L66XB
 3 *
 4 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
 5 *
 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.
 9 *
10 */
11#ifndef MFD_T7L66XB_H
12#define MFD_T7L66XB_H
13
14#include <linux/mfd/core.h>
15#include <linux/mfd/tmio.h>
16
17struct t7l66xb_platform_data {
18	int (*enable)(struct platform_device *dev);
19	int (*disable)(struct platform_device *dev);
20	int (*suspend)(struct platform_device *dev);
21	int (*resume)(struct platform_device *dev);
22
23	int irq_base; /* The base for subdevice irqs */
24
25	struct tmio_nand_data *nand_data;
26};
27
28
29#define IRQ_T7L66XB_MMC        (1)
30#define IRQ_T7L66XB_NAND       (3)
31
32#define T7L66XB_NR_IRQS	8
33
34#endif