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