t7l66xb.h 622 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * This file contains the definitions for the T7L66XB
  4. *
  5. * (C) Copyright 2005 Ian Molton <[email protected]>
  6. */
  7. #ifndef MFD_T7L66XB_H
  8. #define MFD_T7L66XB_H
  9. #include <linux/mfd/core.h>
  10. #include <linux/mfd/tmio.h>
  11. struct t7l66xb_platform_data {
  12. int (*enable)(struct platform_device *dev);
  13. int (*suspend)(struct platform_device *dev);
  14. int (*resume)(struct platform_device *dev);
  15. int irq_base; /* The base for subdevice irqs */
  16. struct tmio_nand_data *nand_data;
  17. };
  18. #define IRQ_T7L66XB_MMC (1)
  19. #define IRQ_T7L66XB_NAND (3)
  20. #define T7L66XB_NR_IRQS 8
  21. #endif