Received: by 10.213.65.68 with SMTP id h4csp3375977imn; Tue, 3 Apr 2018 03:58:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx49fT4A3e+ZDkUZxSeYer8xkXE7rmNu/wzq7676MTJuP9+zgBhhUxp4Hz3xTKcvpyjXGzM/h X-Received: by 2002:a17:902:6b03:: with SMTP id o3-v6mr8010632plk.183.1522753116692; Tue, 03 Apr 2018 03:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522753116; cv=none; d=google.com; s=arc-20160816; b=VSoYhBAonVckz2EiD3wdTxtUI8mOw6FOqnS/S6MK3yTREmWyrOor92T1UP1ab4M/SP 0ceGOarOusMBO53oAyFywfHfqKKGEpgjA6guTAlou55wSO/SLmuId9bC7npHdRGF87Vd KtbY2dmNB/K9foGUMHGFJ2jiL+hnweHw4QlEhGUQnPZuTuN5r4HqVK7eUwQ5ie7d2aen suhNV8pObenwruC+wBt/QcYNs5215q93X9tzomqntG9V59Na1pLbMo9wUUS4NvqWI1ij c9fTM+j2BqTll1kGjBd5aH7uvMwqAVxVrMp0kSUSmDzP74WKi1SS/7jrhpC8m6wr3Qai Et2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=ccVUeG/2xjjYeLWHZtARE9hFz4wr69uKvN8A/vH0CKk=; b=z1QIqik3tEyb7xgGnh3VVXkDTWBxaIDxUX4G9NUdvnNXKgQ8S8R0806al1MwvxO1nu aHP17U2N6aDw1HrKwTUeoF0dP04xfhsa9TcuUre59Z1+Vccy/jBvAesBmyPLw5ltEHDK liuk/RHNvEWxHrfe3tJNkPtTo4V48uAbu8Ph4yQxJP/Pv83esq9ehPi0l1T6NmCMnCg3 ImPGWdpBlfhZ4ttf7bbbuxD6YK05TpYzq3cVdWuxGtVOKVVY8kpWawSNeSzQJbkdqbrg qOhCh45Z1NLa95hfVA99A9jogNGd5QnvKNBJvmWVyappiMLpfwCjiHg/X2wFbEpcELkB UnLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=L01JJ3Bl; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6-v6si260533plo.739.2018.04.03.03.58.22; Tue, 03 Apr 2018 03:58:36 -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=@ti.com header.s=ti-com-17Q1 header.b=L01JJ3Bl; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755267AbeDCKzn (ORCPT + 99 others); Tue, 3 Apr 2018 06:55:43 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:11441 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752397AbeDCKzl (ORCPT ); Tue, 3 Apr 2018 06:55:41 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w33AtZWq008501; Tue, 3 Apr 2018 05:55:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1522752935; bh=9RdQsykvlPjDviIunM1uqRYbiv5h2dPHAvSjPUW4zpk=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=L01JJ3Bl//vuMF9Gj35pRAjXEAqslRSkLeRQY7VwMg9dFNAEhtMid082OkCz3gzFg ER1R6NfFdMpBN4Lvy+YhYySa9odcaMg8g3XATCkIOUHc38fswa/iTs8hB0/kbcd1C8 1ApYpXe9tAbusdeSv/KIpbhTNNDGrtiOqRAg4hQ8= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w33AtZRK017666; Tue, 3 Apr 2018 05:55:35 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 3 Apr 2018 05:55:35 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 3 Apr 2018 05:55:35 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w33AtVhB017780; Tue, 3 Apr 2018 05:55:32 -0500 Subject: Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver To: Gustavo Pimentel , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , "Joao.Pinto@synopsys.com" , "jingoohan1@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" References: <405911c8-fffc-5bd7-76c5-f7aabde3b7bc@ti.com> <87ba8936-e870-f52b-2ff1-0aea90d0a25c@synopsys.com> CC: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" From: Kishon Vijay Abraham I Message-ID: Date: Tue, 3 Apr 2018 16:25:31 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87ba8936-e870-f52b-2ff1-0aea90d0a25c@synopsys.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tuesday 03 April 2018 04:13 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: >> >> >> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >>> Signed-off-by: Gustavo Pimentel >> >> Please add a commit message. > > Ok. I'll add. Thanks for noticing it. > >>> --- >>> 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 { >>> + compatible = "snps,dw-pcie-ep"; >>> + reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ >>> + <0xdfc01000 0x0001000>, /* IP registers 2 */ >> >> Doesn't this have iATU unroll space? > > I don't think EP has it, but I'm no expert on this matter. Can you provide me > some example of having iATU unroll space mapping would be useful in EP scope? I'm not sure. I thought if the dwc3 core version is 4.80, then it'll have a separate ATU space irrespective of RC mode or EP mode. Thanks Kishon