Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274055
b: refs/heads/master
c: 9830f6a
h: refs/heads/master
i:
  274053: 66641af
  274051: 133c635
  274047: 475c014
v: v3
  • Loading branch information
Jingoo Han authored and Kukjin Kim committed Oct 4, 2011
1 parent f7279e7 commit 6c4c8be
Show file tree
Hide file tree
Showing 3 changed files with 19 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: 8b069b7709c6b5d1492342164976ebfa178de31f
refs/heads/master: 9830f6a20d841acc36bd9ee275aa4586dd713749
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-exynos4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ config MACH_SMDKV310
select S5P_DEV_I2C_HDMIPHY
select S5P_DEV_MFC
select S5P_DEV_TV
select S5P_DEV_USB_EHCI
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC1
select S3C_DEV_HSMMC2
Expand All @@ -156,6 +157,7 @@ config MACH_SMDKV310
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_KEYPAD
select EXYNOS4_SETUP_SDHCI
select EXYNOS4_SETUP_USB_PHY
help
Machine support for Samsung SMDKV310

Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-exynos4/mach-smdkv310.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <plat/gpio-cfg.h>
#include <plat/backlight.h>
#include <plat/mfc.h>
#include <plat/ehci.h>
#include <plat/clock.h>

#include <mach/map.h>

Expand Down Expand Up @@ -167,6 +169,16 @@ static struct i2c_board_info i2c_devs1[] __initdata = {
{I2C_BOARD_INFO("wm8994", 0x1a),},
};

/* USB EHCI */
static struct s5p_ehci_platdata smdkv310_ehci_pdata;

static void __init smdkv310_ehci_init(void)
{
struct s5p_ehci_platdata *pdata = &smdkv310_ehci_pdata;

s5p_ehci_set_platdata(pdata);
}

static struct platform_device *smdkv310_devices[] __initdata = {
&s3c_device_hsmmc0,
&s3c_device_hsmmc1,
Expand All @@ -176,6 +188,7 @@ static struct platform_device *smdkv310_devices[] __initdata = {
&s5p_device_i2c_hdmiphy,
&s3c_device_rtc,
&s3c_device_wdt,
&s5p_device_ehci,
&exynos4_device_ac97,
&exynos4_device_i2s0,
&samsung_device_keypad,
Expand Down Expand Up @@ -276,6 +289,9 @@ static void __init smdkv310_machine_init(void)

samsung_bl_set(&smdkv310_bl_gpio_info, &smdkv310_bl_data);

smdkv310_ehci_init();
clk_xusbxti.rate = 24000000;

platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices));
s5p_device_mfc.dev.parent = &exynos4_device_pd[PD_MFC].dev;
}
Expand Down

0 comments on commit 6c4c8be

Please sign in to comment.