stmp3xxx.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. stmp3xxx_appuart,
  26. stmp3xxx_watchdog,
  27. stmp3xxx_touchscreen,
  28. stmp3xxx_keyboard,
  29. stmp3xxx_gpmi,
  30. stmp3xxx_mmc,
  31. stmp3xxx_udc,
  32. stmp3xxx_ehci,
  33. stmp3xxx_rtc,
  34. stmp3xxx_spi1,
  35. stmp3xxx_spi2,
  36. stmp3xxx_backlight,
  37. stmp3xxx_rotdec,
  38. stmp3xxx_dcp,
  39. stmp3xxx_dcp_bootstream,
  40. stmp3xxx_persistent,
  41. stmp3xxx_framebuffer,
  42. stmp3xxx_battery;
  43. int stmp3xxx_ssp1_device_register(void);
  44. int stmp3xxx_ssp2_device_register(void);
  45. struct pin_group;
  46. void stmp3xxx_release_pin_group(struct pin_group *pin_group, const char *label);
  47. int stmp3xxx_request_pin_group(struct pin_group *pin_group, const char *label);
  48. #endif /* __ASM_PLAT_STMP3XXX_H */