From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89E84C43603 for ; Thu, 19 Dec 2019 23:35:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 470A024679 for ; Thu, 19 Dec 2019 23:35:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Uf0lsHhr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 470A024679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hewrzEI2GPCUREW35zqLRO01vwB+6Ieq+ipZLxoNnJ8=; b=Uf0lsHhrLLrOTu 8M9YptBPNqynjqJzkNc78cYlELJnwFqs9vLsLcJp+KICkFoTvsWCOOZtS90ZrOcxrFOjzLcfbkgdJ pVjSc288BJOxHrA3A771wOjY+LNiyODwSW6vAWYwDJpp3eAwR+4cH0XJdqQWEubabGddmBFOJR88b mnJ8y4VPFonZTlnqaBTIWqNgw44on5dosPXWM7aU7erPTwYc8EXAnWXJRH4WSFm/h3hEH9Yljaoi8 W8zMJ1OuKn2MfCDaien4ANSn9abUvtBXw/qza4OVzO8luQOoybUXlk/AlOMAOTyqGfwav+MyHktuJ qY1oMi67utG8DCAUjz6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ii5KP-0006kV-I7; Thu, 19 Dec 2019 23:35:33 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ii5KL-0006jV-PV; Thu, 19 Dec 2019 23:35:31 +0000 Received: by mail-ot1-f68.google.com with SMTP id 66so9314658otd.9; Thu, 19 Dec 2019 15:35:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RRqDAkLWobOuOYSCFG7J0bbEa5xYLcQverv9nWpPuIA=; b=LsxGoIORoRLixK9c8gPuPP8YJ+rGN15MTFeh8T/0HhKYnFz0xBU07T1zpqxJIeuhHh mpzZ+jlox4OKd8GAmNFnAFbCXmyBVIJEVzHA/qrrCtWn/LWnub9qEWqsbdYcXwms8ip6 onzL93Dp4as8v6TxXHYlEs9cYjf9lxOzXbrO4dAvErvKFZC6HrJsrdEjx+jx//D+Yq6E 8Ap7fXHc6Uda+gVX1SreEV6ZzyTjcCse4lrpPUKLhkypsVTlKEEeGzcMWkxIoJX+G+31 znl57GxXwU1qPZI4eNbo5MhpgN1BfghgATuczUJZW2yZjNm+h62b5dUwsNB9EdI3xNBQ 8oBA== X-Gm-Message-State: APjAAAUqSRP+I6AeoehIkLGFu/71C0U2FyYEeAe84l+kGGej6tNLcfp1 rq80MDZO5eixNbpVztjHJQ== X-Google-Smtp-Source: APXvYqzP7ZyQmIJlVYu5boWchd07kvVVJcGu77F6fpUDlaRoVSLg9EHtJ3yKHNipgk1av59pNOCtIg== X-Received: by 2002:a9d:7b4e:: with SMTP id f14mr11756439oto.355.1576798528860; Thu, 19 Dec 2019 15:35:28 -0800 (PST) Received: from localhost (ip-184-205-174-147.ftwttx.spcsdns.net. [184.205.174.147]) by smtp.gmail.com with ESMTPSA id m68sm2525707oig.50.2019.12.19.15.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 15:35:27 -0800 (PST) Date: Thu, 19 Dec 2019 17:35:25 -0600 From: Rob Herring To: Lad Prabhakar Subject: Re: [v2 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller Message-ID: <20191219233525.GA9478@bogus> References: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191213084748.11210-5-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191213084748.11210-5-prabhakar.mahadev-lad.rj@bp.renesas.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191219_153529_830891_2764F335 X-CRM114-Status: GOOD ( 20.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Heiko Stuebner , Geert Uytterhoeven , linux-pci@vger.kernel.org, Shawn Lin , Frank Rowand , Marek Vasut , Lorenzo Pieralisi , Will Deacon , Magnus Damm , Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, Catalin Marinas , devicetree@vger.kernel.org, Chris Paterson , Arnd Bergmann , "Lad, Prabhakar" , Simon Horman , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Yoshihiro Shimoda , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Tom Joseph , Jingoo Han , Andrew Murray , Gustavo Pimentel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. > > 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? > +- 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@ > + 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel