From patchwork Thu May 17 11:54:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8722 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 82AF123EAB for ; Thu, 17 May 2012 12:04:30 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5073DA18B3F for ; Thu, 17 May 2012 12:04:30 +0000 (UTC) Received: by ggnf1 with SMTP id f1so2055082ggn.11 for ; Thu, 17 May 2012 05:04:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=yD2V81K9uIKoCxWG5vnkKId5yt2s9d27zMy4uy1Fjpk=; b=DEbTA1gfvWwG/2nqT0t4sclJTkTGami7RnzlRLDjSZhh/AdUrAg0FTBZjAnpL4cjNB p8mZM8VIEu9dYAfyLfy8maaXoAC4HzHtWzMgetdIPHGSc2k5HH9JJWZirqfgUnzYA90K bh+szFtHixalMIkO3GrV3jDOadKycGkhwyhSQ7oYLgaBwZFDbRl4qLAhBQtmwtTHmTgn GjtZgwkwFkp19trj1xmbX9FYa9a/BOV+yb9IPKLeYLoPZChaEbA6LmirYEiwLzocccgD eNWgKI646/xprxMB/xbtv1TKcdno2PcgOjEf8J6/g5gju6W6P+d+38PYF2dJDY1TjZ+2 xIEA== Received: by 10.50.40.193 with SMTP id z1mr5154885igk.0.1337256269484; Thu, 17 May 2012 05:04:29 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp23154ibd; Thu, 17 May 2012 05:04:28 -0700 (PDT) Received: by 10.68.217.100 with SMTP id ox4mr26911331pbc.87.1337256268754; Thu, 17 May 2012 05:04:28 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id o4si11148364pbi.55.2012.05.17.05.04.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 05:04:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f50.google.com with SMTP id rr4so2961477pbb.37 for ; Thu, 17 May 2012 05:04:28 -0700 (PDT) Received: by 10.68.223.129 with SMTP id qu1mr26669413pbc.165.1337256268274; Thu, 17 May 2012 05:04:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id py6sm8933595pbc.13.2012.05.17.05.04.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 05:04:27 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] ARM: EXYNOS: Add HSOTG support to SMDKV310 Date: Thu, 17 May 2012 17:24:14 +0530 Message-Id: <1337255655-10633-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1337255655-10633-1-git-send-email-sachin.kamat@linaro.org> References: <1337255655-10633-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQltYLUwcoFn2zYz7N1FbrCKRDG9Fv5iuixYAzDkIFA4TySq7LlaI+9/9Xb3lfUK4heMcL7Q S3C-HSOTG device is added to SMDKV310 board. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/Kconfig | 1 + arch/arm/mach-exynos/mach-smdkv310.c | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 4bc13f4..9928f3d 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -199,6 +199,7 @@ config MACH_SMDKV310 select S3C_DEV_HSMMC1 select S3C_DEV_HSMMC2 select S3C_DEV_HSMMC3 + select S3C_DEV_USB_HSOTG select SAMSUNG_DEV_BACKLIGHT select EXYNOS4_DEV_AHCI select SAMSUNG_DEV_KEYPAD diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 83b91fa..b7a6360 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -256,6 +257,9 @@ static void __init smdkv310_ohci_init(void) exynos4_ohci_set_platdata(pdata); } +/* USB OTG */ +static struct s3c_hsotg_plat smdkv310_hsotg_pdata; + static struct platform_device *smdkv310_devices[] __initdata = { &s3c_device_hsmmc0, &s3c_device_hsmmc1, @@ -264,6 +268,7 @@ static struct platform_device *smdkv310_devices[] __initdata = { &s3c_device_i2c1, &s5p_device_i2c_hdmiphy, &s3c_device_rtc, + &s3c_device_usb_hsotg, &s3c_device_wdt, &s5p_device_ehci, &s5p_device_fimc0, @@ -368,6 +373,7 @@ static void __init smdkv310_machine_init(void) smdkv310_ehci_init(); smdkv310_ohci_init(); + s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata); clk_xusbxti.rate = 24000000; platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices));