Received: by 10.192.165.156 with SMTP id m28csp1315975imm; Wed, 18 Apr 2018 07:49:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx49SJCUqaa2buKoVR5SuJAS/0Lsx5+YbOiPRQ6YYvaXcPmzx6pkkP90Yqg2KXr/HdxXAHeRf X-Received: by 2002:a17:902:7c02:: with SMTP id x2-v6mr2436335pll.186.1524062943663; Wed, 18 Apr 2018 07:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524062943; cv=none; d=google.com; s=arc-20160816; b=Rgpsouh3dunBCzsXIJyJXcwl8unKtDjf7z/ZmeM4eskX8rvk3OaowIZZo7UB2DjpoW 46m0Xx21SkF1Kf8DYmrlSWvJuQbAgIfjOeYWqo3q59FyXB+opIVt9PMevaWNs0ETDDqI c7VK5ln1qUiGFtEX3m3icxdaA4Acdofjmqt2ttN0t6HMGSbgzx4DNn4Tvz7zpMoJibzc 2NI99tByJu3LrqHSMTLCRNxEvwaHESjhRcPET8RhzxW9DJYNMwhdhvZgJkjoxLfrjkHI p4j0cvGIddKeop6SGxqCWNpn3ZmOnS8xnc/LMI9R1U67Cr1pHU+3c2BEcdGwRCdQhdRR w82Q== 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=sWCj5SolMl+T8O1Sh7wS0yoCRAua74cNutyl/7fPmcw=; b=0xyVtDkLeb3kBXveNzxvzT71O+demPC2tFyn+c/U9QqpejiZfrzobuPjfzOAtXbFo+ 1PwWuqA45AevFKN27Svfk5SqgiWU0kKb606R46aISlp3TSl6AFTYsPM0TUwjSn3dlmaD 7A4UpEqjM6twOXaDEDf6x98ajpxgdFuNOAH1vY6AV7d0ygDwLVfpy3gDPpS6oCkUA9pX dfvr39FbTkurgal7Zw16iWzrciDdWZeBao2B471kO3lS/9I7hB+6Ve6Dw0iRIdds6iwy LuQjZWz7HwmOIbKhhI9OwHp0JWZTf/WLPDQZXmeRxkkKyYW6Q/CA+BBRijErBlHoWteN M/aQ== 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 b9si1345797pfn.100.2018.04.18.07.48.49; Wed, 18 Apr 2018 07:49:03 -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 S1752948AbeDROqz (ORCPT + 99 others); Wed, 18 Apr 2018 10:46:55 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:38740 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbeDROqu (ORCPT ); Wed, 18 Apr 2018 10:46:50 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9426110C14B3; Wed, 18 Apr 2018 07:46:50 -0700 (PDT) Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 4B17636FA; Wed, 18 Apr 2018 07:46:50 -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 7487A3E57D; Wed, 18 Apr 2018 15:46:49 +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 v6 1/9] bindings: PCI: designware: Example update Date: Wed, 18 Apr 2018 15:46:36 +0100 Message-Id: <96c1e63ce9e869626996a918fcb2dbcf642519a7.1524062073.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 Reviewed-by: Rob Herring --- 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. Changes v5->v6: - 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