From patchwork Thu Dec 27 16:58:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 13727 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 499ED23E1F for ; Thu, 27 Dec 2012 16:59:10 +0000 (UTC) Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by fiordland.canonical.com (Postfix) with ESMTP id BA5D7A196C8 for ; Thu, 27 Dec 2012 16:59:09 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id l22so9858944vbn.14 for ; Thu, 27 Dec 2012 08:59:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-auditid:from:to:cc:references:in-reply-to:subject :date:message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language:dlp-filter:x-mtr :x-brightmail-tracker:x-brightmail-tracker:x-cfilter-loop :x-gm-message-state; bh=V3UpCmWmefCixghMMVBoyoioDpWnMpb8z6Qa+oaNV3U=; b=Z81JpEVtdqG/iceXJ2LUSyWnjxQihYH3t8SX8j32rF8UlTIbPLuv4AkkSbQN3JLOAT foozDioZ/ea/yN2rNljyVGunue9q1JU16ABc3bEdDpJv637QSE/8d+A/2QPoKnSRXjTZ bYLFPp1q2Q5bWlO46FB6/kp5m35d13tHmvq1Ze9lCviOQ27hIUGcW8KooKJeDyhOwYCu S8+6ntK/qAnCwIYxHFiUukmnF5vNGVbWq9wcftHtwsK3bttmoz2rvcPCCeVD9z0NCnyP pZQlxr+fp4/QUaiPODRtBXbMuRAKrFxXGxYnj0JXm+S3D4iDzv7utpbch5X0gvDVDFzG vzkA== X-Received: by 10.220.157.9 with SMTP id z9mr47651741vcw.45.1356627549078; Thu, 27 Dec 2012 08:59:09 -0800 (PST) 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.58.214.195 with SMTP id oc3csp26191vec; Thu, 27 Dec 2012 08:59:08 -0800 (PST) X-Received: by 10.66.72.198 with SMTP id f6mr91017462pav.42.1356627547497; Thu, 27 Dec 2012 08:59:07 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id qu6si29407295pbc.195.2012.12.27.08.59.06; Thu, 27 Dec 2012 08:59:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of kgene.kim@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of kgene.kim@samsung.com designates 203.254.224.34 as permitted sender) smtp.mail=kgene.kim@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MFP00FPR8IH1CB0@mailout4.samsung.com>; Fri, 28 Dec 2012 01:59:05 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7E.E1.12699.95E7CD05; Fri, 28 Dec 2012 01:59:05 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-9b-50dc7e597866 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 2E.E1.12699.95E7CD05; Fri, 28 Dec 2012 01:59:05 +0900 (KST) Received: from visitor4lab ([105.128.18.157]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFP00HAJ8IEHX20@mmp1.samsung.com>; Fri, 28 Dec 2012 01:59:05 +0900 (KST) From: Kukjin Kim To: 'Thomas Abraham' , 'Linus Walleij' Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, patches@linaro.org References: <1355399644-29417-1-git-send-email-thomas.abraham@linaro.org> <1355399644-29417-2-git-send-email-thomas.abraham@linaro.org> In-reply-to: Subject: RE: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data Date: Thu, 27 Dec 2012 08:58:57 -0800 Message-id: <017801cde453$77b03eb0$6710bc10$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQJ22IaoyeydFvGJHT6/7CmrSguD5AGirMLTAWWQ2hgA6DN3A5a6SAJw Content-language: en-us DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEIsWRmVeSWpSXmKPExsVy+t8zfd3IujsBBldOC1hM+bOcyWLK4S8s FsdmLGF0YPa4c20PWwBjFJdNSmpOZllqkb5dAlfGqvttrAXHxSum9U9ma2D8K9zFyMkhIWAi cWTvN2YIW0ziwr31bF2MXBxCAssYJfatPs/YxcgBVrR1hhdIjZDAIkaJh19kIWr+MkpMO76e ESTBJqAhcfj9M3aQehGBOIkFuyxBapgFJjNKdG5ZBTV0OpPErLu/WEAaOAWCJd4emMcKYgsL eElc617KBGKzCKhK/Fi+hR3E5hWwlJh9axczhC0o8WPyPbBeZgEtifU7jzNB2PISm9e8hfpA QWLH2ddgB4kIuEms3rCUHaJGXGLSg4fsEPMFJL5NPsQC8ZisxKYDzCC3SQjsYpd4MXU91BxJ iYMrbrBMYJSYhWT1LCSrZyFZPQvJigWMLKsYRVMLkguKk9JzjfSKE3OLS/PS9ZLzczcxQiJO egfjqgaLQ4wCHIxKPLyK1rcDhFgTy4orcw8xSnAwK4nwfo+/EyDEm5JYWZValB9fVJqTWny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62tr8Nu5+kSRXExr9aPbqWucV3ue/ soR9S4xSUPy3QJN9ZuyxmXcE3TJbal4uqI5IZrFwWPV9SvfpCiGPTMd/pbZ1onP0e46vtpp6 15VZiaU4I9FQi7moOBEAMFFz2hQDAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkUazO8aUJYlhyYGNRsmzeyj6D2PfuisVK8prPLHd3WRVTM/Xws5zcXZPE3b3dCmg3x+Hna Thomas Abraham wrote: > > Hi Linus, > > On 14 December 2012 21:21, Linus Walleij wrote: > > On Thu, Dec 13, 2012 at 12:54 PM, Thomas Abraham > > wrote: > > > >> Add Samsung Exynos5250 SoC specific data to enable pinctrl support for > >> all platforms based on Exynos5250. > >> > >> Signed-off-by: Thomas Abraham > > > > Acked-by: Linus Walleij > > > > For this series, I guess you'll fix it through the Samsung tree? > > Thanks for your ack. Since there are patches to be prepared for > migrating the rest of Exynos5250 related code to the pinctrl > framework, it would be easier if this series goes through the Samsung > tree. > I applied this series, thanks. And I think, would be clear if the config could be changed like following. 8<---------------------------------------------------------------------- From: Kukjin Kim Subject: [PATCH] pinctrl: exynos: change PINCTRL_EXYNOS option Since pinctrl-exynos can support exynos4 and exynos5 so changed the option name to PINCTRL_EXYNOS for more clarity. Cc: Thomas Abraham Cc: Linus Walleij Cc: Grant Likely Signed-off-by: Kukjin Kim Acked-by: Linus Walleij --- 8<---------------------------------------------------------------------- - Kukjin diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 91d5b6f..e1f63e7 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -412,7 +412,7 @@ config MACH_EXYNOS4_DT select CPU_EXYNOS4210 select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD select PINCTRL - select PINCTRL_EXYNOS4 + select PINCTRL_EXYNOS select USE_OF help Machine support for Samsung Exynos4 machine with device tree enabled. diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index c31aeb0..f59feab 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -185,8 +185,8 @@ config PINCTRL_SAMSUNG select PINMUX select PINCONF -config PINCTRL_EXYNOS4 - bool "Pinctrl driver data for Exynos4 SoC" +config PINCTRL_EXYNOS + bool "Pinctrl driver data for Samsung EXYNOS SoCs" depends on OF && GPIOLIB select PINCTRL_SAMSUNG diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index fc4606f..6e87e52 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile @@ -36,7 +36,7 @@ obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o obj-$(CONFIG_PINCTRL_COH901) += pinctrl-coh901.o obj-$(CONFIG_PINCTRL_SAMSUNG) += pinctrl-samsung.o -obj-$(CONFIG_PINCTRL_EXYNOS4) += pinctrl-exynos.o +obj-$(CONFIG_PINCTRL_EXYNOS) += pinctrl-exynos.o obj-$(CONFIG_PINCTRL_EXYNOS5440) += pinctrl-exynos5440.o obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o obj-$(CONFIG_PINCTRL_LANTIQ) += pinctrl-lantiq.o