Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * This file contains the definitions for the T7L66XB
0004  *
0005  * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
0006  */
0007 #ifndef MFD_T7L66XB_H
0008 #define MFD_T7L66XB_H
0009 
0010 #include <linux/mfd/core.h>
0011 #include <linux/mfd/tmio.h>
0012 
0013 struct t7l66xb_platform_data {
0014     int (*enable)(struct platform_device *dev);
0015     int (*suspend)(struct platform_device *dev);
0016     int (*resume)(struct platform_device *dev);
0017 
0018     int irq_base; /* The base for subdevice irqs */
0019 
0020     struct tmio_nand_data *nand_data;
0021 };
0022 
0023 
0024 #define IRQ_T7L66XB_MMC        (1)
0025 #define IRQ_T7L66XB_NAND       (3)
0026 
0027 #define T7L66XB_NR_IRQS 8
0028 
0029 #endif