Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp595384imu; Wed, 23 Jan 2019 02:06:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN7m1xrDtAhThqgbyuickLH+yl8N0WVO8QYjH1mXy1YKWvMBTS75Iuk5JGvzSjVIx/t1rbxi X-Received: by 2002:a17:902:7896:: with SMTP id q22mr1632655pll.280.1548238007340; Wed, 23 Jan 2019 02:06:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548238007; cv=none; d=google.com; s=arc-20160816; b=mqwCuRsSwXxm7ZyzwcT/hespvv5LyGkIfn2jeWI96x1IqUUy1naXaV4i/q3wvqvY0v mWJ5rlPC/sJkEWPJ8Mex8EqWzuc4sQxbTI/I/vOGh6lTnBuiR6swLayboQMKRRzxF5ac 38hdthIiKt4cx3cRdEMDowtQKpuoBUemSJh8e7i0tDDCH8FULftcwGpLNqWFzznw9VPK xISmlVJYSu5QNYu2EpV8r5XX2tRdpxRkJQys02EaHFMHXlGWozIZLWfmyAeDLcGp6MdA UWGgabr6M2bS36/z1lJK9McmXvgFc6o+X0O9DJ2yLsqaWvoZbikkFCRwMLtR0+AvImE2 ucDA== 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:dkim-signature; bh=LIwR+BIZfvM7UkpbXRiq2HxtOBot3cOhlo/4etvby+U=; b=Kq4vA3qNYTUpnTtIZr+4UrovLeJZylslku97pRA1+HYViqV/S2ZyPtiVVTHKR5gNSB kW/lnIqT14duNS0dkU2oemB10MgSjLkEuhkpnr6nworpegm+jLm7iRWAQd+TGBmVXTvf 7pirr6mPNreIvGSNKCgnOddKKo9hisd7ua2Kq5oliON2Gr3pHezkibN21F/r9rKIVXCX 3+3hNRtaWKPSRgCWNNp4n3zYdG6pqR9Itng4LBWpgcVHk0cccMUKB/FpeJ/tW9fMQlSd 3HBU8au+tbtmOU6WRSCGlNaOh9YKaly6t1eGZ8rUOtKsux9bUlHQjcUZCpCCXKZCYM1N Gt/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mMpXGkUh; 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 u184si19288357pgd.262.2019.01.23.02.06.31; Wed, 23 Jan 2019 02:06:47 -0800 (PST) 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=mMpXGkUh; 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 S1727363AbfAWKFX (ORCPT + 99 others); Wed, 23 Jan 2019 05:05:23 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52756 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbfAWKFX (ORCPT ); Wed, 23 Jan 2019 05:05:23 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0NA53uE099338; Wed, 23 Jan 2019 04:05:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1548237903; bh=LIwR+BIZfvM7UkpbXRiq2HxtOBot3cOhlo/4etvby+U=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=mMpXGkUhXlhsKFxov8yQr/bykLN2q9Jnzi9Hcip4j0QMf3e4kKR8mOjIbqVUwAB6/ mCZd2L7sqOw/xFRqi3OROKrsKMHsHRhLULOdLX90lP/FntqfrQc7/ZTxQKGklKpPSI 2mroLUY3jgNjC5EiDe/Ow7cNKYuzDYwnMOyU4C+I= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0NA52MW052300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Jan 2019 04:05:02 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 23 Jan 2019 04:05:01 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 23 Jan 2019 04:05:01 -0600 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 x0NA4tiL008717; Wed, 23 Jan 2019 04:04:57 -0600 Subject: Re: [PATCH 09/24] dt-bindings: PCI: Document "atu" reg-names To: Rob Herring CC: Gustavo Pimentel , Lorenzo Pieralisi , Jingoo Han , Bjorn Helgaas , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Murali Karicheri , Jesper Nilsson , , , , , , References: <20190114132424.6445-1-kishon@ti.com> <20190114132424.6445-10-kishon@ti.com> <20190122004806.GA32204@bogus> From: Kishon Vijay Abraham I Message-ID: <5f2fa7cd-b5a3-e466-6cbc-305f15836241@ti.com> Date: Wed, 23 Jan 2019 15:34:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190122004806.GA32204@bogus> Content-Type: text/plain; charset="utf-8" Content-Language: en-US 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 Rob, On 22/01/19 6:18 AM, Rob Herring wrote: > On Mon, Jan 14, 2019 at 06:54:09PM +0530, Kishon Vijay Abraham I wrote: >> Document "atu" reg-names required to get the register space for ATU in >> Synopsys designware core version >= 4.80. >> >> Signed-off-by: Kishon Vijay Abraham I >> --- >> Documentation/devicetree/bindings/pci/designware-pcie.txt | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt >> index c124f9bc11f3..5561a1c060d0 100644 >> --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt >> +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt >> @@ -4,8 +4,11 @@ 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. >> +- reg: For designware cores version < 4.80 contains the configuration >> + address space. For designware core version >= 4.80, contains >> + the configuration and ATU address space >> +- reg-names: Must be "config" for the PCIe configuration space and "atu" for >> + the ATU address space. > > I'm pretty sure we already have other platforms with an ATU. Those all > just represent it with the other ctrl registers? So maybe this is TI > specific that it is separate. Or should have some conditional like 'if > the ATU space is separate, the reg-name should be atu'. This is specific to Synopsys Designware version >= 4.80 and not to TI. The first platform used a fixed offset to get the atu_base which is incorrect. In the "reg" binding I've noted this dependency. Thanks Kishon