From patchwork Sun Mar 11 12:46:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 7207 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 BF33423E0E for ; Sun, 11 Mar 2012 12:41:59 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 878A7A182D8 for ; Sun, 11 Mar 2012 12:41:59 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so6819003iag.11 for ; Sun, 11 Mar 2012 05:41:59 -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:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-gm-message-state; bh=yKuuAbVoYGEegmqhWAdk/3l0odXy/FMQU6kcDfE6vTY=; b=fnS/6JC+EBncfLo5kB4we2E4sNO5tPEgb2QfJ/V+nofPgbQOuOEU5lmAYUbyMJbCUy dUncH/4MzWxEr3mL0vXvyypm7AURQeD+DnlQctSvAYDa1M/GClOAfANG0yd2gxsMRFyV AO6kpcGBnzoWEOTKGPmzRGhT6F48BJIamN9Czon/UZzqkhIZix73oXtC7WrEUYgoH0iP Ng7mNcrIjpazcmfLOYpVq40LRjsTjC+0rZ4UYQhZcKzBxsVfF7j8dqX/LVQtY4M9zoga saNl14zL7CvR5BTBHzUPZvJbww/TUSLdlprSfnukdwD2ssN0sYjTFv33mMoZ0jqGvXc+ IcvQ== Received: by 10.50.45.228 with SMTP id q4mr13504305igm.58.1331469719347; Sun, 11 Mar 2012 05:41:59 -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.53.18 with SMTP id k18csp22221ibg; Sun, 11 Mar 2012 05:41:58 -0700 (PDT) Received: by 10.68.201.73 with SMTP id jy9mr14441360pbc.35.1331469717799; Sun, 11 Mar 2012 05:41:57 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id g9si13271424pbd.341.2012.03.11.05.41.57; Sun, 11 Mar 2012 05:41:57 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epcpsbgm2.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0M0Q00JJH0LQK690@mailout4.samsung.com>; Sun, 11 Mar 2012 21:41:56 +0900 (KST) X-AuditID: cbfee61b-b7c62ae000000989-7f-4f5c9d9451dc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id EA.FC.02441.49D9C5F4; Sun, 11 Mar 2012 21:41:56 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTPA id <0M0Q0009D0LLZ300@mmp2.samsung.com>; Sun, 11 Mar 2012 21:41:56 +0900 (KST) From: Thomas Abraham To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linus.walleij@linaro.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 4/5] ARM: Exynos: Enable pinctrl driver support for Origen board Date: Sun, 11 Mar 2012 18:16:04 +0530 Message-id: <1331469965-28846-5-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1331469965-28846-1-git-send-email-thomas.abraham@linaro.org> References: <1331469965-28846-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: AAAAAA== X-Gm-Message-State: ALoCoQl2XcUpQe34sWY4DUqIAfE1RJfKG/PKIPdD8ihqLvjIhf9MTjkR4qdW5r0PvAnCxr/Alpw6 Add the pinctrl platform devices for static registration and add default pin maps. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-origen.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 02c242e..4e39a9b 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include #include @@ -41,6 +43,7 @@ #include #include #include +#include #include #include @@ -622,6 +625,9 @@ static struct platform_device origen_device_bluetooth = { }; static struct platform_device *origen_devices[] __initdata = { + &exynos4_pinctrl0, + &exynos4_pinctrl1, + &exynos4_pinctrl2, &s3c_device_hsmmc2, &s3c_device_hsmmc0, &s3c_device_i2c0, @@ -697,6 +703,7 @@ static void __init origen_reserve(void) static void __init origen_machine_init(void) { + exynos4210_pinctrl_register_def_mappings(); origen_power_init(); s3c_i2c0_set_platdata(NULL);