Received: by 10.213.65.68 with SMTP id h4csp2019477imn; Sun, 1 Apr 2018 22:25:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Q82TMWL385JGH0DoL4vt+YeSSGndA2LevBeoVTCaWI4odsyeYxHXQZq9Vm2dHxtcI88yX X-Received: by 10.99.119.78 with SMTP id s75mr5541299pgc.238.1522646752843; Sun, 01 Apr 2018 22:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522646752; cv=none; d=google.com; s=arc-20160816; b=AK8ysyWN0dtZnrEomuMuPJ6pfRHKpxQTu3Ge+YkXdhIYlDdaTPwym9iyOKdzHILs3G wbkGPW4mEcwxk3BJ0a7LRVuAxndaLS09bE9xLuP8VNZkQ1UM/xw3DV7uCobmxULfGy/g G1BBdAY8J4kzPZwZ4FCSRL7I/l9VoyZuc90z0hY3F0jWiY+cgYWYUtbpq633/xFeC53t SPgfZ09Uz1lNrAp0vaIcduvV0f4ZgiOgeb7svfqI+bbO30NDHxoElDVu0k4/b25PaZNR cf2WEyr/Ox7MnkGi/b73lMW+ytdgsfHZCWm5qGHxbGdGnkl7Lhg4qjA8siFQyOSi18rC gwaw== 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=oWIGIhs8GyWfucFFWZqumA87JU8seKvLELKH9SVmseg=; b=eI3oz7rW+WLZbf8dIypf9Q1WuEG4re+4xnNIrZ8rWxGbxd0ZaJkjH+m0777pSdOX+M 7uNS7knqaGH4TffmZjoLrBTO9Er5QhddynPdpHA9ia7mN+e9NA4BGhRlv475XbPmWaCs PuQ+0PDYf5pL244h3YGrh5NatbI4dkOQYkGoXo3aybsbmsfhXv340q9Qxu+lDTedqQe4 p8AQPCis2gM4Qo3baBcSI5Rg6p+8ORIaOKTKXYLqkdH9UtYjHt1fJMWC2gZgf3+YpuTc 9m4aEDbECu3slUhyOx45v/D4BkviB2+RGsgeJrRZqS7cce7SJqd8eTs1y3r9Cdtf8hrM K8hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kHWeLpzF; 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 o32-v6si9976580pld.320.2018.04.01.22.25.30; Sun, 01 Apr 2018 22:25:52 -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=kHWeLpzF; 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 S1752680AbeDBFXh (ORCPT + 99 others); Mon, 2 Apr 2018 01:23:37 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:27805 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752509AbeDBFXf (ORCPT ); Mon, 2 Apr 2018 01:23:35 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w325NRDp015189; Mon, 2 Apr 2018 00:23:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1522646607; bh=lWs6IJ7U2djt2ssz39sZ9UBMbFa9cB5cpetjZlWPYv0=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=kHWeLpzF5Z5Lm1qczzyBoxoPVmRrB46PIz+IGj9He0rSNRPYP/YDcqRf/AipmJGdh 4yeNA7ZzyNlyGQOxGNN2mb6GRs9BotBjaJI8AxcJ/Bz9zYAIvbha2Qns72vT9J+XFM ZCHOuUAPJEobON5EyaYSI2ghC6V/MOJ/Bcqo/xz0= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w325NRp5002354; Mon, 2 Apr 2018 00:23:27 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 2 Apr 2018 00:23:27 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) 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; Mon, 2 Apr 2018 00:23:26 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w325NNhN011669; Mon, 2 Apr 2018 00:23:24 -0500 Subject: Re: [PATCH 1/8] bindings: PCI: designware: Example update To: Gustavo Pimentel , , , , , , References: <33aa86ee667e8b435db080b8c683cb5df1bd6544.1522235224.git.gustavo.pimentel@synopsys.com> CC: , , From: Kishon Vijay Abraham I Message-ID: Date: Mon, 2 Apr 2018 10:53:23 +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: <33aa86ee667e8b435db080b8c683cb5df1bd6544.1522235224.git.gustavo.pimentel@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 Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: > Changes the IP registers size to accommodate the ATU unroll space. > > Replaces "ctrlreg" reg-name by "dbi" to be coherent with similar drivers. > > Replaces the pcie base address example by a real pcie base address in use. > > Signed-off-by: Gustavo Pimentel > --- > 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..6300762 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; I think irrespective of RC mode or EP mode, "snps,dw-pcie" can be used to identify the pcie core? > - 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 0x302000>, /* IP registers */ which version of synopsys IP is this. I think the ideal thing to do here is to have a separate register space for iATU. Thanks Kishon