ARM: EXYNOS: Add s3c-hsotg device support for GONI board
authorLukasz Majewski <l.majewski@samsung.com>
Sat, 12 May 2012 23:24:14 +0000 (08:24 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 16 May 2012 13:32:12 +0000 (22:32 +0900)
This patch adds hsotg device to the GONI board.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/Kconfig
arch/arm/mach-s5pv210/mach-goni.c

index 29594fc4fdf4bce67aca77d38232678af91f2395..88e983b0c82e568ee1da3c173256ec6c913f8c8f 100644 (file)
@@ -85,6 +85,7 @@ config MACH_AQUILA
        select S5P_DEV_ONENAND
        select S5PV210_SETUP_FB_24BPP
        select S5PV210_SETUP_SDHCI
+       select S5PV210_SETUP_USB_PHY
        help
          Machine support for the Samsung Aquila target based on S5PC110 SoC
 
index 32395664e87917f640cdc70b74f287304a939b6a..5fac4e4a93f9b1462978fe8d4ad9fa8b6169657d 100644 (file)
@@ -278,6 +278,9 @@ static void __init goni_tsp_init(void)
        i2c2_devs[0].irq = gpio_to_irq(gpio);
 }
 
+/* USB OTG */
+static struct s3c_hsotg_plat goni_hsotg_pdata;
+
 static void goni_camera_init(void)
 {
        s5pv210_fimc_setup_gpio(S5P_CAMPORT_A);
@@ -941,6 +944,8 @@ static void __init goni_machine_init(void)
        s3c_set_platdata(&goni_fimc_md_platdata, sizeof(goni_fimc_md_platdata),
                         &s5p_device_fimc_md);
 
+       s3c_hsotg_set_platdata(&goni_hsotg_pdata);
+
        goni_camera_init();
 
        /* SPI */