diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-05-19 18:46:44 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-06-11 10:44:24 -0400 |
commit | fb395c39307268baa324c2cdd009cd9b58fcf2ec (patch) | |
tree | f3d808be73ed7f33dcf056ead32e352060dcf28c /arch/arm | |
parent | 9c278d52903709543b4716b0e0d03ec58b179308 (diff) |
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')
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index da025c8542bd..f5fb6eaf9d85 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -207,6 +207,7 @@ config MACH_SMDKV310 | |||
207 | select S3C_DEV_HSMMC1 | 207 | select S3C_DEV_HSMMC1 |
208 | select S3C_DEV_HSMMC2 | 208 | select S3C_DEV_HSMMC2 |
209 | select S3C_DEV_HSMMC3 | 209 | select S3C_DEV_HSMMC3 |
210 | select S3C_DEV_USB_HSOTG | ||
210 | select SAMSUNG_DEV_BACKLIGHT | 211 | select SAMSUNG_DEV_BACKLIGHT |
211 | select EXYNOS_DEV_DRM | 212 | select EXYNOS_DEV_DRM |
212 | select EXYNOS_DEV_SYSMMU | 213 | select EXYNOS_DEV_SYSMMU |
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 262e9e446a96..7b1b86663e51 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/i2c.h> | 19 | #include <linux/i2c.h> |
20 | #include <linux/input.h> | 20 | #include <linux/input.h> |
21 | #include <linux/pwm_backlight.h> | 21 | #include <linux/pwm_backlight.h> |
22 | #include <linux/platform_data/s3c-hsotg.h> | ||
22 | 23 | ||
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
24 | #include <asm/hardware/gic.h> | 25 | #include <asm/hardware/gic.h> |
@@ -271,6 +272,9 @@ static void __init smdkv310_ohci_init(void) | |||
271 | exynos4_ohci_set_platdata(pdata); | 272 | exynos4_ohci_set_platdata(pdata); |
272 | } | 273 | } |
273 | 274 | ||
275 | /* USB OTG */ | ||
276 | static struct s3c_hsotg_plat smdkv310_hsotg_pdata; | ||
277 | |||
274 | static struct platform_device *smdkv310_devices[] __initdata = { | 278 | static struct platform_device *smdkv310_devices[] __initdata = { |
275 | &s3c_device_hsmmc0, | 279 | &s3c_device_hsmmc0, |
276 | &s3c_device_hsmmc1, | 280 | &s3c_device_hsmmc1, |
@@ -279,6 +283,7 @@ static struct platform_device *smdkv310_devices[] __initdata = { | |||
279 | &s3c_device_i2c1, | 283 | &s3c_device_i2c1, |
280 | &s5p_device_i2c_hdmiphy, | 284 | &s5p_device_i2c_hdmiphy, |
281 | &s3c_device_rtc, | 285 | &s3c_device_rtc, |
286 | &s3c_device_usb_hsotg, | ||
282 | &s3c_device_wdt, | 287 | &s3c_device_wdt, |
283 | &s5p_device_ehci, | 288 | &s5p_device_ehci, |
284 | &s5p_device_fimc0, | 289 | &s5p_device_fimc0, |
@@ -390,6 +395,7 @@ static void __init smdkv310_machine_init(void) | |||
390 | 395 | ||
391 | smdkv310_ehci_init(); | 396 | smdkv310_ehci_init(); |
392 | smdkv310_ohci_init(); | 397 | smdkv310_ohci_init(); |
398 | s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata); | ||
393 | clk_xusbxti.rate = 24000000; | 399 | clk_xusbxti.rate = 24000000; |
394 | 400 | ||
395 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); | 401 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); |