Received: by 10.192.165.156 with SMTP id m28csp136497imm; Tue, 17 Apr 2018 07:44:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ISyeLZMN/mHUp+mQ53IV8AR5sLSuxLQYOhywuEvfJhl9XtwmVunNTjoosiJw2T94jie8M X-Received: by 10.99.2.202 with SMTP id 193mr2042124pgc.117.1523976297188; Tue, 17 Apr 2018 07:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523976297; cv=none; d=google.com; s=arc-20160816; b=EPq+zWudsRPGAmgubRLcT2CqZOHOr5feGY+shq4ARwrmOlD//v76i62lWkxODtayq3 s+2tXJEjWuM1WqADKC6i0Ox9Ng3d3P4Y0NiqP/lk2lPA5KeYZtbVhL6q3PdFBF49ADXt Rm/8aQkiORT6JKZG/zlDTmUUd8nYLHyQ6fAkSWl7dF1SfMtXN1RMqmYLx8Us35TzACDY Oj1lNiM+g2IbUoYe7rkPUNnaQfPPNqhYEbsCC1FNnTbQhWxd1z/Ui0Nzo9FNwF8JH91g N+6CWH3+i48T/0RwD3ru9KfXsry6VGQRVYX6fEkQ6xbODM1tB3lyvt7dyTgut5zQ6msI CecA== 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=NzO0IpPNH2ak92E0aCE/zhMF6FVvrMm1cMMF75HP87I=; b=ywP+6xhJMrJt2izvw7SooNnSFj45jlPgxWxRuODUkZ64dRVFszZ0pjRM6pHbzH+a34 AX3GJ1inil4C4OTZePPDlZ0sateD7J4oyLG4wjw1ySDVv4FeQDV3xYl1DlM+Ir6imCd+ WBhCv46UnUPiTxjw4ufqaBgJtUfyh8x4Vc0JZw+tZp4Gd/ZH/XPcVppZ7veY5LyD7VPo rr3px/jQqMWvsbaYImzDL+uhsQbQ4Kxzq3lgt3Av1Xh9pFsNZBNQ/CAFz6ytwis7DmDK 4CBsW87RHSU2XrHYoI6fqW1c0xcECWDjfdnfqFfUCWnKhtAHN7i1E3Ul4gCG7rY1g1ur TwuA== 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 t12-v6si14783265plq.547.2018.04.17.07.44.43; Tue, 17 Apr 2018 07:44:57 -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 S1753706AbeDQOm6 (ORCPT + 99 others); Tue, 17 Apr 2018 10:42:58 -0400 Received: from smtprelay.synopsys.com ([198.182.47.9]:35795 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753612AbeDQOeg (ORCPT ); Tue, 17 Apr 2018 10:34:36 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 91C1C24E169C; Tue, 17 Apr 2018 07:34:35 -0700 (PDT) Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 252EB3D54; Tue, 17 Apr 2018 07:34:35 -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 7BFA13E766; Tue, 17 Apr 2018 15:34:34 +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 v5 01/10] bindings: PCI: designware: Example update Date: Tue, 17 Apr 2018 15:34:19 +0100 Message-Id: <7f4c4bad9aa7d7a1d5a6b78f4bf3a4e7c542c7f9.1523973931.git.gustavo.pimentel@synopsys.com> 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. Changes v2->v3: - Nothing changed, just to follow the patch set version. Changes v3->v4: - Reverted "snps,dw-pcie-rc" compatible string requested by Rob Herring. Changes v4->v5: - Nothing changed, just to follow the patch set version. Documentation/devicetree/bindings/pci/designware-pcie.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index 1da7ade..7f9804d 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" 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 { + pcie: pcie@dfc00000 { compatible = "snps,dw-pcie"; - reg = <0xdffff000 0x1000>, /* Controller registers */ - <0xd0000000 0x2000>; /* PCI config space */ - reg-names = "ctrlreg", "config"; + 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