summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/mach-smdkv310.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-05-19 22:46:44 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2012-06-11 14:44:24 (GMT)
commitfb395c39307268baa324c2cdd009cd9b58fcf2ec (patch)
treef3d808be73ed7f33dcf056ead32e352060dcf28c /arch/arm/mach-exynos/mach-smdkv310.c
parent9c278d52903709543b4716b0e0d03ec58b179308 (diff)
downloadlinux-fsl-qoriq-fb395c39307268baa324c2cdd009cd9b58fcf2ec.tar.xz
ARM: EXYNOS: Add HSOTG support to SMDKV310
S3C-HSOTG device is added to SMDKV310 board. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 262e9e4..7b1b8666 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -19,6 +19,7 @@
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/pwm_backlight.h>
+#include <linux/platform_data/s3c-hsotg.h>
#include <asm/mach/arch.h>
#include <asm/hardware/gic.h>
@@ -271,6 +272,9 @@ static void __init smdkv310_ohci_init(void)
exynos4_ohci_set_platdata(pdata);
}
+/* USB OTG */
+static struct s3c_hsotg_plat smdkv310_hsotg_pdata;
+
static struct platform_device *smdkv310_devices[] __initdata = {
&s3c_device_hsmmc0,
&s3c_device_hsmmc1,
@@ -279,6 +283,7 @@ static struct platform_device *smdkv310_devices[] __initdata = {
&s3c_device_i2c1,
&s5p_device_i2c_hdmiphy,
&s3c_device_rtc,
+ &s3c_device_usb_hsotg,
&s3c_device_wdt,
&s5p_device_ehci,
&s5p_device_fimc0,
@@ -390,6 +395,7 @@ static void __init smdkv310_machine_init(void)
smdkv310_ehci_init();
smdkv310_ohci_init();
+ s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata);
clk_xusbxti.rate = 24000000;
platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices));