r8a7778.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright (C) 2013 Renesas Solutions Corp.
  3. * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; version 2 of the License.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __ASM_R8A7778_H__
  19. #define __ASM_R8A7778_H__
  20. #include <linux/mmc/sh_mmcif.h>
  21. #include <linux/mmc/sh_mobile_sdhi.h>
  22. #include <linux/sh_eth.h>
  23. #include <linux/platform_data/usb-rcar-phy.h>
  24. extern void r8a7778_add_standard_devices(void);
  25. extern void r8a7778_add_standard_devices_dt(void);
  26. extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
  27. extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
  28. extern void r8a7778_add_i2c_device(int id);
  29. extern void r8a7778_add_hspi_device(int id);
  30. extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info);
  31. extern void r8a7778_init_late(void);
  32. extern void r8a7778_init_delay(void);
  33. extern void r8a7778_init_irq(void);
  34. extern void r8a7778_init_irq_dt(void);
  35. extern void r8a7778_clock_init(void);
  36. extern void r8a7778_init_irq_extpin(int irlm);
  37. extern void r8a7778_pinmux_init(void);
  38. extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info);
  39. #endif /* __ASM_R8A7778_H__ */