Received: by 10.213.65.68 with SMTP id h4csp311209imn; Fri, 6 Apr 2018 00:06:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4957HVMjnn/n4jwmH+dskrKRpazhXJIDWn3PoivPSVGhl/PQbPdwlaguhyAwrCBJ4341EcW X-Received: by 2002:a17:902:32a2:: with SMTP id z31-v6mr26827466plb.41.1522998371584; Fri, 06 Apr 2018 00:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522998371; cv=none; d=google.com; s=arc-20160816; b=Nrlu+ZJaogqBuDwyUvW8oDf5FL6KvHXUC1iJDre3MNktvbdn9dCewxefUQv4TSfld6 yldOUGYqqC2Bb7dSM2TEy8W2fLma6sf/idYaiDtskWb54GzlxlgvwOSK6AQ0TLk+mLJK PCjU3rW0l5JgjkbUMDZW028CMwVeBrOnvjsE2U1Ant1SAzSldD+MBSla6sZ3f0v1wIJC C6nsx0Fa7TywhM0Js/DYyx5u5miprAbx32IAzmRFR2gluMLARxqkJWckIQ9RmMrXMVx1 w3A2G8+xnWBiT1Wkwy1JpGkXYQQQzCuvncEy6JB9wIq7eEpP1aad+1x2m5xewtiZtS5r cNng== 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=nGd89TJ/JPstuc2oxWYtOjYrGjzWAsSPLIRe+JiwcM4=; b=EXls5/61uXKVgwD94YbiYn8KX6VCYKWyaTPYHwmJj1bw/HDc0cxjACdYZyC9VXnS/u 9PW8ZdQSemtyHsYjW6JVV1ehBMd4q5OCiPgLsDKaLzAOAuHOJqGtp1xstpQTNZewxBHg 7mPqpLtQqPE+jtVrQpwcVsQSc4zQIBwVv//WVvqiYZTtqoZ1S989NCLLgWJ/trGdOioI B2mhSTWdaRbSOZpmDoQkkgueeYd0G7fksgl9d61H5+/FRgZ6UMpBW5K8sfk46LufBwDg 2OLPTkR+2VNHOSN6QE6Hl0FFISeZH9srNnYh5BgGotamSIVwiXmMEpCVKCFdwdR+R/2+ sveQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pfi8UPyO; 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 i1-v6si7446836pld.748.2018.04.06.00.05.57; Fri, 06 Apr 2018 00:06:11 -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=pfi8UPyO; 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 S1751445AbeDFHEt (ORCPT + 99 others); Fri, 6 Apr 2018 03:04:49 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:51253 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbeDFHEr (ORCPT ); Fri, 6 Apr 2018 03:04:47 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3674e3f020935; Fri, 6 Apr 2018 02:04:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1522998281; bh=JW2tZff3/OzXRlK2t8xBYTDPRwXqoDlY0j3/EzJ120o=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=pfi8UPyONnMpEq7gPTstap/4bTriwRz58/kg21dgVMp3YUlPoyJZ4bNWOebQhEB14 ZTpHzvcYxUTySrCkQH986eYGh/xh8yc1KIxSpTzrLud1Dzudzsyu3BEx+9e3DqKBJG nJ96EUZqvdgH0Qb+i++iRBSNyvcruJbUIUclDJnc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3674e4j015636; Fri, 6 Apr 2018 02:04:40 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 6 Apr 2018 02:04:40 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 6 Apr 2018 02:04:40 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3674aUG003962; Fri, 6 Apr 2018 02:04:37 -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> <331e32c4-a39b-b5a6-6fbd-6eef7ca4b27c@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: Fri, 6 Apr 2018 12:34:36 +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: <331e32c4-a39b-b5a6-6fbd-6eef7ca4b27c@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 06:50 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 03/04/2018 11:55, Kishon Vijay Abraham I wrote: >> 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. > > As replied on patch 1, let's leave out any reference of iATU unroll to avoid > any confusion. Agree? Mentioning iATU is fine as long as you change the size field in the "reg" property. Thanks Kishon