From patchwork Wed Apr 20 15:45:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 8892541 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1E40B9F441 for ; Wed, 20 Apr 2016 15:46:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DA9520211 for ; Wed, 20 Apr 2016 15:46:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84E45201F2 for ; Wed, 20 Apr 2016 15:46:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752933AbcDTPp5 (ORCPT ); Wed, 20 Apr 2016 11:45:57 -0400 Received: from mail-ig0-f175.google.com ([209.85.213.175]:37265 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752700AbcDTPp4 (ORCPT ); Wed, 20 Apr 2016 11:45:56 -0400 Received: by mail-ig0-f175.google.com with SMTP id g8so52905727igr.0; Wed, 20 Apr 2016 08:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DgCohn5lWpW1foSg03E0wmzea5+7fH/QbORLXpyS3kI=; b=t1OKu8ArfJHP13kpEAch1eKsDYb5AxIaafnVlZjSGuPHigoxVCxjmHzdd1Pum6le+i NOD6LEbr2KpIk+HgL488Qf/faGN+CU8W/hq2FUPAdc7kKvpixkuoP1JC2G+59EmaMrh+ B3FK6AGGIDfkfnALw8bRRDVDObfVzzpjrPVNnQRaime6+4d1EzGeqV9RxgdHoErGYlOn rRxj473d9oTFHCIVA0X7TE2GOaTmSMa7PTXm3fpRcvdmYJARuqcA3JIxdka53wcEzykJ bNbCFAMuPn6GrRomnu0D2qWhgJLImoctsOG6Y27K5gEY7fwCle+F0OWNld59wcf1SWSJ PJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DgCohn5lWpW1foSg03E0wmzea5+7fH/QbORLXpyS3kI=; b=XDsjW4BkZQ+Dqxg5hk1svYkDmPymvZDHSQrm7n5LEYlfOsE+hYorED0084L6HqjcTn pMxv/7dzLH3xahDOS60MjFNV+yiqUJjFpX57E6q/2MwVkyTHl2FUIH1SAcHBQNZYmivA jj1Pro7vw/adXj/4GHlbrTnNjeMY+vOt2HeH6liSbCiL4J/wyPWJYS6khkQugvM3rOF6 TZE/lZafzBkP2M+xdL/osntOoG1WIRhB9CDqx3zCX3sPmakmld8YcIcYhFuCEaHJ7+XC kIqUiBlIaaqHoxGY0fXOmenPWrcxKoxuPPYWO1K9yPqQEPjGja2oEUE4T7oFY2wlYRcg wmUQ== X-Gm-Message-State: AOPr4FWeDY9UZOrXZH8sya1MsBsJBqh6d0m3ISU2jnnc5H/Vy0bEwVpVoSvcNisva+xXRg== X-Received: by 10.50.90.193 with SMTP id by1mr4684704igb.53.1461167153566; Wed, 20 Apr 2016 08:45:53 -0700 (PDT) Received: from squirtle.localdomain.localdomain (184-217-42-145.pools.spcsdns.net. [184.217.42.145]) by smtp.gmail.com with ESMTPSA id m37sm3000684ioi.3.2016.04.20.08.45.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 08:45:53 -0700 (PDT) From: Andrey Smirnov To: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Andrey Smirnov , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Helgaas , Lucas Stach , Richard Zhu , gary.bisson@boundarydevices.com Subject: [PATCH v3 3/3] ARM: dts: imx6qp: Specify imx6qp version of PCIe core Date: Wed, 20 Apr 2016 08:45:31 -0700 Message-Id: <1461167131-26025-3-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1461167131-26025-1-git-send-email-andrew.smirnov@gmail.com> References: <1461167131-26025-1-git-send-email-andrew.smirnov@gmail.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 I.MX6Quad Plus has a slightly different version of PCIe core than reqular i.MX6Quad. Signed-off-by: Andrey Smirnov Reviewed-by: Fabio Estevam Tested-by: Gary Bisson --- Changes since v2: - Removed default clause in all introduced switch statements - Switched to using of_device_get_match_data instead of explicit of_device_is_compatible checks - Added a mention of the new DT compatibility string in the documentation Changes since v1: - Patchset is rebased against https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/log/?h=pci/host-imx6 - DTS files changes moved into a separate patch arch/arm/boot/dts/imx6qp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi index 1ada714..886dbf2 100644 --- a/arch/arm/boot/dts/imx6qp.dtsi +++ b/arch/arm/boot/dts/imx6qp.dtsi @@ -82,5 +82,8 @@ "ldb_di0", "ldb_di1", "prg"; }; + pcie: pcie@0x01000000 { + compatible = "fsl,imx6qp-pcie", "snps,dw-pcie"; + }; }; };