platform.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * arch/arm/mach-ep93xx/include/mach/platform.h
  4. */
  5. #ifndef __ASSEMBLY__
  6. #include <linux/platform_data/eth-ep93xx.h>
  7. #include <linux/reboot.h>
  8. struct device;
  9. struct i2c_board_info;
  10. struct spi_board_info;
  11. struct platform_device;
  12. struct ep93xxfb_mach_info;
  13. struct ep93xx_keypad_platform_data;
  14. struct ep93xx_spi_info;
  15. void ep93xx_map_io(void);
  16. void ep93xx_init_irq(void);
  17. void ep93xx_register_flash(unsigned int width,
  18. resource_size_t start, resource_size_t size);
  19. void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
  20. void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
  21. void ep93xx_register_spi(struct ep93xx_spi_info *info,
  22. struct spi_board_info *devices, int num);
  23. void ep93xx_register_fb(struct ep93xxfb_mach_info *data);
  24. void ep93xx_register_pwm(int pwm0, int pwm1);
  25. void ep93xx_register_keypad(struct ep93xx_keypad_platform_data *data);
  26. void ep93xx_register_i2s(void);
  27. void ep93xx_register_ac97(void);
  28. void ep93xx_register_ide(void);
  29. void ep93xx_register_adc(void);
  30. struct device *ep93xx_init_devices(void);
  31. extern void ep93xx_timer_init(void);
  32. void ep93xx_restart(enum reboot_mode, const char *);
  33. #endif