t7l66xb.h 817 B

1234567891011121314151617181920212223242526272829303132333435
  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. #include <linux/mfd/core.h>
  14. #include <linux/mfd/tmio.h>
  15. struct t7l66xb_platform_data {
  16. int (*enable)(struct platform_device *dev);
  17. int (*disable)(struct platform_device *dev);
  18. int (*suspend)(struct platform_device *dev);
  19. int (*resume)(struct platform_device *dev);
  20. int irq_base; /* The base for subdevice irqs */
  21. struct tmio_nand_data *nand_data;
  22. };
  23. #define IRQ_T7L66XB_MMC (1)
  24. #define IRQ_T7L66XB_NAND (3)
  25. #define T7L66XB_NR_IRQS 8
  26. #endif