Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17216640ybl; Thu, 2 Jan 2020 00:50:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzC1bEpWT1ZQklqHFnzcym+BPg9C6489fxuBmHYlY5kdzH57h63hSb+RNPCUfUz1BHnyhMs X-Received: by 2002:a9d:6b12:: with SMTP id g18mr88142508otp.211.1577955005965; Thu, 02 Jan 2020 00:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577955005; cv=none; d=google.com; s=arc-20160816; b=UP3u9nZNh1/wXr6/4b74DZd1D3rQXvZQILHma5oNQe+mcPHj65U74uu1KrbvaiVbKs 8k3PGl+OKOP/aLgnCL0obrZygpoS7A/lwwo4O5VgTCt4E3SQIwaCjVYOPd4q05RnXvDf ef8cdFk0h1548oR1L8X2lFBnZYpnHgIHdSx7pxSzkQa4gNr/yWvunQFC20Y41chntmHD JQJWSSqF9q0Z6869Eql8IUn/7xFeuiVfsVDiJMY+m8z/x183WCSC+J3imnUvIBf7aCEs XufMKiwZ6aCWBOpQnWiEbB8VGN7NgDH3BdzaZre1q0fIzydAKPQrHVpDh3hQCD6lUX/7 LU3Q== 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=lYK3JQAmW07FRU5GuNZTgBOd+vjFiils6tG0VLmuyGE=; b=T97sExdGUCAL00wk3Gy+wkvHDiTe3+7ksEN4JRyyk2VvcDdvIv8hzky1wfWbqpjVlq PXZDbtQetYJZwiDaUdYquXyLMLz8tKoqVrhAgPvsIlxNk0oD4Flun9RGRLq5fBhxMl9Z FNVpf5QintKI9syFwbiAlTWRwW2IwnvGoLNGllyt27Vsb+0dndiiq89fF4hqWWl1fQ9G tawx/giy9g11lQzNTEN4mbPGZ1pktwn20+/AU4rTzUSQqjelrHBdWTXulnR0sGjDAIeR ngIOKpyVS++czTV2oHBXtLcP2jqsqNq/xIAjsL7bbntkcwmX2Me4vpYtEaKMi5qhnX6k 2Grg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XvrNbulz; 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 r4si29536057otd.50.2020.01.02.00.49.54; Thu, 02 Jan 2020 00:50:05 -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=XvrNbulz; 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 S1727877AbgABIsO (ORCPT + 99 others); Thu, 2 Jan 2020 03:48:14 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:37927 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbgABIsO (ORCPT ); Thu, 2 Jan 2020 03:48:14 -0500 Received: by mail-ot1-f66.google.com with SMTP id d7so51705596otf.5; Thu, 02 Jan 2020 00:48:14 -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=lYK3JQAmW07FRU5GuNZTgBOd+vjFiils6tG0VLmuyGE=; b=XvrNbulzxprjJqi8RpScnA140KqOgH0A3KIwDYeZHKhtNqXpKqoIH3DkDmMCVQ4mUL UwesBRnFDTc16aXYRWU9fFLStptClVcntJFNz6OyMjwF05UXavP3leAtsROoVh410vm+ jUwytle5bVp/DrZEhUKPxt7VGX15m/li3nhKMCPQHhUUfTMLo4HrwFfUuHyhLRmPJosc ZVN+FIUAGNI58UFohnNWgK+pW61uPy/3SkM8oE8zY+MwPijr+Ibg7angTkInKzlKJqfa UB5p84iBYkGvBSTVKgL5bpv2MgeEExqeZUGno4Xaoq9OwJaoN+NtTQiaOofpO6zyJYpl 4DsQ== 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=lYK3JQAmW07FRU5GuNZTgBOd+vjFiils6tG0VLmuyGE=; b=ZQJ5XERqKOsE6PBlyf4fn+oUgSy18oD4/lCAZ7FkaLqy/4xf7DqL24c5KGhfLEPeEI pYCVqpqndrHqQQ4Aja+Q6Su+voHcPL1Jpp+RJdnqUKGOXv0ECmRojDjWvmU/CdvFD8BS jAqi1HuHGJ0aSqIsaNiF9gXJ+PD371Ue6xBmeMCEfKQqbJjeT+U0eM4TNEClUdeUMoh7 BMb+EWppXnvZU896LYdY6PCegsR/fnlPmM9hRFY5XahtHdRoHWnNLXDbBR8ovsbf+GGM y9t74z1csZvLCMOTTVhu0zxptnEw2hLGwdXh4TO47RlgppCEEDNt7bhaIc/vPAJ6Ywnm IeNg== X-Gm-Message-State: APjAAAU2uebq3i4Wcz6805ZKdpsDJJG8ZUJzM9lPpX4r/CfU0UBg1uCs NIdb79qFbpEPQbOjsViEc4ToDt9FIWLoMeRZo0k= X-Received: by 2002:a05:6830:1188:: with SMTP id u8mr91290992otq.274.1577954893533; Thu, 02 Jan 2020 00:48:13 -0800 (PST) MIME-Version: 1.0 References: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191213084748.11210-5-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191219233525.GA9478@bogus> In-Reply-To: <20191219233525.GA9478@bogus> From: "Lad, Prabhakar" Date: Thu, 2 Jan 2020 08:47:47 +0000 Message-ID: Subject: Re: [v2 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller To: Rob Herring Cc: Bjorn Helgaas , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , LAK , Linux-Renesas , Chris Paterson , Frank Rowand , Gustavo Pimentel , Jingoo Han , Simon Horman , Shawn Lin , Tom Joseph , Heiko Stuebner , "open list:ARM/Rockchip SoC..." , "Lad, Prabhakar" 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 Rob, Thank you for the review. On Thu, Dec 19, 2019 at 11:35 PM Rob Herring wrote: > > On Fri, Dec 13, 2019 at 08:47:46AM +0000, Lad Prabhakar wrote: > > 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 | 37 ++++++++++++++++++++++ > > 1 file changed, 37 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > Please make this a DT schema. > sure will do. > > > > 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 0000000..7f0a97e > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.txt > > @@ -0,0 +1,37 @@ > > +* Renesas R-Car PCIe Endpoint Controller DT description > > + > > +Required properties: > > + "renesas,pcie-ep-r8a774c0" for the R8A774C0 SoC; > > Normal ordering is: renesas,r8a774c0-pcie-ep > > > + "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: base address and length of the PCIe controller registers. > > +- outbound-ranges: outbound windows base address and length including the flags. > > +- resets: Must contain phandles to PCIe-related reset lines exposed by IP block > > How many? > should be one. > > +- 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 { > > pcie-ep@ > will fix that. Cheers, --Prabhakar > > + compatible = "renesas,pcie-ep-r8a774c0", "renesas,pcie-rcar-gen2"; > > + reg = <0 0xfe000000 0 0x80000>; > > + outbound-ranges = <0xa 0x0 0xfe100000 0 0x000100000 > > + 0xa 0x0 0xfe200000 0 0x000200000 > > + 0x6 0x0 0x30000000 0 0x008000000 > > + 0x6 0x0 0x38000000 0 0x008000000>; > > + clocks = <&cpg CPG_MOD 319>; > > + clock-names = "pcie"; > > + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; > > + resets = <&cpg 319>; > > + }; > > -- > > 2.7.4 > >