Received: by 10.213.65.68 with SMTP id h4csp2986706imn; Mon, 9 Apr 2018 12:15:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+1gUAbZlr5diLu6Bi/RD9+AeSx7t/zbMM2/AGMRvk/mAYHU0Cyok+hv0HRfpcgDi+xRlmc X-Received: by 10.98.133.139 with SMTP id m11mr174522pfk.49.1523301354406; Mon, 09 Apr 2018 12:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523301354; cv=none; d=google.com; s=arc-20160816; b=S9wID3bV/FmDMFGz0+tUtLHKCgeM+vK6wH+mXdq+JcZjgIQdZygdilWcGxON4sZha6 pHWpZndePe/4h+TlBqLMCXfUxOHhU23hlJQWILjJXWikI7IqeeMhvGaw3FCZvukUFJNm eHDsnqgAdJGwYMi6/ke2huICFhkemcXDfAcGw1xuaPcCXB1DNZ4xR0w/GYjhjcEUfrMv z5mRGHC2MDXSXwt7snwTwkTq+gAxHTqJcaFtjAdk29kdcZKasjFC09L9uNrcskfuN/t4 A1C8CLBuMLYKL66aWmKm92RCRBaAxXiQyRsYPwcFeIwBj7S4KcijG4v/hOyhHzipudrs 3UtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Lnfz0u530/8i7CN9HbrQsfGp/XLNC9d93AU2qOgxgGg=; b=EH8GhNpbqF1a2E91ejb7sl5Xo+ZaXNioume+6Nk+MiRzY4EYSiaDt0ucjMBrR5Kk9G 5VHrgnE+V+bAqHz7To4p96oVi24e74Y7ZjGabmuD3zii5rX8olqmekL3g7/sDY0FgbPY GzNbI4EfVNrbglPvOWpcWWNTFZF/wC9KTrQQfkgI4eeZj3yvSZmUiU9NkqF6Lxzy0dNH hxrHEa16jUcZLKhLEgrjAZLwxwCrk2YfQiujGU/eY7/OcG1js/GsQV6CeiCCNB2YLgZW ePDYse9Aft8Qy4M8DxEaxzSfHsOcjKKzEJRuEK2WdNM+k2FQstkyYhbpWQEosr7KtfZH Bmng== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si867724plo.228.2018.04.09.12.15.16; Mon, 09 Apr 2018 12:15:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbeDITMh (ORCPT + 99 others); Mon, 9 Apr 2018 15:12:37 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:39864 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbeDITMf (ORCPT ); Mon, 9 Apr 2018 15:12:35 -0400 Received: by mail-oi0-f65.google.com with SMTP id q71-v6so8747066oic.6; Mon, 09 Apr 2018 12:12:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Lnfz0u530/8i7CN9HbrQsfGp/XLNC9d93AU2qOgxgGg=; b=bHztEllkyk7baTDGZdB9meLhcBDEsI+x5pfkKtxUrJXo6lqq8IZ1yCv5Uc9qyyoKQm lum5jH0ilgqipGb6H1B3d9EXz96HaPPvj909X05E+TJYw85hglzO/EPxpNpED2x+KzF8 WNY5QU9Tbe0dnQgiATmJz+jffdCSHMBXlzdhT7MSRdeGizvDPae4QPgJ1j44bgyZ8YKg DCcj92xHq8Gtx3vLK8d3KK3OO0lEbLI/YIe8aW8PhedcMTgzahOAvcPh8l8zLZKRUwbU H6SDG6EvbCVkzsp3hgU6/oh1u9HTqoDPm9wISobpmHjdV1T4xou5crpVnKEe3eQJKxZs WYmQ== X-Gm-Message-State: ALQs6tAinCdcv7QzekQmD6KpwPNDtxwUbMGmsxC+yM+NdkG6oMq11mDc Y5NlajCgAUIDTlZLfxw4PA== X-Received: by 2002:aca:b2c3:: with SMTP id b186-v6mr129547oif.337.1523301154584; Mon, 09 Apr 2018 12:12:34 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id 20-v6sm604055oti.22.2018.04.09.12.12.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Apr 2018 12:12:33 -0700 (PDT) Date: Mon, 9 Apr 2018 14:12:33 -0500 From: Rob Herring To: Gustavo Pimentel Cc: bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, mark.rutland@arm.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver Message-ID: <20180409191233.l2s5hnrq7gejrmq6@rob-hp-laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 28, 2018 at 12:38:33PM +0100, Gustavo Pimentel wrote: > Signed-off-by: Gustavo Pimentel > --- > Documentation/devicetree/bindings/pci/designware-pcie.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt > index 6300762..4bb2e08 100644 > --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt > +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt > @@ -3,6 +3,7 @@ > Required properties: > - compatible: > "snps,dw-pcie" for RC mode; > + "snps,dw-pcie-ep" for EP 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" > @@ -56,3 +57,15 @@ Example configuration: > #interrupt-cells = <1>; > num-lanes = <1>; > }; > +or > + pcie_ep: pcie_ep@dfc00000 { pcie-ep@... Or what others have used. We should define a standard name in the DT spec for this. > + compatible = "snps,dw-pcie-ep"; > + reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ > + <0xdfc01000 0x0001000>, /* IP registers 2 */ > + <0xd0000000 0x2000000>; /* Configuration space */ > + reg-names = "dbi", "dbi2", "addr_space"; > + device_type = "pci"; > + num-ib-windows = <6>; > + num-ob-windows = <2>; > + num-lanes = <1>; > + }; > -- > 2.7.4 > >