Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp643828ybx; Thu, 7 Nov 2019 00:12:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyAsaAYv8TUjQ8odXJuubpWbj4jlO/J91EdE/2loudu0Rz8tFQ7XbKwOD+/ww+cjhjYUDzQ X-Received: by 2002:a17:906:4bd7:: with SMTP id x23mr1736719ejv.245.1573114335453; Thu, 07 Nov 2019 00:12:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573114335; cv=none; d=google.com; s=arc-20160816; b=Ee+2NfR+7KJZFBh2fEpZz6ymh6Ta2QqEOeCPPRYB2QmSsUlHGzZZ0EX/TNW5rpkQv7 lKpaIou0JUTqZliV3qUJYb4Wg+BhUJv+WuUrwKoER+XJpV3JL7oJjUf8hhY+2Fbo6dTR O785AfcBGrzS4EDKveEFmo4r6i6AXHHJIOaImBY8eGw69+7BXOHGOWxz+fRdIQqIdmLw hp4B256vNUNw2ZninokUOm7PVY7655z0Jxzn6zQPPKdhZ2e7mTDQlfIEcUnUqTfnc42b RD+OpIvsdp1Zy6rLxL1oDfOu45JZlQ58o7e30bdlofd1jiw6vSG2KlfBxMA3BsX1DD8P vYmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1Ln1GAykiZS8RusuR4H+KQoetDdyYBnG1RhAd3RuDvU=; b=SwJ0qDKRzLwc2TnFUe6VQ2mWJCvxTJTkshF/rcaerHD4uhBan+8diDTIPButfwcoOn KA3r9eYrdg/6IjitjFupdIuZ0UHxowTA6B4NgvjqjInHA3aGi/Hi2HLqXl/iIEbI5zgn m6ykQkK+4KjXoQXKIirKepuF3xcE9ppogh8JQotj7DBGM6lFXskc/dVV81J/wUFDJ92D f2PZVIOfMuCZkn0TYGbHEpB/3f+R8+eoGhUy4YHmV9B5EKiejf1/vWPnaBLhVdWcUyCo JBDSTvfKnYHaRdI6pphDjFkdTc5dlV0syF5GxvjFi3BmWjWlPPPHBi11T9aEdoraroWx OiLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XIQjJ1Kk; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si912017ejr.168.2019.11.07.00.11.51; Thu, 07 Nov 2019 00:12:15 -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=@gmail.com header.s=20161025 header.b=XIQjJ1Kk; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727634AbfKGIKh (ORCPT + 99 others); Thu, 7 Nov 2019 03:10:37 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46856 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727012AbfKGIKh (ORCPT ); Thu, 7 Nov 2019 03:10:37 -0500 Received: by mail-oi1-f195.google.com with SMTP id n14so1161700oie.13; Thu, 07 Nov 2019 00:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1Ln1GAykiZS8RusuR4H+KQoetDdyYBnG1RhAd3RuDvU=; b=XIQjJ1KkwJwDO2WBDAlhOf60GzfwCkkbNwnxofI1gvr56DlMnJZNb4jHhH9l+siPjy 7XUMhHNlxMeUd0C8IsfA/1LUeakE2mhibVwGsvSfeeV6D1unTFUY+jfFqzTPIcRQl5X+ gWKfPOXD3nsSRoQRnk8+d5iIA5qxdNdnYM0aAjr5pCDue/7MNTnR9v4pFaetY9pKAOIL RcPun1cI3Qh9hzQ1HJD8sMy57glLs6u3q1iXmG7lA0FwoChXUDNfAOgr2ETpotB//xIX UnxYVtmQXIYLoaVGsh7uTHXu6+JIFIEnRncdelUnehHP33ZJr4CmSpidqTtDpVy7SPn3 mHlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1Ln1GAykiZS8RusuR4H+KQoetDdyYBnG1RhAd3RuDvU=; b=jXkXFJEFNJU9WLirEP/Sn7tJJOv6Ym6nWlh3UeBnYz+C86DGtGD/tU9C9pLIbJVm/t cY6A1cv9WUqmSVWYSHSgNT6WGhhjzZXoNB+G9cVhYsa5x9omHRALVeRA3Yhr/el8QLzR jXCn52QdIvdJ4y0i/8WQ5TJd4mYRIhTo5eSf86pNAqC7th98jkzn0sX777IhQUkg7IVP eKzQ28sTXuAG+YAjEsoozPHjlNE3bH48DE6Y5/w11eM9KWOYYBplVhmUfOyW3w21X5pL xdNFP1Xl33HGB8r147wHcntSqb6IEw9CVyA+t5dh3zkugZdla/vHYRQP83gVC5FEl9fh 7G2w== X-Gm-Message-State: APjAAAXu1tPNCNl+tKGRcIL8KNNGOANBC/XVvMZgQwqGcY6mVN9CtSJu irTMf6I/L0dapihTroB/BkaHlp8qb3MzSp9MAWc= X-Received: by 2002:a05:6808:3cf:: with SMTP id o15mr2227687oie.7.1573114236156; Thu, 07 Nov 2019 00:10:36 -0800 (PST) MIME-Version: 1.0 References: <20191106193609.19645-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191106193609.19645-4-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Thu, 7 Nov 2019 08:10:09 +0000 Message-ID: Subject: Re: [PATCH 3/5] PCI: rcar: Add R-Car PCIe endpoint device tree bindings To: Biju Das Cc: Bjorn Helgaas , Rob Herring , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , "linux-pci@vger.kernel.org" , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-renesas-soc@vger.kernel.org" , Chris Paterson , Prabhakar Mahadev Lad Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Biju, Thank you for the review. On Thu, Nov 7, 2019 at 7:39 AM Biju Das wrote: > > Hi Prabhakar, > > Thanks for the patch > > > Subject: [PATCH 3/5] PCI: rcar: Add R-Car PCIe endpoint device tree bindings > > > > From: "Lad, Prabhakar" > > > > This patch adds the bindings for the R-Car PCIe endpoint driver. > > > > Signed-off-by: Lad, Prabhakar > > --- > > .../devicetree/bindings/pci/rcar-pci-ep.txt | 43 +++++++++++++++++++ > > 1 file changed, 43 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > > > diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > new file mode 100644 > > index 000000000000..b8c8616ca007 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > @@ -0,0 +1,43 @@ > > +* Renesas R-Car PCIe Endpoint Controller DT description > > + > > +Required properties: > > + "renesas,pcie-ep-r8a774c0" for the R8A774C0 SoC; > > + "renesas,pcie-ep-rcar-gen3" for a generic R-Car Gen3 or > > + RZ/G2 compatible device. > > + > > + When compatible with the generic version, nodes must list the > > + SoC-specific version corresponding to the platform first > > + followed by the generic version. > > + > > +- reg: Five register ranges as listed in the reg-names property > > +- reg-names: Must include the following names > > + - "apb-base" > > + - "memory0" > > + - "memory1" > > + - "memory2" > > + - "memory3" > > +- resets: Must contain phandles to PCIe-related reset lines exposed by IP > > block > > +- clocks: from common clock binding: clock specifiers for the PCIe controller > > + clock. > > +- clock-names: from common clock binding: should be "pcie". > > + > > +Optional Property: > > +- max-functions: Maximum number of functions that can be configured > > (default 1). > > + > > +Example: > > + > > +SoC-specific DT Entry: > > + > > + pcie_ep: pcie_ep@fe000000 { > > + compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar- > > gen2"; > > I believe it is currently tested on RZ/G2E. so please use the same. > Yes you are correct its tested on RZ/G2E board, ill fix it in next iteration. Cheers, --Prabhakar