From patchwork Thu Jun 13 13:23:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2716241 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D692D9F4BB for ; Thu, 13 Jun 2013 13:23:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 26599201A8 for ; Thu, 13 Jun 2013 13:23:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7DDD20189 for ; Thu, 13 Jun 2013 13:23:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758030Ab3FMNXH (ORCPT ); Thu, 13 Jun 2013 09:23:07 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:65278 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756419Ab3FMNXE (ORCPT ); Thu, 13 Jun 2013 09:23:04 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOC009542IDXNS0@mailout1.samsung.com>; Thu, 13 Jun 2013 22:23:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 26.B8.17404.7B7C9B15; Thu, 13 Jun 2013 22:23:03 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-5f-51b9c7b75130 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 1F.C1.28381.7B7C9B15; Thu, 13 Jun 2013 22:23:03 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOC00APB2IFZF00@mmp2.samsung.com>; Thu, 13 Jun 2013 22:23:03 +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 V5 2/3] ARM: EXYNOS: Enable PCIe support for Exynos5440 Date: Thu, 13 Jun 2013 22:23:03 +0900 Message-id: <000c01ce6839$2217c210$66474630$@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: Ac5oORt+dgO9kmJnSI2uLSS9asrucA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA5WSXUySURjHd+DlBV26V1I7sb7GFheuSETsmOW6870x9bYvQnrzGxHENdcm Q2PLRuXHikgNJpU5NibqhFKntIFbovkBc6s5nNVMzJscGmYFvV5w293vPM//nN95tofD5D5l 8TgVinpKpZBV8/FE7P3vr+LTI15XSeZmQIia/4yw0F67h42sunI08WyFhdanB3C0YJlnoe0l CTKY/ThyrAZYaOFNF458PV4cGWfHGahPNwxQ79wrJnr72oohj9EK0JegjnExhbT12AC5G2kH 5INOP05+dswB0uzQkJ8Cozg5aG0iZ40WQG47DdHAUD8gf347Rf5wHCs+cDnx/E2quqKBUp3J v5FYHh4vVa6xb6+s3gdaMIC3Ag4HEtnQG7jWCh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WQRUJa60HQNr4BWwlHg8Zz4ThC0o8WPyPRYQm1lAS2L9zuNMELa8xOY1b6FO UpDYcfY10BwOoGV6Eq/XJ0KUiEjse/GOcQKjwCwkk2YhmTQLyaRZSFoWMLKsYhRNLUguKE5K zzXUK07MLS7NS9dLzs/dxAhORs+kdjCubLA4xCjAwajEw/uidUegEGtiWXFl7iFGCQ5mJRHe m1N3BgrxpiRWVqUW5ccXleakFh9iTAZ6dCKzlGhyPjBR5pXEGxqbmBlZGplZGJmYm5MmrCTO e6DVOlBIID2xJDU7NbUgtQhmCxMHp1QD40KtqPlOTe7crTo+XUk+HH8Eep9HHzwWmCc3q5Pr icB6ofLEzLtxd8rszx9tM7B/mvLvnN/xzYbcj/98TbU70NX9N9t/bbxn5q2J8Qt/+MeLSl26 bM9ssuCrmkCw05K/0XMjnnt1COYeO7vaus3xf2mDyhLG+o6t+0K6T7Hz32i7dO50PGeZEktx RqKhFnNRcSIA6AJ4K4oDAAA= 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.3 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. 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