Commit 25bcde9f authored by Sachin Kamat's avatar Sachin Kamat Committed by Kukjin Kim

ARM: S5PV210: Add HSOTG support to SMDKV210

Adds S3C-HSOTG support to SMDKV210 board.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 33fe1a49
...@@ -152,6 +152,7 @@ config MACH_SMDKV210 ...@@ -152,6 +152,7 @@ config MACH_SMDKV210
select S3C_DEV_I2C1 select S3C_DEV_I2C1
select S3C_DEV_I2C2 select S3C_DEV_I2C2
select S3C_DEV_RTC select S3C_DEV_RTC
select S3C_DEV_USB_HSOTG
select S3C_DEV_WDT select S3C_DEV_WDT
select S5P_DEV_FIMC0 select S5P_DEV_FIMC0
select S5P_DEV_FIMC1 select S5P_DEV_FIMC1
...@@ -170,6 +171,7 @@ config MACH_SMDKV210 ...@@ -170,6 +171,7 @@ config MACH_SMDKV210
select S5PV210_SETUP_IDE select S5PV210_SETUP_IDE
select S5PV210_SETUP_KEYPAD select S5PV210_SETUP_KEYPAD
select S5PV210_SETUP_SDHCI select S5PV210_SETUP_SDHCI
select S5PV210_SETUP_USB_PHY
help help
Machine support for Samsung SMDKV210 Machine support for Samsung SMDKV210
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/pwm_backlight.h> #include <linux/pwm_backlight.h>
#include <linux/platform_data/s3c-hsotg.h>
#include <asm/hardware/vic.h> #include <asm/hardware/vic.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
...@@ -47,6 +48,7 @@ ...@@ -47,6 +48,7 @@
#include <plat/backlight.h> #include <plat/backlight.h>
#include <plat/regs-fb-v4.h> #include <plat/regs-fb-v4.h>
#include <plat/mfc.h> #include <plat/mfc.h>
#include <plat/clock.h>
#include "common.h" #include "common.h"
...@@ -203,6 +205,9 @@ static struct s3c_fb_platdata smdkv210_lcd0_pdata __initdata = { ...@@ -203,6 +205,9 @@ static struct s3c_fb_platdata smdkv210_lcd0_pdata __initdata = {
.setup_gpio = s5pv210_fb_gpio_setup_24bpp, .setup_gpio = s5pv210_fb_gpio_setup_24bpp,
}; };
/* USB OTG */
static struct s3c_hsotg_plat smdkv210_hsotg_pdata;
static struct platform_device *smdkv210_devices[] __initdata = { static struct platform_device *smdkv210_devices[] __initdata = {
&s3c_device_adc, &s3c_device_adc,
&s3c_device_cfcon, &s3c_device_cfcon,
...@@ -216,6 +221,7 @@ static struct platform_device *smdkv210_devices[] __initdata = { ...@@ -216,6 +221,7 @@ static struct platform_device *smdkv210_devices[] __initdata = {
&s3c_device_i2c2, &s3c_device_i2c2,
&s3c_device_rtc, &s3c_device_rtc,
&s3c_device_ts, &s3c_device_ts,
&s3c_device_usb_hsotg,
&s3c_device_wdt, &s3c_device_wdt,
&s5p_device_fimc0, &s5p_device_fimc0,
&s5p_device_fimc1, &s5p_device_fimc1,
...@@ -314,6 +320,9 @@ static void __init smdkv210_machine_init(void) ...@@ -314,6 +320,9 @@ static void __init smdkv210_machine_init(void)
samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data); samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data);
s3c_hsotg_set_platdata(&smdkv210_hsotg_pdata);
clk_xusbxti.rate = 24000000;
platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment