From patchwork Thu May 17 11:54:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8721 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 66A4723EAB for ; Thu, 17 May 2012 12:04:27 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 326BFA18B3A for ; Thu, 17 May 2012 12:04:27 +0000 (UTC) Received: by yhpp61 with SMTP id p61so2009480yhp.11 for ; Thu, 17 May 2012 05:04:26 -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=kB/vaBgI6Ldp6Zjb465dhyOPAhIh3XoiqPLzpaiydPk=; b=Rd1WybmOyueKhBaxem2dxGNcqNwS7WsJkSkWp049nVtbSrcUceFGFvsM2+a11gNU4I 5qsJc5goQZnQBoDH5b/kTMwHB+2rJOoeT65B279MGvJXJqIiKiyGsVLR7qHmkXGDVI6y 1N2Y6MnQVeTWpcCPNHUah2NmByxMOhuC4ENYyG88QUlRKK2+6FoNbj8Cp7bOvze90y+a aS3u9dJw5YbEmJNnBwuIiXPgsheex1UEtjiiyqj3kZOW6m6yHVkcw7isULYQ2STFQrrd yZlvLZ/YWFKw1v0YDv4RcvpoGmJIU7TBUHG7SOoZcg/aBBG/04Mp6ALMA/N4PjXgofsN FvEA== Received: by 10.50.195.234 with SMTP id ih10mr5144812igc.0.1337256266536; Thu, 17 May 2012 05:04:26 -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 o8csp23149ibd; Thu, 17 May 2012 05:04:26 -0700 (PDT) Received: by 10.68.234.35 with SMTP id ub3mr27100086pbc.8.1337256265897; Thu, 17 May 2012 05:04:25 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id nu4si3109670pbb.231.2012.05.17.05.04.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 05:04:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.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 danh15 with SMTP id h15so2823439dan.37 for ; Thu, 17 May 2012 05:04:25 -0700 (PDT) Received: by 10.68.219.41 with SMTP id pl9mr26897372pbc.61.1337256265508; Thu, 17 May 2012 05:04:25 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id py6sm8933595pbc.13.2012.05.17.05.04.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 05:04:24 -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 1/3] ARM: EXYNOS: Add HSOTG support to Origen Date: Thu, 17 May 2012 17:24:13 +0530 Message-Id: <1337255655-10633-2-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: ALoCoQn5rEwMa6W222GevaoqpB5jNKfrfN57yb4Rgku914Fv7H/CH/EQRS1FX5uFvum+Gjlt+k5g S3C-HSOTG device is added to Origen board. Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- arch/arm/mach-exynos/Kconfig | 1 + arch/arm/mach-exynos/mach-origen.c | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6919e23..4bc13f4 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -312,6 +312,7 @@ config MACH_ORIGEN select S3C_DEV_WDT select S3C_DEV_HSMMC select S3C_DEV_HSMMC2 + select S3C_DEV_USB_HSOTG select S5P_DEV_FIMC0 select S5P_DEV_FIMC1 select S5P_DEV_FIMC2 diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 878d4c9..aa35bfe 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -500,6 +501,9 @@ static void __init origen_ohci_init(void) exynos4_ohci_set_platdata(pdata); } +/* USB OTG */ +static struct s3c_hsotg_plat origen_hsotg_pdata; + static struct gpio_keys_button origen_gpio_keys_table[] = { { .code = KEY_MENU, @@ -628,6 +632,7 @@ static struct platform_device *origen_devices[] __initdata = { &s3c_device_hsmmc0, &s3c_device_i2c0, &s3c_device_rtc, + &s3c_device_usb_hsotg, &s3c_device_wdt, &s5p_device_ehci, &s5p_device_fimc0, @@ -714,6 +719,7 @@ static void __init origen_machine_init(void) origen_ehci_init(); origen_ohci_init(); + s3c_hsotg_set_platdata(&origen_hsotg_pdata); clk_xusbxti.rate = 24000000; s5p_tv_setup();