Received: by 10.192.165.156 with SMTP id m28csp721558imm; Mon, 16 Apr 2018 07:42:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx48xzUonmvyjcQzFHynHup8Gk05IkVRsmWUod7GS+/U49O0P7mRGCwqQUff4DKa8nHNLc0W4 X-Received: by 2002:a17:902:d88a:: with SMTP id b10-v6mr15888877plz.172.1523889728644; Mon, 16 Apr 2018 07:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523889728; cv=none; d=google.com; s=arc-20160816; b=D8phIIj5I03+iqR7efiM2/j/aErh8/ev0rLx2VrpZyy1lwFPZ9zCaOdY7mApb4vp4y ovs7APNkmFpsWEvxztp0WpxBp7dxgoc8NdSufw/K9wC4yuIrqoJVb//AYNTbMCbE/dXD oGz6E+bB93RLAap7NRWp1cMKoXTGuEG2EaS+aUw1Sik6XNkgbJor2jgp5fdbCsXPX0Cv PskuFFZf6V2Mb+HvNdIQTC12+E0qNRv68hTBwGY0AkGr9E6V6U20i/aX3lcnmmWgg/mu Qgv8Y4CK3P+938+Yn5hfgrIx1CmwRxVE8dyqJbHcoCvEKEmBxuT3RxYZZO0CIud+ZURY zHuw== 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=/yapdQd93K+uxTnxSWkvZL7ehTWZIAoQLxj9ZOd/hrw=; b=VP2V+o+n9ua9kLdJwXlav+sdEJGJISKzAlQVZ787WINLr1UF/dU6ncX2Pt3yC1AF5K INTn1ueK5pPx8SMIzHf7suzie03/FFJSA+oBopG5zf3yq4QhDK7ULXj661EHqqgLFExe Zruy0xyyofSByPubZxh49OD5VAnRL4r/g9o+V6U9M5JeIX9laC00qUIPjUz3gK3ZU7v5 Gen706LAgC6n/jyvYzLvoQCi8+Kqpw4qal+2qryPEqO69TF6yamyNgV1YM+neVDD4n54 +T9K+3naVoUKng/FLbZ71B8JY/OzSUwqCgOtj98+aTccRqZbTrhWrtVVv7u76FpUe75n 07BQ== 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 p5si9310127pgu.158.2018.04.16.07.41.54; Mon, 16 Apr 2018 07:42:08 -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 S1752952AbeDPOkP (ORCPT + 99 others); Mon, 16 Apr 2018 10:40:15 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:59198 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751135AbeDPOiJ (ORCPT ); Mon, 16 Apr 2018 10:38:09 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 8303810C11FC; Mon, 16 Apr 2018 07:38:08 -0700 (PDT) Received: from pt02.synopsys.com (pt02.internal.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 3A1E83DC3; Mon, 16 Apr 2018 07:38:08 -0700 (PDT) Received: from UbuntuMate-64Bits.internal.synopsys.com (gustavo-e7480.internal.synopsys.com [10.107.19.134]) by pt02.synopsys.com (Postfix) with ESMTP id 654AD8B67; Mon, 16 Apr 2018 15:38:07 +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 v4 01/10] bindings: PCI: designware: Example update Date: Mon, 16 Apr 2018 15:37:49 +0100 Message-Id: <1936f007686d3cbb0ed3072d4cd81abc961bf358.1523881182.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. 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