Received: by 10.192.165.148 with SMTP id m20csp626281imm; Fri, 27 Apr 2018 05:01:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+5TYP1lwmXdAB510nnwwM7u8biy3/fe5wmumuhSKBz6rrrb3QX2Bwer44+r/TUVRHjML8 X-Received: by 2002:a17:902:b60a:: with SMTP id b10-v6mr2032473pls.221.1524830517460; Fri, 27 Apr 2018 05:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524830517; cv=none; d=google.com; s=arc-20160816; b=v8wRV/o6aBZr2EvOhz57ctTRPiWEmGmIqFoHb+fbiG04bZZXF3GDU9IDxz5Mh7+Ney l+cY0Eh33M2cWjcyeFkO769eUcRrRCuobdqKnQTq9yWhcUNr9V94KDNSyT/+rPZP9f2P TNrKEE8SdEEUT797qMuo+Q6QDjdYDxor3YaGHJ48vwBHXsIsw0pGX/sR1oKnC6HPYGhy ymTdbPqD7YMqwIkxqRxGozXxdQsUSITGdPpUjJOrL90VIcTEc9/jVbhHsH5aIDkQYDOm Kt/i8lfGbN1qs/7qs4SIPtsadykcHlCv4WZLXoKRrdka+DqqBEUpQQPH6OwTJ71sVdew bxhQ== 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:dkim-signature :arc-authentication-results; bh=IcOX0xu9llSTFJbhB8P5SoifTuMxjFksD/pncLiDjOQ=; b=lbrvyU15kmkdXn/6y+VVFK7AoMWjsZjHCYrBMlCeCQMDX890LS9JAYNztdEwCcYvS1 yUk9MiwkuG0RGd0tj6J5A5yQV+nTTgqo/9MdxByoPvmE6WK1pUHlicFPOoMuYL/mLEBR Glf1Fl0wniFT5AMkQdL1V+5q2Qb4vlUg0vtJpgoLiv/uGbapmDV3Ual7+3+KB6XKuI9x ZJcHwSdQqWtGot450sSjKAX+nwoEOI310/qZSMomNHcsIL9OHDbjfNuM/lk7pZRK/cL8 yDyzrZcWsXlrdnGcEJb6UIl21rziWIVZ0YTcyIGBfO04dJBOLqVBNOQRGizNRv5G1iw6 650A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=YT+E+byc; 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=pass (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 194-v6si1147135pgf.364.2018.04.27.05.01.42; Fri, 27 Apr 2018 05:01: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; dkim=pass header.i=@synopsys.com header.s=mail header.b=YT+E+byc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757994AbeD0MAR (ORCPT + 99 others); Fri, 27 Apr 2018 08:00:17 -0400 Received: from smtprelay6.synopsys.com ([198.182.37.59]:36053 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbeD0MAM (ORCPT ); Fri, 27 Apr 2018 08:00:12 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 13DAB1E05F3; Fri, 27 Apr 2018 14:00:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1524830411; bh=n5vi3Yqyi4ZIuhv+65wZxoePLycPzPzSC8q8A/0ToVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=YT+E+bycwGUGWfv4vLtUsq9v19cRv1a4+de0j4UuNAGIV9Mi9myc6MmcdMPBKfi3B 4ha37GxMMzwx9B4qnP/AEBkXLv9HJvRoalFKZR8TCZRi8jKyIbtqJMF8n/1sSaUTl8 VkdDL1PD0s1edWSgzu+Uicus4NwFwxaTxoqbC6Fz0VVaJZVcNxs8KrP+QDEXcNDgoY NmzCGu8mbd86KieTIlYO8z+LahhFU1K9VRP1TyoiN7B62fNHjxFRayGm3M18F4WrPd wX6nasZE84PgnmtY5I3w1Uy7Nx+9geRbB1vQ/d4KknFybQx4DrdbXDWNr7hXiifc5D wevU2dd80o7Aw== Received: from pt02.synopsys.com (pt02.internal.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 31FD53CED; Fri, 27 Apr 2018 05:00:10 -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 7F5993E55F; Fri, 27 Apr 2018 13:00:08 +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 v8 1/9] bindings: PCI: designware: Example update Date: Fri, 27 Apr 2018 12:59:56 +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 Replace "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. Replace 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. Changes v6->v7: - Nothing changed, just to follow the patch set version. Changes v7->v8: - Patch description rework for an imperative verbal mode. 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