aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-08 16:36:05 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-06-11 03:11:20 -0400
commit02474a41e6180521a2b9b30b84888670e290dba0 (patch)
tree45abf58f6de1ce997d95373859b428acb59bd496 /arch/arm/mach-shmobile/include
parent54407f190c8d542572a9547ba5460d811810b6e4 (diff)
ARM: shmobile: r8a7778: add USB support
Add USB clock and EHCI, OHCI, and USB PHY platform devices for R8A7778 SoC; add a function to register PHY device with board-specific platform data and register EHCI and OHCI platfrom devices from the init_late() board method. Also, don't forget to enable CONFIG_ARCH_HAS_[EO]HCI options for R8A7778 SoC in Kconfig... The patch has been tested on the BOCK-W board. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r--arch/arm/mach-shmobile/include/mach/r8a7778.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h
index ae65b459483f..1d4207cc0b04 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
@@ -20,10 +20,13 @@
20 20
21#include <linux/mmc/sh_mobile_sdhi.h> 21#include <linux/mmc/sh_mobile_sdhi.h>
22#include <linux/sh_eth.h> 22#include <linux/sh_eth.h>
23#include <linux/platform_data/usb-rcar-phy.h>
23 24
24extern void r8a7778_add_standard_devices(void); 25extern void r8a7778_add_standard_devices(void);
25extern void r8a7778_add_standard_devices_dt(void); 26extern void r8a7778_add_standard_devices_dt(void);
26extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); 27extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
28extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
29extern void r8a7778_init_late(void);
27extern void r8a7778_init_delay(void); 30extern void r8a7778_init_delay(void);
28extern void r8a7778_init_irq(void); 31extern void r8a7778_init_irq(void);
29extern void r8a7778_init_irq_dt(void); 32extern void r8a7778_init_irq_dt(void);