Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281833
b: refs/heads/master
c: 95de77d
h: refs/heads/master
i:
  281831: 36c7302
v: v3
  • Loading branch information
Tushar Behera authored and Kukjin Kim committed Dec 24, 2011
1 parent d2c0e15 commit b22a97e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62194244cf871aec73b5854077f1c527416ccd7b
refs/heads/master: 95de77d4a405cd320ec39c3c19f060eed87fd9ce
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-exynos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ config MACH_ORIGEN
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_PWM
select EXYNOS4_DEV_PD
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_SDHCI
select EXYNOS4_SETUP_USB_PHY
Expand Down
13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-exynos/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <plat/fb.h>
#include <plat/mfc.h>

#include <mach/ohci.h>
#include <mach/map.h>

/* Following are default values for UCON, ULCON and UFCON UART registers */
Expand Down Expand Up @@ -483,6 +484,16 @@ static void __init origen_ehci_init(void)
s5p_ehci_set_platdata(pdata);
}

/* USB OHCI */
static struct exynos4_ohci_platdata origen_ohci_pdata;

static void __init origen_ohci_init(void)
{
struct exynos4_ohci_platdata *pdata = &origen_ohci_pdata;

exynos4_ohci_set_platdata(pdata);
}

static struct gpio_keys_button origen_gpio_keys_table[] = {
{
.code = KEY_MENU,
Expand Down Expand Up @@ -606,6 +617,7 @@ static struct platform_device *origen_devices[] __initdata = {
&s5p_device_mfc_l,
&s5p_device_mfc_r,
&s5p_device_mixer,
&exynos4_device_ohci,
&exynos4_device_pd[PD_LCD0],
&exynos4_device_pd[PD_TV],
&exynos4_device_pd[PD_G3D],
Expand Down Expand Up @@ -670,6 +682,7 @@ static void __init origen_machine_init(void)
s3c_sdhci0_set_platdata(&origen_hsmmc0_pdata);

origen_ehci_init();
origen_ohci_init();
clk_xusbxti.rate = 24000000;

s5p_tv_setup();
Expand Down

0 comments on commit b22a97e

Please sign in to comment.