Commit | Line | Data |
---|---|---|
ccb7cc74 KM |
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 | ||
31b2eacc | 21 | #include <linux/mmc/sh_mmcif.h> |
dab58113 | 22 | #include <linux/mmc/sh_mobile_sdhi.h> |
52421914 | 23 | #include <linux/sh_eth.h> |
02474a41 | 24 | #include <linux/platform_data/usb-rcar-phy.h> |
52421914 | 25 | |
ccb7cc74 KM |
26 | extern void r8a7778_add_standard_devices(void); |
27 | extern void r8a7778_add_standard_devices_dt(void); | |
52421914 | 28 | extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); |
02474a41 | 29 | extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata); |
46b9a092 | 30 | extern void r8a7778_add_i2c_device(int id); |
8b89797f | 31 | extern void r8a7778_add_hspi_device(int id); |
31b2eacc | 32 | extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info); |
46b9a092 | 33 | |
02474a41 | 34 | extern void r8a7778_init_late(void); |
ccb7cc74 KM |
35 | extern void r8a7778_init_delay(void); |
36 | extern void r8a7778_init_irq(void); | |
37 | extern void r8a7778_init_irq_dt(void); | |
38 | extern void r8a7778_clock_init(void); | |
3a42fa20 | 39 | extern void r8a7778_init_irq_extpin(int irlm); |
369b00bb | 40 | extern void r8a7778_pinmux_init(void); |
dab58113 | 41 | extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info); |
ccb7cc74 KM |
42 | |
43 | #endif /* __ASM_R8A7778_H__ */ |