From patchwork Tue Oct 17 00:11:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trent Piepho X-Patchwork-Id: 10010309 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 792CB60235 for ; Tue, 17 Oct 2017 00:12:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A3CC28709 for ; Tue, 17 Oct 2017 00:12:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C47628715; Tue, 17 Oct 2017 00:12:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 441B228709 for ; Tue, 17 Oct 2017 00:12:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757758AbdJQAMd (ORCPT ); Mon, 16 Oct 2017 20:12:33 -0400 Received: from mail-by2nam01on0127.outbound.protection.outlook.com ([104.47.34.127]:41623 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757757AbdJQAMc (ORCPT ); Mon, 16 Oct 2017 20:12:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=impinj.onmicrosoft.com; s=selector1-impinj-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0SdcVTn8gXJB91JQtP2TmABCbTNJNxbG5s72Sws4zgI=; b=BVpQNH2tfxwFHsMQyID1LbA4IV6mKHMqYqX+wTpbVlVkCZh8lX1rKoDd5vkjpPdUhbBmtSwA4/MTNs+27fj2DYQvDyMXUK8DZTF5psNT4JOqKD9oepIQEpAByOY/PyAvOCEzRljnKBdd0+fHmnnj8FX4NuCuAYnvIdRahRE2cM8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tpiepho@impinj.com; Received: from impinj.com (216.243.31.162) by CY4PR06MB2806.namprd06.prod.outlook.com (10.175.117.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 17 Oct 2017 00:12:30 +0000 From: Trent Piepho To: linux-arm-kernel , linux-pci@vger.kernel.org Cc: Trent Piepho , Andrey Smirnov , Richard Zhu , Lucas Stach Subject: [PATCH 1/2] PCI: dwc: Adjust Kconfig to allow IMX6 PCIe host on IMX7 Date: Mon, 16 Oct 2017 17:11:58 -0700 Message-Id: <20171017001159.109152-1-tpiepho@impinj.com> X-Mailer: git-send-email 2.13.6 MIME-Version: 1.0 X-Originating-IP: [216.243.31.162] X-ClientProxiedBy: CY4PR20CA0007.namprd20.prod.outlook.com (10.173.116.145) To CY4PR06MB2806.namprd06.prod.outlook.com (10.175.117.150) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1ec521b7-4d18-478d-eaad-08d514f3c1e2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR06MB2806; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2806; 3:UxDvPqWdrIm27EA4uZoDG8+YE+Pzp2RrB/3V4/kwYCfXhyoR3iv6PEdDpD656oXH4XphfWb16a767wUci11ZSg4otBIWsv3B83q6gy7ebuuKOC7hmMCdUZY3Djn4S8kbKLEaUnW0GZ2kjeJFRai+ffdj/p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TvWr/qfDFKMEMEofybKybJp5PkbEl05wRKhwNcDYgJcgkdZQ/AbCDmOUhWIeeJyGDPYaATdje3Fi3leH2I3lpA3cYsrySI0n1OHU1pTJLryoa3CK0ZdOa4rhiGjNBy+datk1RHqO9xD3j1dPNhxBhCs8jxF/xhPtRwje/9xsAZn46GuZF4sPGOW842CkOH; 4:Li+6FcF/mZRxWRmxTvzSRbXp0tjH6CIDAXycnnWITuSTN85L1rWOKVtdcAofCIBqJlTDFeOjGRPboXa3OgeLNn99+m+qDoQO6ya5fc4nvVgj5ol+MTBRXdWx/fNxj5+c5gjxE4cWk4ZTiER2XV27sGbQ3Rb48NQfNImKKvkfsgHh5XFNIDNk+WGjrBGT5A1cNBsjOZk1qCJYvM7qtqZ0/Ev2lN8pnPGGp9OQOXY+ez6ZGMPmXCjnN9u8EZAcMshE1Punu3sTGO1NdvXoinPKTLl5ql6jCFS++SqjofEufFg= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR06MB2806; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR06MB2806; X-Forefront-PRVS: 04631F8F77 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(376002)(346002)(189002)(199003)(2906002)(69596002)(6666003)(105586002)(68736007)(5660300001)(39060400002)(5003940100001)(55016002)(81166006)(316002)(8656003)(54906003)(3846002)(6116002)(53936002)(8936002)(16526018)(1076002)(16586007)(4326008)(81156014)(36756003)(25786009)(97736004)(7736002)(86362001)(8676002)(50226002)(66066001)(305945005)(189998001)(21086003)(478600001)(50466002)(106356001)(48376002)(33646002)(101416001)(50986999)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR06MB2806; H:impinj.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: impinj.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR06MB2806; 23:ozp0NFKXVtp0gIH0lZ2IuP4PzZFdPKkZfWd6Txz8I?= =?us-ascii?Q?S6z0fKqW5BcsTWN8PKeZ7nlEhSqmDcAxECLRNhrJsJMJYdpUW1eEBoviMRJM?= =?us-ascii?Q?He0+TCAEk+Bx+18nXf5SZaD/Qs0kGCL+BV3GwiAEbfteBPcUhKTS4pfJCPtR?= =?us-ascii?Q?6Ai/I9B/H1dkhouu9DPyG0JV2TQPRHtytp4eC6MKaIbwcy6CzvyV6WShXGRv?= =?us-ascii?Q?V5I3xASeG7oS49IRC15EvVKoXvoIxpvqgqpDQ5nxND+P+faWDxhCIpwmJrIe?= =?us-ascii?Q?C29LRto6FQ8W8CgUBGsmbjnJKgmPbwVcXVREWFQ6PIDYzDHxHe10kU1Ik8Ap?= =?us-ascii?Q?HIel7WRKwXxYi7CXYHrinD+Qm8jyCbbS0dM2CCrQItTzTr/fsFkblWOMKlFN?= =?us-ascii?Q?egh+G/8qQvTgP1vSvB8HHYC9i9NByo7DkZnVPwNVQ4lHbxuDrYkefELbUM7Z?= =?us-ascii?Q?zmJFzoNq+M4laBNxLEtjyTnj/XfnGx4a0mlGsPe+U5HUTJxLZ0ZEJZKAdppa?= =?us-ascii?Q?ejrJ5vdCnpFqYZPuwZXRJAuepv8/aqxXPhWtjCitnDn896aEK1cVl+Q53Aiz?= =?us-ascii?Q?aPP5Frjj1tfHrUmgi7qmS6FjqkD70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c9GGFX49vZeX9apcbQ0lqvgNZexl73lvsv8wyZHjjd/SImhLJ/GluamK6zjqLvkqmYT+835dyVoH/zuh/ryM/0VltGkNHRCLc=; 24:a+qWC2IYdgmUowCKfxVMfPrVn2bmJoLE8slQJO8S5l4d27it3NQoqynXapNfCGgUG86o1Wt1XnafrjSFEj9D8ra+zcCbdZVDTlxGS69q+Bk=; 7:LT5Ji/acMC37sV0+UQX2cgcqz49NAD0MCZLX6g/5a+inmHpYYD6zUprh1ZBkKdvFHplEaE2IuK+TL3/biUHwfSscaJsIB3+htg7pViNVgcEF1a2uwOYILs4+yBfVTXsZv9dAtwmBbMXgtkYcNgWx86Ql7DP3lpVVFUpMNZGD3xPTXtREprOTYrRFI8LcLJEFYnJY6pZ8jzswaUJaJQxUnaaxybZU+GoUZOI3aN349+I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: impinj.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2017 00:12:30.2931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6de70f0f-7357-4529-a415-d8cbb7e93e5e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2806 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The IMX6 PCI-e host driver also supports the IMX7d. However, the Kconfig dependencies of the driver prevented it from being enabled unless the kernel was built with both IMX6 and IMX7 support. It works fine to build with only IMX7 support enabled. Cc: Andrey Smirnov Cc: Richard Zhu CC: Lucas Stach Signed-off-by: Trent Piepho Reviewed-by: Lucas Stach --- drivers/pci/dwc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index 22ec82fcdea2..85cf392921a9 100644 --- a/drivers/pci/dwc/Kconfig +++ b/drivers/pci/dwc/Kconfig @@ -71,9 +71,9 @@ config PCI_EXYNOS select PCIE_DW_HOST config PCI_IMX6 - bool "Freescale i.MX6 PCIe controller" + bool "Freescale i.MX6/7 PCIe controller" depends on PCI - depends on SOC_IMX6Q + depends on SOC_IMX6Q || SOC_IMX7D depends on PCI_MSI_IRQ_DOMAIN select PCIEPORTBUS select PCIE_DW_HOST