stmp3xxx.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Freescale STMP37XX/STMP378X core structure and function declarations
  3. *
  4. * Embedded Alley Solutions, Inc <source@embeddedalley.com>
  5. *
  6. * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
  7. * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
  8. */
  9. /*
  10. * The code contained herein is licensed under the GNU General Public
  11. * License. You may obtain a copy of the GNU General Public License
  12. * Version 2 or later at the following locations:
  13. *
  14. * http://www.opensource.org/licenses/gpl-license.html
  15. * http://www.gnu.org/copyleft/gpl.html
  16. */
  17. #ifndef __ASM_PLAT_STMP3XXX_H
  18. #define __ASM_PLAT_STMP3XXX_H
  19. #include <linux/irq.h>
  20. extern struct sys_timer stmp3xxx_timer;
  21. void stmp3xxx_init_irq(struct irq_chip *chip);
  22. void stmp3xxx_init(void);
  23. int stmp3xxx_reset_block(void __iomem *hwreg, int just_enable);
  24. extern struct platform_device stmp3xxx_dbguart;
  25. struct pin_group;
  26. void stmp3xxx_release_pin_group(struct pin_group *pin_group, const char *label);
  27. int stmp3xxx_request_pin_group(struct pin_group *pin_group, const char *label);
  28. #endif /* __ASM_PLAT_STMP3XXX_H */