diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-09-30 07:59:46 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-20 18:54:56 -0400 |
commit | d5889d5d1405b8f0e3f7a552ea899fad08d2d85a (patch) | |
tree | 495a3d517d0547d04a95dccfee124910b7db0b86 /arch/arm/mach-s5pv210/mach-goni.c | |
parent | e4615b8607909bcc31ef90a6c04b4f951ea133e1 (diff) |
ARM: S5PV210: Add Support for OTG USB Gadget on GONI board
Add required platform definitions for s3c-hsotg driver to enable usb
gadget support on Samsung Goni board.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-goni.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index b0ae20889a3a..e68791855d22 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <plat/fb.h> | 37 | #include <plat/fb.h> |
38 | #include <plat/keypad.h> | 38 | #include <plat/keypad.h> |
39 | #include <plat/sdhci.h> | 39 | #include <plat/sdhci.h> |
40 | #include <plat/clock.h> | ||
40 | 41 | ||
41 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 42 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
42 | #define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 43 | #define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -487,6 +488,7 @@ static struct platform_device *goni_devices[] __initdata = { | |||
487 | &s3c_device_hsmmc0, | 488 | &s3c_device_hsmmc0, |
488 | &s3c_device_hsmmc1, | 489 | &s3c_device_hsmmc1, |
489 | &s3c_device_hsmmc2, | 490 | &s3c_device_hsmmc2, |
491 | &s3c_device_usb_hsotg, | ||
490 | &samsung_device_keypad, | 492 | &samsung_device_keypad, |
491 | }; | 493 | }; |
492 | 494 | ||
@@ -512,6 +514,8 @@ static void __init goni_machine_init(void) | |||
512 | /* KEYPAD */ | 514 | /* KEYPAD */ |
513 | samsung_keypad_set_platdata(&keypad_data); | 515 | samsung_keypad_set_platdata(&keypad_data); |
514 | 516 | ||
517 | clk_xusbxti.rate = 24000000; | ||
518 | |||
515 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); | 519 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); |
516 | } | 520 | } |
517 | 521 | ||