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: 8892591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0280FBF29F for ; Wed, 20 Apr 2016 15:47:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C4B420145 for ; Wed, 20 Apr 2016 15:47:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49A9F200FF for ; Wed, 20 Apr 2016 15:47:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1asuKp-0003Ig-NO; Wed, 20 Apr 2016 15:46:35 +0000 Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asuKW-0002uP-0C for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2016 15:46:16 +0000 Received: by mail-ig0-x22f.google.com with SMTP id g8so52905726igr.0 for ; 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=BuN6fs0nwOmlgwf3DDbwBRDLmmYEdJsyPzrvwLGzOqDeqCboMkM0bj+yFmGMO3jMcd Bq5LVponB6oB9x+8qHzKiI+64U4Kdh+9cdTPUOpAm48ZNCzWR0QBorTQbH3wiPaHlfFO 5pP50nbuB+gAUqJKY70etsBer8ja4k4SD/FgYv3e+4hV2BSd5wwJLknC+Go9hkPmvD2E +BkOsKigeyWI3XeHeAm02JjswLEAUu92v1cXfI68CvZorzXAtl7mJxYUdlPmFaHsxdtM oV1KYowNBXVGWtqzPllRI7qeBmd116+WgJgPr1Rl/5bMEfbdJXUOuHiQa999WeZOpO4Q VQIA== X-Gm-Message-State: AOPr4FUrkkG02FwistzY0dUCgF8+UuD0CSdo1gaypGnmCrvZNsB79aaNS4Yji0gs/9nC2w== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160420_084616_088358_B8789EDB X-CRM114-Status: GOOD ( 10.98 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Andrey Smirnov , Richard Zhu , linux-kernel@vger.kernel.org, gary.bisson@boundarydevices.com, Bjorn Helgaas , Lucas Stach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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"; + }; }; };