Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4642582imm; Mon, 14 May 2018 10:25:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo3lmYG8uqW1cLEFKpqRETV51lk/AfYHO1hjjg6vlF26KA+XfpYmmZ1Q8Xc9D6AuZ3Oamcv X-Received: by 2002:a65:4443:: with SMTP id e3-v6mr9364975pgq.348.1526318712906; Mon, 14 May 2018 10:25:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526318712; cv=none; d=google.com; s=arc-20160816; b=e8SV8UJG4kPCvENLSVdV7wxMRc+QTgmT0pRqKCHMFH6P3NJDBxKrObdPbaxXmG6nJF 4+yxdvyLxqmqmyYewRW77oObnESxN5C7pADD1MMCZrObeKn31EjqqTMcwAA1KVXyyock lmE3zZrE3V+NRmETNW58wu8wEqKxfQgrjLaq9Z6WeOGBkNeajDGOlePFFmxOws1eYzMv 3Ljzpw9m4z7v6vVx3SGaVpFl44mZJFn/+x8kEzCbwrS2DYRnJOWZ0WFNUx4RDsrYfRH2 8XfraCexuCT0uhEignPDr8+fsJ90UiVQ8m5lleP/TiluWrBb0d91tBF3dGcSrpPihMl/ k+RA== 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=Ei6M0ZFQc+QuUluKnsqkFVxDD+yDaHZ83D7lB7UilBc=; b=PZpXDtYv47PM+xHCi0CXLJ2giJ4I24XchM/rj9rfIfp+yFbS1kCu0IGhMAly28RFmM XGpAyGMCzKiwLnejOuwcpblZtg6/qPl2HW5ZVmp1CMI3NBqirPyiWQ4lBVkluhpYZejw 3pUNlf21VwnRm/XP5iUYByYLyYCXzemHk8Fg9/kbvjtBooPbF4Ml3mMexyF6Q43nj7E6 oRjlWvwb23X6xfCSiZWlo9WHdgP0yEwS32bebh8xTE0atLlTJrXYp8P4HeuD7FgpY86y 79ZA5Aoq8EgEgQclz/6bxjZkm9ovOxL/vCZus/KG0zSkyVfeyPUkACv6xpaeLAuD/acE /bgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=EbTKzGwS; 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 o185-v6si1197880pga.274.2018.05.14.10.24.57; Mon, 14 May 2018 10:25:12 -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=EbTKzGwS; 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 S932792AbeENQRl (ORCPT + 99 others); Mon, 14 May 2018 12:17:41 -0400 Received: from smtprelay6.synopsys.com ([198.182.37.59]:38183 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932278AbeENQRj (ORCPT ); Mon, 14 May 2018 12:17:39 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 34E591E04F9; Mon, 14 May 2018 18:17:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1526314658; bh=cyCBY5b30wMVBE6T1kJ/ajzLYirslUFlyJKUce0M4SI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=EbTKzGwS3OB/ehXz4CNesY3gKssO15WHt8QQrULCgmDJvi9koO8EIW/cxW10dGxHN +Msjx/qfLI8TMQW7D44pG2ULKm0Hl2v9v1YxBDdmhYeW10+RMojtAGsHjE9tz/bGq9 1RSPkQPcAEZeyUM3hhxFEpxp4N0yMaoR+YGO8gU+Q4TF7uSBHpy38pmM2zoGzojqSo MuReFxQx/bsx92Xf1gtWI8cw4K17mNoQBKFIc0zu2v+NPx0OxpuII9Ko5iuz0b7/cV 3z9dKd2tQ65YvLvs1sTbk68Aa55Fj3LwpgGSkYfRR+gNPnbXsV9R+4n42hJeOH9bpV tylFCxLTPQpLQ== Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 5BC4F5B99; Mon, 14 May 2018 09:17:37 -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 B256B3D37B; Mon, 14 May 2018 17:17:36 +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 Subject: [PATCH 1/4] bindings: PCI: designware: Example update Date: Mon, 14 May 2018 17:17:25 +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 --- 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