Received: by 10.213.65.68 with SMTP id h4csp2389956imn; Mon, 9 Apr 2018 02:45:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+WFBVOl/gGEiyx3eLRocFOrPbrFR8vydTPH0dC3ZGyMQXiId9qBapWvKeiAqq2BGGOtOky X-Received: by 10.98.80.145 with SMTP id g17mr28618957pfj.71.1523267119320; Mon, 09 Apr 2018 02:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523267119; cv=none; d=google.com; s=arc-20160816; b=wqM9Ns32RUvIcPMlJjW/jTX0ti+7tPkOnkguzTO6IpLYvxERxfwrhDgYvU6Y3yFsAK jn18s4g9jp79TDuvEgTrP2WyRYNGKcOYrjPdMcnSqm36HBpIt3iBErmvSBJVjl5YUFoX 1UE4kemaVpYFha1K6JKeAZ3AHX3fP1AAijJCiE/ZTxeCP0krjdh4hD9p6fRDsiSm0rSc BLvGzyT8qGhBldoQncHfKUALnzbOY0j+Bi1XBgpkOxrhX9Re6QEE3RwarzFEa030XsjJ K6UA5Bjfdt3je3v7o7/NODKaW1I5q1AM4XWf3GKnYLHk7mIsgOHcuv11c40zfpa9keyG F9rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=9eAdXWhZYLlVy3s4sh0zMZhj6PomsgMnVR+nJLr37gA=; b=B2H2KJpCURaprJ2tGYQUP6em9jIalYotrJPO85vkQJRKH9M5zj8oyFlEmfPgQnx/p5 F+F98nQIFHpe3mb/eriQUqdvd9MHQt019m5TNTZ+GAHWiA6sGtyP0wVNbk/jZW+DplU3 bjbAlhbd/HEOA7DWT8D7QKjClddbKGWNwqK8fGwAKmLYrik00dz7wuO28Fj+l6N6EHWi Il+Vn45yMuj7BvxOC86s518aqelB8RFTTZbfgbuUpT+rlXkTcqJaSUGCrpImC4B5vu10 lpaDXxeuB/DJM1EDJiICBlQWwUxQgbh7QoAEgak60MO8ep2NQG/iBegCDZedc8z8+lJy 8GYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si5102003pgd.102.2018.04.09.02.44.42; Mon, 09 Apr 2018 02:45:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752623AbeDIJla (ORCPT + 99 others); Mon, 9 Apr 2018 05:41:30 -0400 Received: from smtprelay.synopsys.com ([198.182.47.9]:56221 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752391AbeDIJlY (ORCPT ); Mon, 9 Apr 2018 05:41:24 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 3DC6324E1211; Mon, 9 Apr 2018 02:41:24 -0700 (PDT) Received: from pt02.synopsys.com (pt02.internal.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id E188B35D4; Mon, 9 Apr 2018 02:41:23 -0700 (PDT) Received: from UbuntuMate-64Bits.internal.synopsys.com (gustavo-e7480.internal.synopsys.com [10.107.25.102]) by pt02.synopsys.com (Postfix) with ESMTP id 4543E3E9CF; Mon, 9 Apr 2018 10:41:23 +0100 (WEST) From: Gustavo Pimentel To: bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, gustavo.pimentel@synopsys.com Subject: [PATCH v2 1/9] bindings: PCI: designware: Example update Date: Mon, 9 Apr 2018 10:41:10 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replaces "ctrlreg" reg-name by "dbi" to be coherent with similar drivers, however it still be compatible with any previous DT that uses the old reg-name. Replaces the PCIe base address example by a real PCIe base address in use. Signed-off-by: Gustavo Pimentel --- Changes v1->v2: - Removed any iATU reference or changes to avoid confusion. - Add "snps,dw-pcie" compatible string following Kishon's suggestion. Documentation/devicetree/bindings/pci/designware-pcie.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index 1da7ade..f02cd20 100644 --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt @@ -1,7 +1,8 @@ * Synopsys DesignWare PCIe interface Required properties: -- compatible: should contain "snps,dw-pcie" to identify the core. +- compatible: + "snps,dw-pcie-rc", "snps,dw-pcie" for RC mode; - reg: Should contain the configuration address space. - reg-names: Must be "config" for the PCIe configuration space. (The old way of getting the configuration address space from "ranges" @@ -41,11 +42,11 @@ EP mode: Example configuration: - pcie: pcie@dffff000 { - compatible = "snps,dw-pcie"; - reg = <0xdffff000 0x1000>, /* Controller registers */ - <0xd0000000 0x2000>; /* PCI config space */ - reg-names = "ctrlreg", "config"; + pcie: pcie@dfc00000 { + compatible = "snps,dw-pcie-rc", "snps,dw-pcie"; + reg = <0xdfc00000 0x0001000>, /* IP registers */ + <0xd0000000 0x0002000>; /* Configuration space */ + reg-names = "dbi", "config"; #address-cells = <3>; #size-cells = <2>; device_type = "pci"; @@ -54,5 +55,4 @@ Example configuration: interrupts = <25>, <24>; #interrupt-cells = <1>; num-lanes = <1>; - num-viewport = <3>; }; -- 2.7.4