From patchwork Wed Jun 12 10:19:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2709141 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 074F3C1459 for ; Wed, 12 Jun 2013 10:20:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F36CB20240 for ; Wed, 12 Jun 2013 10:20:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4D1120234 for ; Wed, 12 Jun 2013 10:20:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756408Ab3FLKTn (ORCPT ); Wed, 12 Jun 2013 06:19:43 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:16795 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756359Ab3FLKTj (ORCPT ); Wed, 12 Jun 2013 06:19:39 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MO900M49ZCG8I50@mailout3.samsung.com>; Wed, 12 Jun 2013 19:19:33 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 9E.0A.11618.53B48B15; Wed, 12 Jun 2013 19:19:33 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-50-51b84b355251 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A4.3D.21068.53B48B15; Wed, 12 Jun 2013 19:19:33 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MO9005LBZCLOM60@mmp1.samsung.com>; Wed, 12 Jun 2013 19:19:33 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' , 'Bjorn Helgaas' Cc: linux-samsung-soc@vger.kernel.org, linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 'Grant Likely' , 'Andrew Murray' , 'Thomas Petazzoni' , 'Thierry Reding' , 'Jason Gunthorpe' , 'Arnd Bergmann' , 'Surendranath Gurivireddy Balla' , 'Siva Reddy Kallam' , 'Thomas Abraham' , Jingoo Han Subject: [PATCH V4 2/3] ARM: EXYNOS: Enable PCIe support for Exynos5440 Date: Wed, 12 Jun 2013 19:19:33 +0900 Message-id: <003701ce6756$551c4ed0$ff54ec70$@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: Ac5nVlA5OK3B7pJVRIuJ6dyPxQluVA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNKsWRmVeSWpSXmKPExsVy+t8zfV1T7x2BBmcmK1k0/9/OavF30jF2 iyVNGRYHZj9ktXh1ZiObxeWFl1gtvt8wtehdcJXNYtPja6wWl3fNYbM4O+84m8WM8/uYLFY0 bWW0WHxxObPF7pVLWCyOzVjCaPH0QROTg6DHmnlrGD1+/5rE6NE35Sqbx5NNFxk9Fmwq9bhz bQ+bx+Yl9R7nZyxk9Pi+oxeoYMsqRo+fL3U8Pm+SC+CJ4rJJSc3JLEst0rdL4MqY+4ilYCpH xbzPH5gaGK+wdTFyckgImEg09x+FssUkLtxbD2RzcQgJLGOUaLu0nxGm6O/kPawQiUWMErcv bmOGcH4x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0i4C9x7WorC0gRs8AkVolfEy8xgSSE Bdwl7jyfxgxiswioSvxe1AsW5xWwlDjROo8VwhaU+DH5HguIzSygJbF+53EmCFteYvOat8wQ JylI7Dj7mhFimZ7E+/+foWpEJPa9eMc4gVFgFpJRs5CMmoVk1CwkLQsYWVYxiqYWJBcUJ6Xn GukVJ+YWl+al6yXn525iBKejZ9I7GFc1WBxiFOBgVOLhPWC2PVCINbGsuDL3EKMEB7OSCG+V 9o5AId6UxMqq1KL8+KLSnNTiQ4zJQJ9OZJYSTc4Hpsq8knhDYxMzI0sjMwsjE3Nz0oSVxHkP tloHCgmkJ5akZqemFqQWwWxh4uCUamB09n+62u1nmMC77w/clixTr2tJ1PUrSvodFTEt98KP khh10QtPSvadqt2xZvbOTfVrDRhyVjWu+hMhwfDAaokUs3fZRzWhl1amOzzXMfpnvD26osyc q9zkzB+djHTJ4wXXVJ/7/u0t4zunx+t48+nLOT9jvs2r+RcmsevFnrJox1Nxq24kSy5SYinO SDTUYi4qTgQAh7xV3YsDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable PCIe support for Exynos5440 which has two PCIe controllers. Signed-off-by: Jingoo Han --- Tested on Exynos5440. Changes since v3: - Selected PCI_DOMAINS arch/arm/Kconfig | 1 + arch/arm/mach-exynos/Kconfig | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 42d6ea2..53b3b2d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1395,6 +1395,7 @@ config PCI_HOST_ITE8152 select DMABOUNCE source "drivers/pci/Kconfig" +source "drivers/pci/pcie/Kconfig" source "drivers/pcmcia/Kconfig" diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6aa228d..773b5ee 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -78,6 +78,8 @@ config SOC_EXYNOS5440 select ARCH_HAS_OPP select ARM_ARCH_TIMER select AUTO_ZRELADDR + select MIGHT_HAVE_PCI + select PCI_DOMAINS if PCI select PINCTRL select PINCTRL_EXYNOS5440 select PM_OPP