Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / include / mach / r8a7778.h
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
21 #include <linux/mmc/sh_mmcif.h>
22 #include <linux/mmc/sh_mobile_sdhi.h>
23 #include <linux/sh_eth.h>
24 #include <linux/platform_data/usb-rcar-phy.h>
25 #include <linux/platform_data/camera-rcar.h>
26
27 extern void r8a7778_add_standard_devices(void);
28 extern void r8a7778_add_standard_devices_dt(void);
29 extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
30 extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
31 extern void r8a7778_add_i2c_device(int id);
32 extern void r8a7778_add_hspi_device(int id);
33 extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info);
34 extern void r8a7778_add_vin_device(int id,
35                                    struct rcar_vin_platform_data *pdata);
36
37 extern void r8a7778_init_late(void);
38 extern void r8a7778_init_delay(void);
39 extern void r8a7778_init_irq_dt(void);
40 extern void r8a7778_clock_init(void);
41 extern void r8a7778_init_irq_extpin(int irlm);
42 extern void r8a7778_pinmux_init(void);
43 extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info);
44
45 #endif /* __ASM_R8A7778_H__ */