Received: by 10.213.65.68 with SMTP id h4csp641743imn; Wed, 4 Apr 2018 04:59:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gPvNH0hfXuKps30dyfWpBu9++wvTFcBxoCfn9R6qJDV+l8Wgo6kBhSMoUlK8MU9S9OaZ2 X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr18344430pld.149.1522843148244; Wed, 04 Apr 2018 04:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522843148; cv=none; d=google.com; s=arc-20160816; b=cs7pJB3pc2EX8QD88sO+WNGVPH0n29SWdl82FJSWcLzHvWcqPQcFGpVE5yBfKzvrrm 1GbKYAPCahDx7lVkrqwdd4X+cgVhouUB4uy6uPwlPDVzRGJ5ky/hV8CD4Bi2N+bmfRYl zuY+ke1okdzPcICqOvPUvyX+VLmFGqBt/ItTPZzbpiRrqmL1luppF69YsBBiT1D8NL7j iFe/b3bA3whQPrQWbyqvKi5x6FGwP6OBZTf8sm9RV0+Z7fvWfcIVxezo7OZySFRbCqn7 EeIzCd7DwhoQBjiUHqc9L7AfE2wqZ7zaZv/YZSROLIC2O4KjxR266srExV1hYrY1zE29 E1Cg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=b8Ln3XYi9WU3MXlS2Lyl2T8QzAMfqfJ03q8EPuX1Cng=; b=glOOkLRdnZjgc2YMMyYAwj9Gx7QLx7qbqViqZB2SnamE+OVBqtl9kY1GPz/FTesVjq UtAYMozHsqAaMkL2EwBOsF/hzr7DLRZSkvtbp3dwW+otSVBZuoU76zN0aUpcygsvOLiS 0KvouyP4WPJFQcFvGtgrlCXxbmLFk/lSI7fgb8c8TikJ9rkgZYPdu/iCeiDhD5JqJDEU MIDEedhYhftDV0vDOxe7D+vmAS83Ws5hqS4CIa2bWxnNkjzHcSvzPHPXCMJ1gEgYaUhJ zr0oCppbtyJKZeSYsn8WlwzffPYFuZ9hhqDXVpusLLSvuOiHNORZ1nfTxSoA64Ylh9g7 hXxQ== 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 d92-v6si3022939pld.195.2018.04.04.04.58.54; Wed, 04 Apr 2018 04:59: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 S1751926AbeDDL5P (ORCPT + 99 others); Wed, 4 Apr 2018 07:57:15 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:47046 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751279AbeDDL5N (ORCPT ); Wed, 4 Apr 2018 07:57:13 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 3C82A24E0582; Wed, 4 Apr 2018 04:57:13 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 1CAAA3084; Wed, 4 Apr 2018 04:57:13 -0700 (PDT) Received: from pt02.synopsys.com (pt02.internal.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 9AA70307E; Wed, 4 Apr 2018 04:57:12 -0700 (PDT) Received: from [127.0.0.1] (gustavo-e7480.internal.synopsys.com [10.107.25.102]) by pt02.synopsys.com (Postfix) with ESMTP id CC2003D563; Wed, 4 Apr 2018 12:57:11 +0100 (WEST) Subject: Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver To: Lorenzo Pieralisi Cc: "bhelgaas@google.com" , "Joao.Pinto@synopsys.com" , "jingoohan1@gmail.com" , "kishon@ti.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" References: <20180404115014.GC24669@red-moon> From: Gustavo Pimentel Message-ID: Date: Wed, 4 Apr 2018 12:56:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180404115014.GC24669@red-moon> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lorenzo, On 04/04/2018 12:50, Lorenzo Pieralisi wrote: > On Wed, Mar 28, 2018 at 12:38:33PM +0100, Gustavo Pimentel wrote: > > Please always write a commit log even if it is trivial. Ok, Kishon has also refered that. On next patch version it'll contain a log description. > > Thanks, > Lorenzo > >> 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 { >> + 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 >> >> Regards, Gustavo