r8a7778.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (C) 2013 Renesas Solutions Corp.
  3. * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  4. * Copyright (C) 2013 Cogent Embedded, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; version 2 of the License.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  18. */
  19. #ifndef __ASM_R8A7778_H__
  20. #define __ASM_R8A7778_H__
  21. #include <linux/sh_eth.h>
  22. #include <linux/platform_data/camera-rcar.h>
  23. /* HPB-DMA slave IDs */
  24. enum {
  25. HPBDMA_SLAVE_DUMMY,
  26. HPBDMA_SLAVE_SDHI0_TX,
  27. HPBDMA_SLAVE_SDHI0_RX,
  28. };
  29. extern void r8a7778_add_standard_devices(void);
  30. extern void r8a7778_add_standard_devices_dt(void);
  31. extern void r8a7778_add_dt_devices(void);
  32. extern void r8a7778_init_late(void);
  33. extern void r8a7778_init_delay(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_init_irq_extpin_dt(int irlm);
  38. extern void r8a7778_pinmux_init(void);
  39. extern int r8a7778_usb_phy_power(bool enable);
  40. #endif /* __ASM_R8A7778_H__ */